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

Support examples #27

Closed
Kukunin opened this issue Oct 14, 2017 · 3 comments
Closed

Support examples #27

Kukunin opened this issue Oct 14, 2017 · 3 comments

Comments

@Kukunin
Copy link
Contributor

Kukunin commented Oct 14, 2017

OpenAPI 2 and 3 versions has support of settings examples for definition properties. https://swagger.io/docs/specification/2-0/adding-examples/

That'd be cool to have support them:

  expose :username, documentation: {required: true, example: 'John Smith'}
@kzaitsev
Copy link
Collaborator

Hi, looks good, feel free to create pull request.

@Kukunin
Copy link
Contributor Author

Kukunin commented Nov 2, 2017

Can be closed

@kzaitsev
Copy link
Collaborator

kzaitsev commented Nov 3, 2017

Released in 0.2.2

@kzaitsev kzaitsev closed this as completed Nov 3, 2017
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

2 participants