-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add option to allow not including the examples #68
Comments
@darrelmiller do you have resource to work it? |
@xuzhg Yes, I can work with @irvinesunday on this. #AB4906 |
@darrelmiller, great, i'd love to review it. |
Hi, @xuzhg |
@unchase, it's out on nuget.org, you can find it at: https://www.nuget.org/packages/Microsoft.OpenApi.OData/1.0.4 Let me know if anything is wrong. |
Thank you. All is good. |
The generated examples are not very useful as they don't contain representative values and in some cases the values actually don't match the datatypes so they cause warnings and errors with linting tools. They also considerably bulk up the output document.
Consider this example. It doesn't provide any more information than the schema itself.
The other consideration is to just stop producing examples completely. If we keep them we should consider actually generating representative sample values.
The text was updated successfully, but these errors were encountered: