I'd like to document input schemas and output schemas for GET request with drf-yasg.
It doesn't seem to be easy.
@swagger_auto_schema(
manual_parameters=[
openapi.Parameter('cart_id', in_=openapi.IN_QUERY,
type=openapi.TYPE_INTEGER)
])
The above code shows the GET parameter, but somehow hides the response schema.
@swagger_auto_schema(methods=['put', 'post'], request_body=UserSerializer)
I can't use request_body for GET query parameters, it's only for post body
So How do I document my input schema and output schema with drf-yasg ?