Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of openapi: Fix generated types for duration strings into release/1.12.x #21001

Conversation

hc-github-team-secure-vault-core
Copy link
Contributor

Backport

This PR is auto-generated from #20841 to be assessed for backporting due to the inclusion of the label backport/1.12.x.

The below text is copied from the body of the original PR.


Duration are sent as strings today (e.g. "10s", "20m", etc.), which breaks the code generated based on the current OpenAPI spec which encodes them as integers. This small fix addresses the issue.

Note: "duration" is not yet officially supported in the OpenAPI spec as of v3.0.3, but it is planned in future versions. For now, this format will be ignored by the openapi-generator.


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/fix-openapi-duration-format/pleasantly-improved-tomcat branch 2 times, most recently from ef211df to 72a8f80 Compare June 5, 2023 23:22
@averche averche enabled auto-merge (squash) June 5, 2023 23:23
@averche averche merged commit 6c7ed26 into release/1.12.x Jun 5, 2023
@averche averche deleted the backport/fix-openapi-duration-format/pleasantly-improved-tomcat branch June 5, 2023 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants