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.14.x #21000

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.14.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/frequently-communal-stinkbug branch 2 times, most recently from 3bd1bcb to 1910293 Compare June 5, 2023 23:22
@VioletHynes VioletHynes added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Jul 6, 2023
@schavis schavis added the vault-update Used by SPE team to filter out PRs not related to content label Aug 17, 2023
@mladlow
Copy link
Collaborator

mladlow commented Feb 29, 2024

@averche do you happen to know if this should be merged or closed?

@averche averche merged commit bdcd5b5 into release/1.14.x Mar 1, 2024
2 checks passed
@averche averche deleted the backport/fix-openapi-duration-format/frequently-communal-stinkbug branch March 1, 2024 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed pr/no-milestone vault-update Used by SPE team to filter out PRs not related to content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants