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.13.x #21002

Conversation

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

Backport

This PR is auto-generated from #20841 to be assessed for backporting due to the inclusion of the label backport/1.13.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/separately-delicate-falcon branch 2 times, most recently from 05b47ac to a0f0675 Compare June 5, 2023 23:22
@averche averche enabled auto-merge (squash) June 5, 2023 23:24
@averche averche merged commit 71433b9 into release/1.13.x Jun 5, 2023
@averche averche deleted the backport/fix-openapi-duration-format/separately-delicate-falcon 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