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

Validate my examples against the corresponding model #5160

Open
SORC3r3r opened this issue Feb 6, 2019 · 1 comment
Open

Validate my examples against the corresponding model #5160

SORC3r3r opened this issue Feb 6, 2019 · 1 comment

Comments

@SORC3r3r
Copy link

SORC3r3r commented Feb 6, 2019

Is it possible to validate my examples by using the corresponding models?
Sometimes I forget to edit the examples after I did some changes to the models.

Another question, can I by default show the models instead of the examples in swagger-ui?

Thanks!

@shockey
Copy link
Contributor

shockey commented Feb 11, 2019

Is it possible to validate my examples by using the corresponding models?

Not currently possible, but I like the idea! Let's use this ticket to track the feature request.

can I by default show the models instead of the examples in swagger-ui

Yes! Use the defaultModelRendering option.

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

No branches or pull requests

2 participants