You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using DRF`s generateschema command, Docstring inline documentations are automatically parsed, but there is no way to add extra query parameters or document existing parameters inside that Docstring.
Here is an example:
@action(detail=False, methods=['post'])
def add(self, request):
"""
Adds a new account
parameters:
- in: query
name: service_id
type: string
required: true
description: Identifier of the service
"""