-
Notifications
You must be signed in to change notification settings - Fork 265
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
externalDocs
for operation schema
#681
Comments
There is a dedicated setting for this (among most other possible settings): drf-spectacular/drf_spectacular/settings.py Line 180 in 66086cf
Other settings for the root object can be added with |
As I understand, the |
Excellent point! Sry, I missed that you were referring to the operation. Should be doable, however not sure yet where exactly it is the best fit. operation or schema objects. |
That should do it. It is only for the operation for now. Let's wait if someone will ask for the schema object. |
closing this issue for now. feel free to comment if anything is missing or not working and we will follow-up. |
I have missed the
externalDocs
field for the operation object. Is there any intended way I can add this for my views? If not, I think there should be anexternal_docs
argument in theextend_scema
(andextend_schema_serializer
I guess?) decorator for this purpose.The text was updated successfully, but these errors were encountered: