Skip to content

Commit

Permalink
Fix typos in docstring of swagger_auto_schema (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymyzk committed Oct 25, 2020
1 parent dbdd32c commit 3db1b98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/drf_yasg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def swagger_auto_schema(method=None, methods=None, auto_schema=unset, request_bo
`method` and `methods` are mutually exclusive and must only be present when decorating a view method that accepts
more than one HTTP request method.
The `auto_schema` and `operation_description` arguments take precendence over view- or method-level values.
The `auto_schema` and `operation_description` arguments take precedence over view- or method-level values.
:param str method: for multi-method views, the http method the options should apply to
:param list[str] methods: for multi-method views, the http methods the options should apply to
Expand Down Expand Up @@ -75,12 +75,12 @@ def swagger_auto_schema(method=None, methods=None, auto_schema=unset, request_bo
It is an error to supply ``form`` parameters when the request does not consume form-data.
:param str operation_id: operation ID override; the operation ID must be unique accross the whole API
:param str operation_id: operation ID override; the operation ID must be unique across the whole API
:param str operation_description: operation description override
:param str operation_summary: operation summary string
:param list[dict] security: security requirements override; used to specify which authetication mechanism
is requried to call this API; an empty list marks the endpoint as unauthenticated (i.e. removes all accepted
authentication schemes), and ``None`` will inherit the top-level secuirty requirements
:param list[dict] security: security requirements override; used to specify which authentication mechanism
is required to call this API; an empty list marks the endpoint as unauthenticated (i.e. removes all accepted
authentication schemes), and ``None`` will inherit the top-level security requirements
:param bool deprecated: deprecation status for operation
:param responses: a dict of documented manual responses
keyed on response status code. If no success (``2xx``) response is given, one will automatically be
Expand Down

0 comments on commit 3db1b98

Please sign in to comment.