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

Collect examples from model definitions #12

Closed

Conversation

benjvoigt
Copy link
Contributor

Probably more cases to be covered

Copy link
Owner

@outofcoffee outofcoffee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thank you.

For the test spec, please could we have a slimmed down version that just contains the definitions needed to test the new functionality? I'd like to avoid reusing the sample as it will likely be overwritten periodically as we update it in future.

As far as the test itself is concerned; please could we split this into a separate test method?

@outofcoffee
Copy link
Owner

outofcoffee commented Nov 26, 2019

Experimental support added in 65d343c.

Enable with --pluginArg openapi.alpha.modelexamples=true

@outofcoffee
Copy link
Owner

Superseded by #40

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

Successfully merging this pull request may close these issues.

None yet

2 participants