Skip to content

Commit

Permalink
Fix PkiListResponse encoding issue (#175) (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
averche authored May 26, 2023
1 parent 852bdcf commit c9387ae
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 12 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to

## Unreleased ([diff][unreleased-diff])

## [0.3.3][] ([diff][0.3.3-diff]) - 2023-05-26

### Fixed

- Fixed PkiListResponse encoding issue (#175)

## [0.3.2][] ([diff][0.3.2-diff]) - 2023-05-16

### Added
Expand Down Expand Up @@ -93,7 +99,9 @@ and this project adheres to
<!-- diffs -->

[unreleased-diff]:
https://github.com/hashicorp/vault-client-go/compare/v0.3.2...HEAD
https://github.com/hashicorp/vault-client-go/compare/v0.3.3...HEAD
[0.3.3-diff]:
https://github.com/hashicorp/vault-client-go/compare/v0.3.2...v0.3.3
[0.3.2-diff]:
https://github.com/hashicorp/vault-client-go/compare/v0.3.1...v0.3.2
[0.3.1-diff]:
Expand All @@ -109,6 +117,7 @@ and this project adheres to

<!-- releases -->

[0.3.3]: https://github.com/hashicorp/vault-client-go/releases/tag/v0.3.3
[0.3.2]: https://github.com/hashicorp/vault-client-go/releases/tag/v0.3.2
[0.3.1]: https://github.com/hashicorp/vault-client-go/releases/tag/v0.3.1
[0.3.0]: https://github.com/hashicorp/vault-client-go/releases/tag/v0.3.0
Expand Down
2 changes: 1 addition & 1 deletion client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/PkiListRolesResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Keys** | Pointer to **map[string]interface{}** | List of keys | [optional]
**Keys** | Pointer to **[]string** | List of roles | [optional]



Expand All @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set

### GetKeys

`func (o *PkiListRolesResponse) GetKeys() map[string]interface{}`
`func (o *PkiListRolesResponse) GetKeys() []string`

GetKeys returns the Keys field if non-nil, zero value otherwise.

### GetKeysOk

`func (o *PkiListRolesResponse) GetKeysOk() (*map[string]interface{}, bool)`
`func (o *PkiListRolesResponse) GetKeysOk() (*[]string, bool)`

GetKeysOk returns a tuple with the Keys field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetKeys

`func (o *PkiListRolesResponse) SetKeys(v map[string]interface{})`
`func (o *PkiListRolesResponse) SetKeys(v []string)`

SetKeys sets Keys field to given value.

Expand Down
2 changes: 1 addition & 1 deletion generate/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

additionalProperties:
packageName: vault
packageVersion: 0.3.2
packageVersion: 0.3.3

8 changes: 5 additions & 3 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -36715,9 +36715,11 @@
"type": "object",
"properties": {
"keys": {
"type": "object",
"description": "List of keys",
"format": "map"
"type": "array",
"description": "List of roles",
"items": {
"type": "string"
}
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions schema/model_pki_list_roles_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c9387ae

Please sign in to comment.