hi, how do I add a manual parameters using drf-yasg? im using modelviewset and multiple sub serializer for diff method, i've tried using @swagger_auto_schema(request_body=openapi.Schema(type=openapi.TYPE_OBJECT, properties={'id': openapi.Schema(type=openapi.TYPE_INTEGER)})) def save(): ... but it is not working..
what vs code theme are you using? and also.. what is the extension on your side bar with that test icon? pleasee tell me
LHow to exclude POST and PUT on swagger doc using viewset?
Useful
i cant use the "with_ui" method for some reason
thanks
website down?
Yes
@@josericardoriobuenovilera9741 any git repo?
hi, how do I add a manual parameters using drf-yasg? im using modelviewset and multiple sub serializer for diff method, i've tried using
@swagger_auto_schema(request_body=openapi.Schema(type=openapi.TYPE_OBJECT, properties={'id': openapi.Schema(type=openapi.TYPE_INTEGER)}))
def save():
...
but it is not working..
Try using @method_decorator I showed in blog post (link in desc.)
@developertimeline
Website is down .pls help