-
Notifications
You must be signed in to change notification settings - Fork 274
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
OpenApiParameter constructor does not allow schema
argument?
#425
Comments
our interface is close to OpenAPI naming but not identical. please consult the docs and look at the actual parameters it supports. what you want with drf-spectacular/drf_spectacular/utils.py Line 137 in 226d450
|
ok, I admit I didn't think of trying Beyond the |
i agree that the |
improved the type with 9819424 |
According to OpenAPI 3.0.3 specification, the OpenAPI Parameter object accepts a
schema
property.The
OpenApiParameter
class in this library does not seem to.Here is what I wanted to do:
and I get the following error:
The text was updated successfully, but these errors were encountered: