-
Notifications
You must be signed in to change notification settings - Fork 440
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
Way to style or mark an API method as deprecated #173
Comments
You should set the You can achieve this with a custom |
Thanks, I'll try overriding the schema. I think the custom decorator would be really nice. |
Hey, and thanks for the awesome documentation generator! Is there currently a way for marking an API method as deprecated by e.g. overlining it in the UI? I think the custom
.deprecated
HTML class does that, but I didn't find a method for setting HTML classes for the UI elements generated from DRF viewsets.The text was updated successfully, but these errors were encountered: