hashicorp / vault-client-go

HashiCorp Vault Go Client Library generated from OpenAPI spec.
Mozilla Public License 2.0
84 stars 17 forks source link

SecretIdTtl must be int32 for automatic conversion #239

Closed sebinjohn closed 1 year ago

sebinjohn commented 1 year ago

Description

Please describe the change proposed in this pull request, including relevant motivation and context.

Proposing to change the type of SecretIdTtl in the AppRoleLookUpSecretIdByAccessorResponse type for automatic json parsing.

I'm getting the following error while using the API

cannot unmarshal number into Go struct field AppRoleLookUpSecretIdByAccessorResponse.data.secret_id_ttl of type string

Resolves # (issue)

How has this been tested?

Please describe the tests you ran.