-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feature request for support example attribute for elements #22
Comments
I think that would be quite doable. Will look into it somewhere in the coming weeks. |
Thank you very much! SwaggerUI can handle examples. And here is the json for that: http://petstore.swagger.io/v2/swagger.json The "example" shows up in the UI when you see eg. the "Add a new pet to the store" body options object. |
I've added support for Note that PHPSwaggerGen bases off the 2.0 spec. Relevant page on The page you linked to was for OAS3. I may support 3.0 in the future, but currently have no plans to do so. |
Thank you very much! |
Dear Developer(s),
I want to ask you to develop PHPSwaggerGen to support example attribute for swagger.
What I mean?
More about this attribute: https://swagger.io/docs/specification/adding-examples/
Would be nice to have this feature too. Thank you!
The text was updated successfully, but these errors were encountered: