-
Notifications
You must be signed in to change notification settings - Fork 58
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
Field-based authorization #88
Comments
Hi! |
I wonder how to handle field-based authorization (i.e. a schema which is based on the request).
In
webargs.core._get_schema
the argmap is defined asFrom my understanding aiohttp-apispec currently just supports passing a schema instance. For field-based authorization a
callable that returns a schema instance
would be required. Nevertheless, we still need to be able to create a schema from that callable without a request to be able to generate the swagger docs.Maybe something like
The text was updated successfully, but these errors were encountered: