pyeve / eve-swagger

Swagger extension for Eve-powered RESTful APIs
http://python-eve.org
Other
154 stars 43 forks source link

Added option to remove example attribute inside parameters #90

Closed DavidZisky closed 5 years ago

DavidZisky commented 5 years ago

Fix for: https://github.com/pyeve/eve-swagger/issues/75

Simply added option to remove example attribute inside parameters by specifying:

app.config['SWAGGER_EXAMPLE_FIELD_REMOVE'] = True

DavidZisky commented 5 years ago

@nicolaiarocci and thoughts on that?

nicolaiarocci commented 5 years ago

Thanks. Added some small refactoring, please let me know if it works for you.