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

[v2]: Support examples keywords #1949

Open
KevinThompsonYCRX opened this issue Dec 18, 2024 · 0 comments
Open

[v2]: Support examples keywords #1949

KevinThompsonYCRX opened this issue Dec 18, 2024 · 0 comments

Comments

@KevinThompsonYCRX
Copy link

Is your feature request related to a problem? Please describe.
The example keyword has been deprecated in OpenAPI 3.1 in favor of examples:

Describe the solution you'd like
When the example tag is parsed, place it in a list under examples. Defining a valid separator between examples would be good, but it will also need to be escapable.

Additional context
Blog post for 3.1 - you'll need to scroll down to the "Use examples not example" section
https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant