pyeve / eve-swagger

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

How to add query parameters in domain? #78

Closed smn-snkl closed 5 years ago

smn-snkl commented 5 years ago

I saw that you can add a special query param like this:

add_documentation({'paths': {'/status': {'get': {'parameters': [
    {
        'in': 'query',
        'name': 'foobar',
        'required': False,
        'description': 'special query parameter',
        'type': 'string'
    }]
}}}})

But I'm wondering if I'm missing how to define parameters in the DOMAIN dict. Shouldn't there be a way to add them right there?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.