-
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
Support mark field deprecated #415
Comments
parameter: drf-spectacular/drf_spectacular/utils.py Line 142 in a31a9e4
operation: drf-spectacular/drf_spectacular/utils.py Line 193 in a31a9e4
however it looks like we are missing a way to mark a field as deprecated. |
Yep, marking a field as deprecated is just what I need. 🤣 |
closing this issue for now. feel free to comment if anything is missing or not working and we will follow-up. |
Documenting this feature would be nice. Haven't found any resource on how to use this, apart from reading the commit diff. |
it is documented here: https://drf-spectacular.readthedocs.io/en/latest/drf_spectacular.html#drf_spectacular.utils.extend_schema_serializer Other than that, is is difficult to document every single feature in spectacular with an example. I would count that one as one of the self-documenting ones. |
See https://spec.openapis.org/oas/v3.1.0#parameter-object
The text was updated successfully, but these errors were encountered: