As discussed in #187 this is a big bang approach that is considered appropriate mostly only because the library is still in beta.
Closes #187
Some of the changes being introduced here due to OpenAPI changes look wrong to me (e.g. it seems wrong for sys/decode-token to be given the method name of just Decode, and it seems wrong for the sys/raw APIs to have variants with and without the path parameter), but mindful of the large amount of changes, and beta status of the library, it's probably better to resync with the current OpenAPI and iterate from there.
golang.org/x/exp/cmd/apidiff report for schema package:
Incompatible changes:
- AliCloudWriteAuthRoleRequest.MaxTtl: changed from int32 to string
- AliCloudWriteAuthRoleRequest.Period: changed from int32 to string
- AliCloudWriteAuthRoleRequest.TokenExplicitMaxTtl: changed from int32 to string
- AliCloudWriteAuthRoleRequest.TokenMaxTtl: changed from int32 to string
- AliCloudWriteAuthRoleRequest.TokenPeriod: changed from int32 to string
- AliCloudWriteAuthRoleRequest.TokenTtl: changed from int32 to string
- AliCloudWriteAuthRoleRequest.Ttl: changed from int32 to string
- AliCloudWriteRoleRequest.MaxTtl: changed from int32 to string
- AliCloudWriteRoleRequest.Ttl: changed from int32 to string
- AppRoleLookUpSecretIdByAccessorResponse.SecretIdTtl: changed from int32 to string
- AppRoleLookUpSecretIdResponse.SecretIdTtl: changed from int32 to string
- AppRoleReadPeriodResponse.Period: changed from int32 to string
- AppRoleReadPeriodResponse.TokenPeriod: changed from int32 to string
- AppRoleReadRoleResponse.Period: changed from int32 to string
- AppRoleReadRoleResponse.SecretIdTtl: changed from int32 to string
- AppRoleReadRoleResponse.TokenExplicitMaxTtl: changed from int32 to string
- AppRoleReadRoleResponse.TokenMaxTtl: changed from int32 to string
- AppRoleReadRoleResponse.TokenPeriod: changed from int32 to string
- AppRoleReadRoleResponse.TokenTtl: changed from int32 to string
- AppRoleReadSecretIdTtlResponse.SecretIdTtl: changed from int32 to string
- AppRoleReadTokenMaxTtlResponse.TokenMaxTtl: changed from int32 to string
- AppRoleReadTokenTtlResponse.TokenTtl: changed from int32 to string
- AppRoleWriteCustomSecretIdRequest.Ttl: changed from int32 to string
- AppRoleWriteCustomSecretIdResponse.SecretIdTtl: changed from int32 to string
- AppRoleWritePeriodRequest.Period: changed from int32 to string
- AppRoleWritePeriodRequest.TokenPeriod: changed from int32 to string
- AppRoleWriteRoleRequest.Period: changed from int32 to string
- AppRoleWriteRoleRequest.SecretIdTtl: changed from int32 to string
- AppRoleWriteRoleRequest.TokenExplicitMaxTtl: changed from int32 to string
- AppRoleWriteRoleRequest.TokenMaxTtl: changed from int32 to string
- AppRoleWriteRoleRequest.TokenPeriod: changed from int32 to string
- AppRoleWriteRoleRequest.TokenTtl: changed from int32 to string
- AppRoleWriteSecretIdRequest.Ttl: changed from int32 to string
- AppRoleWriteSecretIdResponse.SecretIdTtl: changed from int32 to string
- AppRoleWriteSecretIdTtlRequest.SecretIdTtl: changed from int32 to string
- AppRoleWriteTokenMaxTtlRequest.TokenMaxTtl: changed from int32 to string
- AppRoleWriteTokenTtlRequest.TokenTtl: changed from int32 to string
- AwsConfigureIdentityAccessListTidyOperationRequest.SafetyBuffer: changed from int32 to string
- AwsConfigureIdentityWhitelistTidyOperationRequest.SafetyBuffer: changed from int32 to string
- AwsConfigureRoleTagBlacklistTidyOperationRequest.SafetyBuffer: changed from int32 to string
- AwsConfigureRoleTagDenyListTidyOperationRequest.SafetyBuffer: changed from int32 to string
- AwsTidyIdentityAccessListRequest.SafetyBuffer: changed from int32 to string
- AwsTidyIdentityWhitelistRequest.SafetyBuffer: changed from int32 to string
- AwsTidyRoleTagBlacklistRequest.SafetyBuffer: changed from int32 to string
- AwsTidyRoleTagDenyListRequest.SafetyBuffer: changed from int32 to string
- AwsWriteAuthRoleRequest.MaxTtl: changed from int32 to string
- AwsWriteAuthRoleRequest.Period: changed from int32 to string
- AwsWriteAuthRoleRequest.TokenExplicitMaxTtl: changed from int32 to string
- AwsWriteAuthRoleRequest.TokenMaxTtl: changed from int32 to string
- AwsWriteAuthRoleRequest.TokenPeriod: changed from int32 to string
- AwsWriteAuthRoleRequest.TokenTtl: changed from int32 to string
- AwsWriteAuthRoleRequest.Ttl: changed from int32 to string
- AwsWriteRoleRequest.DefaultStsTtl: changed from int32 to string
- AwsWriteRoleRequest.MaxStsTtl: changed from int32 to string
- AwsWriteRoleTagRequest.MaxTtl: changed from int32 to string
- AzureConfigureAuthRequest.RootPasswordTtl: changed from int32 to string
- AzureConfigureRequest.RootPasswordTtl: changed from int32 to string
- AzureWriteAuthRoleRequest.MaxTtl: changed from int32 to string
- AzureWriteAuthRoleRequest.Period: changed from int32 to string
- AzureWriteAuthRoleRequest.TokenExplicitMaxTtl: changed from int32 to string
- AzureWriteAuthRoleRequest.TokenMaxTtl: changed from int32 to string
- AzureWriteAuthRoleRequest.TokenPeriod: changed from int32 to string
- AzureWriteAuthRoleRequest.TokenTtl: changed from int32 to string
- AzureWriteAuthRoleRequest.Ttl: changed from int32 to string
- AzureWriteRoleRequest.MaxTtl: changed from int32 to string
- AzureWriteRoleRequest.Ttl: changed from int32 to string
- CentrifyConfigureRequest.TokenTtl: changed from int32 to string
- CertWriteCertificateRequest.MaxTtl: changed from int32 to string
- CertWriteCertificateRequest.Period: changed from int32 to string
- CertWriteCertificateRequest.TokenExplicitMaxTtl: changed from int32 to string
- CertWriteCertificateRequest.TokenMaxTtl: changed from int32 to string
- CertWriteCertificateRequest.TokenPeriod: changed from int32 to string
- CertWriteCertificateRequest.TokenTtl: changed from int32 to string
- CertWriteCertificateRequest.Ttl: changed from int32 to string
- CloudFoundryConfigureRequest.LoginMaxSecondsNotBefore: changed from int32 to string
- CloudFoundryWriteRoleRequest.MaxTtl: changed from int32 to string
- CloudFoundryWriteRoleRequest.Period: changed from int32 to string
- CloudFoundryWriteRoleRequest.TokenExplicitMaxTtl: changed from int32 to string
- CloudFoundryWriteRoleRequest.TokenMaxTtl: changed from int32 to string
- CloudFoundryWriteRoleRequest.TokenPeriod: changed from int32 to string
- CloudFoundryWriteRoleRequest.TokenTtl: changed from int32 to string
- CloudFoundryWriteRoleRequest.Ttl: changed from int32 to string
- ConsulWriteRoleRequest.Lease: changed from int32 to string
- ConsulWriteRoleRequest.MaxTtl: changed from int32 to string
- ConsulWriteRoleRequest.Ttl: changed from int32 to string
- DatabaseWriteRoleRequest.DefaultTtl: changed from int32 to string
- DatabaseWriteRoleRequest.MaxTtl: changed from int32 to string
- DatabaseWriteStaticRoleRequest.RotationPeriod: changed from int32 to string
- EncryptionKeyConfigureRotationRequest.Interval: changed from int32 to string
- EncryptionKeyReadRotationConfigurationResponse.Interval: changed from int32 to string
- GithubConfigureRequest.MaxTtl: changed from int32 to string
- GithubConfigureRequest.TokenExplicitMaxTtl: changed from int32 to string
- GithubConfigureRequest.TokenMaxTtl: changed from int32 to string
- GithubConfigureRequest.TokenPeriod: changed from int32 to string
- GithubConfigureRequest.TokenTtl: changed from int32 to string
- GithubConfigureRequest.Ttl: changed from int32 to string
- GoogleCloudConfigureRequest.MaxTtl: changed from int32 to string
- GoogleCloudConfigureRequest.Ttl: changed from int32 to string
- GoogleCloudGenerateRolesetKeyWithParametersRequest.Ttl: changed from int32 to string
- GoogleCloudGenerateStaticAccountKeyWithParametersRequest.Ttl: changed from int32 to string
- GoogleCloudKmsWriteKeyRequest.RotationPeriod: changed from int32 to string
- GoogleCloudWriteImpersonatedAccountRequest.Ttl: changed from int32 to string
- GoogleCloudWriteRoleRequest.MaxJwtExp: changed from int32 to string
- GoogleCloudWriteRoleRequest.MaxTtl: changed from int32 to string
- GoogleCloudWriteRoleRequest.Period: changed from int32 to string
- GoogleCloudWriteRoleRequest.TokenExplicitMaxTtl: changed from int32 to string
- GoogleCloudWriteRoleRequest.TokenMaxTtl: changed from int32 to string
- GoogleCloudWriteRoleRequest.TokenPeriod: changed from int32 to string
- GoogleCloudWriteRoleRequest.TokenTtl: changed from int32 to string
- GoogleCloudWriteRoleRequest.Ttl: changed from int32 to string
- JwtWriteRoleRequest.ClockSkewLeeway: changed from int32 to string
- JwtWriteRoleRequest.ExpirationLeeway: changed from int32 to string
- JwtWriteRoleRequest.MaxAge: changed from int32 to string
- JwtWriteRoleRequest.MaxTtl: changed from int32 to string
- JwtWriteRoleRequest.NotBeforeLeeway: changed from int32 to string
- JwtWriteRoleRequest.Period: changed from int32 to string
- JwtWriteRoleRequest.TokenExplicitMaxTtl: changed from int32 to string
- JwtWriteRoleRequest.TokenMaxTtl: changed from int32 to string
- JwtWriteRoleRequest.TokenPeriod: changed from int32 to string
- JwtWriteRoleRequest.TokenTtl: changed from int32 to string
- JwtWriteRoleRequest.Ttl: changed from int32 to string
- KerberosConfigureLdapRequest.ConnectionTimeout: changed from int32 to string
- KerberosConfigureLdapRequest.RequestTimeout: changed from int32 to string
- KerberosConfigureLdapRequest.TokenExplicitMaxTtl: changed from int32 to string
- KerberosConfigureLdapRequest.TokenMaxTtl: changed from int32 to string
- KerberosConfigureLdapRequest.TokenPeriod: changed from int32 to string
- KerberosConfigureLdapRequest.TokenTtl: changed from int32 to string
- KubernetesGenerateCredentialsRequest.Ttl: changed from int32 to string
- KubernetesWriteAuthRoleRequest.MaxTtl: changed from int32 to string
- KubernetesWriteAuthRoleRequest.Period: changed from int32 to string
- KubernetesWriteAuthRoleRequest.TokenExplicitMaxTtl: changed from int32 to string
- KubernetesWriteAuthRoleRequest.TokenMaxTtl: changed from int32 to string
- KubernetesWriteAuthRoleRequest.TokenPeriod: changed from int32 to string
- KubernetesWriteAuthRoleRequest.TokenTtl: changed from int32 to string
- KubernetesWriteAuthRoleRequest.Ttl: changed from int32 to string
- KubernetesWriteRoleRequest.TokenDefaultTtl: changed from int32 to string
- KubernetesWriteRoleRequest.TokenMaxTtl: changed from int32 to string
- KvV2ConfigureRequest.DeleteVersionAfter: changed from int32 to string
- KvV2ReadConfigurationResponse.DeleteVersionAfter: changed from int32 to string
- KvV2ReadMetadataResponse.DeleteVersionAfter: changed from int32 to string
- KvV2WriteMetadataRequest.DeleteVersionAfter: changed from int32 to string
- LdapConfigureAuthRequest.ConnectionTimeout: changed from int32 to string
- LdapConfigureAuthRequest.RequestTimeout: changed from int32 to string
- LdapConfigureAuthRequest.TokenExplicitMaxTtl: changed from int32 to string
- LdapConfigureAuthRequest.TokenMaxTtl: changed from int32 to string
- LdapConfigureAuthRequest.TokenPeriod: changed from int32 to string
- LdapConfigureAuthRequest.TokenTtl: changed from int32 to string
- LdapConfigureRequest.ConnectionTimeout: changed from int32 to string
- LdapConfigureRequest.MaxTtl: changed from int32 to string
- LdapConfigureRequest.RequestTimeout: changed from int32 to string
- LdapConfigureRequest.Ttl: changed from int32 to string
- LdapLibraryCheckOutRequest.Ttl: changed from int32 to string
- LdapLibraryConfigureRequest.MaxTtl: changed from int32 to string
- LdapLibraryConfigureRequest.Ttl: changed from int32 to string
- LdapWriteDynamicRoleRequest.DefaultTtl: changed from int32 to string
- LdapWriteDynamicRoleRequest.MaxTtl: changed from int32 to string
- LdapWriteStaticRoleRequest.RotationPeriod: changed from int32 to string
- LeasesRenewLeaseRequest.Increment: changed from int32 to string
- LeasesRenewLeaseWithIdRequest.Increment: changed from int32 to string
- MfaConfigureDuoMethodRequest: removed
- MfaConfigureOktaMethodRequest: removed
- MfaConfigurePingIdMethodRequest: removed
- MfaConfigureTotpMethodRequest: removed
- MongoDbAtlasWriteRoleRequest.MaxTtl: changed from int32 to string
- MongoDbAtlasWriteRoleRequest.Ttl: changed from int32 to string
- NewMfaConfigureDuoMethodRequestWithDefaults: removed
- NewMfaConfigureOktaMethodRequestWithDefaults: removed
- NewMfaConfigurePingIdMethodRequestWithDefaults: removed
- NewMfaConfigureTotpMethodRequestWithDefaults: removed
- NewPkiIssuersRotateRootRequestWithDefaults: removed
- NewPkiIssuersRotateRootResponseWithDefaults: removed
- NomadConfigureLeaseRequest.MaxTtl: changed from int32 to string
- NomadConfigureLeaseRequest.Ttl: changed from int32 to string
- OciWriteRoleRequest.TokenExplicitMaxTtl: changed from int32 to string
- OciWriteRoleRequest.TokenMaxTtl: changed from int32 to string
- OciWriteRoleRequest.TokenPeriod: changed from int32 to string
- OciWriteRoleRequest.TokenTtl: changed from int32 to string
- OidcRotateKeyRequest.VerificationTtl: changed from int32 to string
- OidcWriteClientRequest.AccessTokenTtl: changed from int32 to string
- OidcWriteClientRequest.IdTokenTtl: changed from int32 to string
- OidcWriteKeyRequest.RotationPeriod: changed from int32 to string
- OidcWriteKeyRequest.VerificationTtl: changed from int32 to string
- OidcWriteRoleRequest.Ttl: changed from int32 to string
- OktaConfigureRequest.MaxTtl: changed from int32 to string
- OktaConfigureRequest.TokenExplicitMaxTtl: changed from int32 to string
- OktaConfigureRequest.TokenMaxTtl: changed from int32 to string
- OktaConfigureRequest.TokenPeriod: changed from int32 to string
- OktaConfigureRequest.TokenTtl: changed from int32 to string
- OktaConfigureRequest.Ttl: changed from int32 to string
- PkiConfigureAutoTidyRequest.IntervalDuration: changed from int32 to string
- PkiConfigureAutoTidyRequest.IssuerSafetyBuffer: changed from int32 to string
- PkiConfigureAutoTidyRequest.RevocationQueueSafetyBuffer: changed from int32 to string
- PkiConfigureAutoTidyRequest.SafetyBuffer: changed from int32 to string
- PkiCrossSignIntermediateRequest.NotBeforeDuration: changed from int32 to string
- PkiCrossSignIntermediateRequest.Ttl: changed from int32 to string
- PkiGenerateIntermediateRequest.NotBeforeDuration: changed from int32 to string
- PkiGenerateIntermediateRequest.Ttl: changed from int32 to string
- PkiGenerateRootRequest.NotBeforeDuration: changed from int32 to string
- PkiGenerateRootRequest.Ttl: changed from int32 to string
- PkiGenerateRootResponse.Expiration: changed from string to int64
- PkiIssueWithRoleRequest.Ttl: changed from int32 to string
- PkiIssueWithRoleResponse.Expiration: changed from string to int64
- PkiIssuerIssueWithRoleRequest.Ttl: changed from int32 to string
- PkiIssuerIssueWithRoleResponse.Expiration: changed from string to int64
- PkiIssuerSignIntermediateRequest.NotBeforeDuration: changed from int32 to string
- PkiIssuerSignIntermediateRequest.Ttl: changed from int32 to string
- PkiIssuerSignVerbatimRequest.Ttl: changed from int32 to string
- PkiIssuerSignVerbatimResponse.Expiration: changed from string to int64
- PkiIssuerSignVerbatimWithRoleRequest.Ttl: changed from int32 to string
- PkiIssuerSignVerbatimWithRoleResponse.Expiration: changed from string to int64
- PkiIssuerSignWithRoleRequest.Ttl: changed from int32 to string
- PkiIssuerSignWithRoleResponse.Expiration: changed from string to int64
- PkiIssuersGenerateIntermediateRequest.NotBeforeDuration: changed from int32 to string
- PkiIssuersGenerateIntermediateRequest.Ttl: changed from int32 to string
- PkiIssuersGenerateRootRequest.NotBeforeDuration: changed from int32 to string
- PkiIssuersGenerateRootRequest.Ttl: changed from int32 to string
- PkiIssuersGenerateRootResponse.Expiration: changed from string to int64
- PkiIssuersRotateRootRequest: removed
- PkiIssuersRotateRootResponse: removed
- PkiPatchIssuerResponse.Usage: changed from []string to string
- PkiPatchRoleResponse.MaxTtl: changed from int32 to int64
- PkiPatchRoleResponse.NotBeforeDuration: changed from int32 to int64
- PkiPatchRoleResponse.Ttl: changed from int32 to int64
- PkiReadCaChainPemResponse.CaChain: changed from []string to string
- PkiReadCaChainPemResponse.RevocationTime: changed from string to int64
- PkiReadCaDerResponse.CaChain: changed from []string to string
- PkiReadCaDerResponse.RevocationTime: changed from string to int64
- PkiReadCaPemResponse.CaChain: changed from []string to string
- PkiReadCaPemResponse.RevocationTime: changed from string to int64
- PkiReadCertCaChainResponse.CaChain: changed from []string to string
- PkiReadCertCaChainResponse.RevocationTime: changed from string to int64
- PkiReadCertCrlResponse.CaChain: changed from []string to string
- PkiReadCertCrlResponse.RevocationTime: changed from string to int64
- PkiReadCertDeltaCrlResponse.CaChain: changed from []string to string
- PkiReadCertDeltaCrlResponse.RevocationTime: changed from string to int64
- PkiReadCertRawDerResponse.CaChain: changed from []string to string
- PkiReadCertRawDerResponse.RevocationTime: changed from string to int64
- PkiReadCertRawPemResponse.CaChain: changed from []string to string
- PkiReadCertRawPemResponse.RevocationTime: changed from string to int64
- PkiReadCertResponse.CaChain: changed from []string to string
- PkiReadCertResponse.RevocationTime: changed from string to int64
- PkiReadCrlDeltaPemResponse.CaChain: changed from []string to string
- PkiReadCrlDeltaPemResponse.RevocationTime: changed from string to int64
- PkiReadCrlDeltaResponse.CaChain: changed from []string to string
- PkiReadCrlDeltaResponse.RevocationTime: changed from string to int64
- PkiReadCrlDerResponse.CaChain: changed from []string to string
- PkiReadCrlDerResponse.RevocationTime: changed from string to int64
- PkiReadCrlPemResponse.CaChain: changed from []string to string
- PkiReadCrlPemResponse.RevocationTime: changed from string to int64
- PkiReadIssuerResponse.Usage: changed from []string to string
- PkiReadRoleResponse.MaxTtl: changed from int32 to int64
- PkiReadRoleResponse.NotBeforeDuration: changed from int32 to int64
- PkiReadRoleResponse.Ttl: changed from int32 to int64
- PkiRevokeResponse.RevocationTime: changed from int32 to int64
- PkiRevokeWithKeyResponse.RevocationTime: changed from int32 to int64
- PkiRootSignIntermediateRequest.NotBeforeDuration: changed from int32 to string
- PkiRootSignIntermediateRequest.Ttl: changed from int32 to string
- PkiSignVerbatimRequest.Ttl: changed from int32 to string
- PkiSignVerbatimResponse.Expiration: changed from string to int64
- PkiSignVerbatimWithRoleRequest.Ttl: changed from int32 to string
- PkiSignVerbatimWithRoleResponse.Expiration: changed from string to int64
- PkiSignWithRoleRequest.Ttl: changed from int32 to string
- PkiSignWithRoleResponse.Expiration: changed from string to int64
- PkiTidyRequest.IssuerSafetyBuffer: changed from int32 to string
- PkiTidyRequest.MaintainStoredCertificateCounts: removed
- PkiTidyRequest.PublishStoredCertificateCountMetrics: removed
- PkiTidyRequest.RevocationQueueSafetyBuffer: changed from int32 to string
- PkiTidyRequest.SafetyBuffer: changed from int32 to string
- PkiTidyStatusResponse.TidyCrossClusterRevokedCerts: changed from string to bool
- PkiWriteIssuerResponse.Usage: changed from []string to string
- PkiWriteRoleRequest.MaxTtl: changed from int32 to string
- PkiWriteRoleRequest.NotBeforeDuration: changed from int32 to string
- PkiWriteRoleRequest.Ttl: changed from int32 to string
- PkiWriteRoleResponse.MaxTtl: changed from int32 to int64
- PkiWriteRoleResponse.NotBeforeDuration: changed from int32 to int64
- PkiWriteRoleResponse.Ttl: changed from int32 to int64
- RabbitMqConfigureLeaseRequest.MaxTtl: changed from int32 to string
- RabbitMqConfigureLeaseRequest.Ttl: changed from int32 to string
- RadiusConfigureRequest.DialTimeout: changed from int32 to string
- RadiusConfigureRequest.ReadTimeout: changed from int32 to string
- RadiusConfigureRequest.TokenExplicitMaxTtl: changed from int32 to string
- RadiusConfigureRequest.TokenMaxTtl: changed from int32 to string
- RadiusConfigureRequest.TokenPeriod: changed from int32 to string
- RadiusConfigureRequest.TokenTtl: changed from int32 to string
- RateLimitQuotasWriteRequest.BlockInterval: changed from int32 to string
- RateLimitQuotasWriteRequest.Interval: changed from int32 to string
- ReadWrappingPropertiesResponse.CreationTtl: changed from int32 to string
- SshIssueCertificateRequest.Ttl: changed from int32 to string
- SshSignCertificateRequest.Ttl: changed from int32 to string
- SshWriteRoleRequest.MaxTtl: changed from int32 to string
- SshWriteRoleRequest.NotBeforeDuration: changed from int32 to string
- SshWriteRoleRequest.Ttl: changed from int32 to string
- TerraformCloudWriteRoleRequest.MaxTtl: changed from int32 to string
- TerraformCloudWriteRoleRequest.Ttl: changed from int32 to string
- TokenRenewAccessorRequest.Increment: changed from int32 to string
- TokenRenewRequest.Increment: changed from int32 to string
- TokenRenewSelfRequest.Increment: changed from int32 to string
- TokenWriteRoleRequest.ExplicitMaxTtl: changed from int32 to string
- TokenWriteRoleRequest.Period: changed from int32 to string
- TokenWriteRoleRequest.TokenExplicitMaxTtl: changed from int32 to string
- TokenWriteRoleRequest.TokenPeriod: changed from int32 to string
- TotpCreateKeyRequest.Period: changed from int32 to string
- TransitConfigureKeyRequest.AutoRotatePeriod: changed from int32 to string
- TransitCreateKeyRequest.AutoRotatePeriod: changed from int32 to string
- TransitImportKeyRequest.AutoRotatePeriod: changed from int32 to string
- UserpassWriteUserRequest.MaxTtl: changed from int32 to string
- UserpassWriteUserRequest.TokenExplicitMaxTtl: changed from int32 to string
- UserpassWriteUserRequest.TokenMaxTtl: changed from int32 to string
- UserpassWriteUserRequest.TokenPeriod: changed from int32 to string
- UserpassWriteUserRequest.TokenTtl: changed from int32 to string
- UserpassWriteUserRequest.Ttl: changed from int32 to string
Compatible changes:
- AwsGenerateCredentialsWithParametersRequest: added
- AwsGenerateStsCredentialsWithParametersRequest: added
- AwsReadStaticCredsNameResponse: added
- AwsReadStaticRolesNameResponse: added
- AwsWriteStaticRolesNameRequest: added
- AwsWriteStaticRolesNameResponse: added
- DecodeRequest: added
- InternalGenerateOpenApiDocumentWithParametersRequest: added
- MfaCreateDuoMethodRequest: added
- MfaCreateOktaMethodRequest: added
- MfaCreatePingIdMethodRequest: added
- MfaCreateTotpMethodRequest: added
- MfaUpdateDuoMethodRequest: added
- MfaUpdateOktaMethodRequest: added
- MfaUpdatePingIdMethodRequest: added
- MfaUpdateTotpMethodRequest: added
- NewAwsGenerateCredentialsWithParametersRequestWithDefaults: added
- NewAwsGenerateStsCredentialsWithParametersRequestWithDefaults: added
- NewAwsReadStaticCredsNameResponseWithDefaults: added
- NewAwsReadStaticRolesNameResponseWithDefaults: added
- NewAwsWriteStaticRolesNameRequestWithDefaults: added
- NewAwsWriteStaticRolesNameResponseWithDefaults: added
- NewDecodeRequestWithDefaults: added
- NewInternalGenerateOpenApiDocumentWithParametersRequestWithDefaults: added
- NewMfaCreateDuoMethodRequestWithDefaults: added
- NewMfaCreateOktaMethodRequestWithDefaults: added
- NewMfaCreatePingIdMethodRequestWithDefaults: added
- NewMfaCreateTotpMethodRequestWithDefaults: added
- NewMfaUpdateDuoMethodRequestWithDefaults: added
- NewMfaUpdateOktaMethodRequestWithDefaults: added
- NewMfaUpdatePingIdMethodRequestWithDefaults: added
- NewMfaUpdateTotpMethodRequestWithDefaults: added
- NewOidcProviderAuthorizeWithParametersRequestWithDefaults: added
- NewPkiConfigureAcmeRequestWithDefaults: added
- NewPkiGenerateEabKeyForIssuerAndRoleResponseWithDefaults: added
- NewPkiGenerateEabKeyForIssuerResponseWithDefaults: added
- NewPkiGenerateEabKeyForRoleResponseWithDefaults: added
- NewPkiGenerateEabKeyResponseWithDefaults: added
- NewPkiListEabKeysResponseWithDefaults: added
- NewPkiRotateRootRequestWithDefaults: added
- NewPkiRotateRootResponseWithDefaults: added
- NewPkiWriteAcmeAccountKidRequestWithDefaults: added
- NewPkiWriteAcmeAuthorizationAuthIdRequestWithDefaults: added
- NewPkiWriteAcmeChallengeAuthIdChallengeTypeRequestWithDefaults: added
- NewPkiWriteAcmeNewAccountRequestWithDefaults: added
- NewPkiWriteAcmeNewOrderRequestWithDefaults: added
- NewPkiWriteAcmeOrderOrderIdCertRequestWithDefaults: added
- NewPkiWriteAcmeOrderOrderIdFinalizeRequestWithDefaults: added
- NewPkiWriteAcmeOrderOrderIdRequestWithDefaults: added
- NewPkiWriteAcmeOrdersRequestWithDefaults: added
- NewPkiWriteAcmeRevokeCertRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefAcmeAccountKidRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefAcmeAuthorizationAuthIdRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefAcmeChallengeAuthIdChallengeTypeRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefAcmeNewAccountRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefAcmeNewOrderRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefAcmeOrderOrderIdCertRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefAcmeOrderOrderIdFinalizeRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefAcmeOrderOrderIdRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefAcmeOrdersRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefAcmeRevokeCertRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefRolesRoleAcmeAccountKidRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefRolesRoleAcmeAuthorizationAuthIdRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefRolesRoleAcmeChallengeAuthIdChallengeTypeRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefRolesRoleAcmeNewAccountRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefRolesRoleAcmeNewOrderRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdCertRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdFinalizeRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefRolesRoleAcmeOrdersRequestWithDefaults: added
- NewPkiWriteIssuerIssuerRefRolesRoleAcmeRevokeCertRequestWithDefaults: added
- NewPkiWriteRolesRoleAcmeAccountKidRequestWithDefaults: added
- NewPkiWriteRolesRoleAcmeAuthorizationAuthIdRequestWithDefaults: added
- NewPkiWriteRolesRoleAcmeChallengeAuthIdChallengeTypeRequestWithDefaults: added
- NewPkiWriteRolesRoleAcmeNewAccountRequestWithDefaults: added
- NewPkiWriteRolesRoleAcmeNewOrderRequestWithDefaults: added
- NewPkiWriteRolesRoleAcmeOrderOrderIdCertRequestWithDefaults: added
- NewPkiWriteRolesRoleAcmeOrderOrderIdFinalizeRequestWithDefaults: added
- NewPkiWriteRolesRoleAcmeOrderOrderIdRequestWithDefaults: added
- NewPkiWriteRolesRoleAcmeOrdersRequestWithDefaults: added
- NewPkiWriteRolesRoleAcmeRevokeCertRequestWithDefaults: added
- NewRawReadPathResponseWithDefaults: added
- NewRawReadResponseWithDefaults: added
- NewRawWritePathRequestWithDefaults: added
- NewRawWriteRequestWithDefaults: added
- NewSystemWriteNamespacesApiLockLockRequestWithDefaults: added
- NewSystemWriteNamespacesApiLockUnlockRequestWithDefaults: added
- OidcProviderAuthorizeWithParametersRequest: added
- PkiConfigureAcmeRequest: added
- PkiConfigureAutoTidyRequest.AcmeAccountSafetyBuffer: added
- PkiConfigureAutoTidyRequest.TidyAcme: added
- PkiConfigureAutoTidyResponse.AcmeAccountSafetyBuffer: added
- PkiConfigureAutoTidyResponse.MaintainStoredCertificateCounts: added
- PkiConfigureAutoTidyResponse.PublishStoredCertificateCountMetrics: added
- PkiConfigureAutoTidyResponse.TidyAcme: added
- PkiConfigureCaResponse.ExistingIssuers: added
- PkiConfigureCaResponse.ExistingKeys: added
- PkiGenerateEabKeyForIssuerAndRoleResponse: added
- PkiGenerateEabKeyForIssuerResponse: added
- PkiGenerateEabKeyForRoleResponse: added
- PkiGenerateEabKeyResponse: added
- PkiIssuersImportBundleResponse.ExistingIssuers: added
- PkiIssuersImportBundleResponse.ExistingKeys: added
- PkiIssuersImportCertResponse.ExistingIssuers: added
- PkiIssuersImportCertResponse.ExistingKeys: added
- PkiListEabKeysResponse: added
- PkiPatchIssuerResponse.EnableAiaUrlTemplating: added
- PkiReadAutoTidyConfigurationResponse.AcmeAccountSafetyBuffer: added
- PkiReadAutoTidyConfigurationResponse.TidyAcme: added
- PkiReadIssuerResponse.EnableAiaUrlTemplating: added
- PkiReadKeyResponse.SubjectKeyId: added
- PkiRotateRootRequest: added
- PkiRotateRootResponse: added
- PkiSetSignedIntermediateResponse.ExistingIssuers: added
- PkiSetSignedIntermediateResponse.ExistingKeys: added
- PkiTidyCancelResponse.AcmeAccountDeletedCount: added
- PkiTidyCancelResponse.AcmeAccountRevokedCount: added
- PkiTidyCancelResponse.AcmeAccountSafetyBuffer: added
- PkiTidyCancelResponse.AcmeOrdersDeletedCount: added
- PkiTidyCancelResponse.LastAutoTidyFinished: added
- PkiTidyCancelResponse.RevocationQueueSafetyBuffer: added
- PkiTidyCancelResponse.TidyAcme: added
- PkiTidyCancelResponse.TotalAcmeAccountCount: added
- PkiTidyRequest.AcmeAccountSafetyBuffer: added
- PkiTidyRequest.TidyAcme: added
- PkiTidyStatusResponse.AcmeAccountDeletedCount: added
- PkiTidyStatusResponse.AcmeAccountRevokedCount: added
- PkiTidyStatusResponse.AcmeAccountSafetyBuffer: added
- PkiTidyStatusResponse.AcmeOrdersDeletedCount: added
- PkiTidyStatusResponse.LastAutoTidyFinished: added
- PkiTidyStatusResponse.RevocationQueueSafetyBuffer: added
- PkiTidyStatusResponse.TidyAcme: added
- PkiTidyStatusResponse.TotalAcmeAccountCount: added
- PkiWriteAcmeAccountKidRequest: added
- PkiWriteAcmeAuthorizationAuthIdRequest: added
- PkiWriteAcmeChallengeAuthIdChallengeTypeRequest: added
- PkiWriteAcmeNewAccountRequest: added
- PkiWriteAcmeNewOrderRequest: added
- PkiWriteAcmeOrderOrderIdCertRequest: added
- PkiWriteAcmeOrderOrderIdFinalizeRequest: added
- PkiWriteAcmeOrderOrderIdRequest: added
- PkiWriteAcmeOrdersRequest: added
- PkiWriteAcmeRevokeCertRequest: added
- PkiWriteIssuerIssuerRefAcmeAccountKidRequest: added
- PkiWriteIssuerIssuerRefAcmeAuthorizationAuthIdRequest: added
- PkiWriteIssuerIssuerRefAcmeChallengeAuthIdChallengeTypeRequest: added
- PkiWriteIssuerIssuerRefAcmeNewAccountRequest: added
- PkiWriteIssuerIssuerRefAcmeNewOrderRequest: added
- PkiWriteIssuerIssuerRefAcmeOrderOrderIdCertRequest: added
- PkiWriteIssuerIssuerRefAcmeOrderOrderIdFinalizeRequest: added
- PkiWriteIssuerIssuerRefAcmeOrderOrderIdRequest: added
- PkiWriteIssuerIssuerRefAcmeOrdersRequest: added
- PkiWriteIssuerIssuerRefAcmeRevokeCertRequest: added
- PkiWriteIssuerIssuerRefRolesRoleAcmeAccountKidRequest: added
- PkiWriteIssuerIssuerRefRolesRoleAcmeAuthorizationAuthIdRequest: added
- PkiWriteIssuerIssuerRefRolesRoleAcmeChallengeAuthIdChallengeTypeRequest: added
- PkiWriteIssuerIssuerRefRolesRoleAcmeNewAccountRequest: added
- PkiWriteIssuerIssuerRefRolesRoleAcmeNewOrderRequest: added
- PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdCertRequest: added
- PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdFinalizeRequest: added
- PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdRequest: added
- PkiWriteIssuerIssuerRefRolesRoleAcmeOrdersRequest: added
- PkiWriteIssuerIssuerRefRolesRoleAcmeRevokeCertRequest: added
- PkiWriteIssuerResponse.EnableAiaUrlTemplating: added
- PkiWriteRolesRoleAcmeAccountKidRequest: added
- PkiWriteRolesRoleAcmeAuthorizationAuthIdRequest: added
- PkiWriteRolesRoleAcmeChallengeAuthIdChallengeTypeRequest: added
- PkiWriteRolesRoleAcmeNewAccountRequest: added
- PkiWriteRolesRoleAcmeNewOrderRequest: added
- PkiWriteRolesRoleAcmeOrderOrderIdCertRequest: added
- PkiWriteRolesRoleAcmeOrderOrderIdFinalizeRequest: added
- PkiWriteRolesRoleAcmeOrderOrderIdRequest: added
- PkiWriteRolesRoleAcmeOrdersRequest: added
- PkiWriteRolesRoleAcmeRevokeCertRequest: added
- RawReadPathResponse: added
- RawReadResponse: added
- RawWritePathRequest: added
- RawWriteRequest: added
- SystemWriteNamespacesApiLockLockRequest: added
- SystemWriteNamespacesApiLockUnlockRequest: added
- TransitImportKeyRequest.PublicKey: added
- TransitImportKeyVersionRequest.PublicKey: added
- TransitImportKeyVersionRequest.Version: added
How has this been tested?
No testing performed so far - given the huge scope of the change and discussion in #187 about just doing a big bang update, mindful of the library's beta status, maybe that's OK. If not let me know.
Closes #180
As discussed in #187 this is a big bang approach that is considered appropriate mostly only because the library is still in beta.
Closes #187
Some of the changes being introduced here due to OpenAPI changes look wrong to me (e.g. it seems wrong for
sys/decode-token
to be given the method name of justDecode
, and it seems wrong for thesys/raw
APIs to have variants with and without the path parameter), but mindful of the large amount of changes, and beta status of the library, it's probably better to resync with the current OpenAPI and iterate from there.golang.org/x/exp/apidiff report for root package:
golang.org/x/exp/cmd/apidiff report for schema package:
How has this been tested?
No testing performed so far - given the huge scope of the change and discussion in #187 about just doing a big bang update, mindful of the library's beta status, maybe that's OK. If not let me know.