-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Added method to update viewset description #12218
Added method to update viewset description #12218
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gives much better description then default:
"Extend DRF's ModelViewSet to support bulk update and delete functions." -> "Get a list of circuit termination objects."
Did a spot check of Get, Post, Patch, Put, Delete all looked good, also the @action overriden ones returned the correct docstring.
Thanks @abhi1693 and @arthanson! |
Heavily based on netbox-community/netbox#12218 Co-authored-by: Abhimanyu Saharan <[email protected]>
…#3786) * Fix default descriptions of REST API endpoints in the schema. Heavily based on netbox-community/netbox#12218 Co-authored-by: Abhimanyu Saharan <[email protected]> * Change fragment --------- Co-authored-by: Abhimanyu Saharan <[email protected]>
Closes: #12217