class documentation
class AutoSchema(ViewInspector): (source)
Undocumented
Method | __init__ |
:param operation_id_base: user-defined name in operationId. If empty, it will be deducted from the Model/Serializer/View name. :param component_name: user-defined component's name. If empty, it will be deducted from the Serializer's class name. |
Method | allows |
Determine whether to include filter Fields in schema. |
Method | get |
Compute the component's name from the serializer. Raise an exception if the serializer's class name is "Serializer" (case-insensitive). |
Method | get |
Return components with their properties from the serializer. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Compute an operation ID from the view type and get_operation_id_base method. |
Method | get |
Compute the base part for operation ID from the model, serializer or view name. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Return a list of parameters from templated path variables. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Override this method if your view uses a different serializer for handling request body. |
Method | get |
Override this method if your view uses a different serializer for populating response data. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | map |
Undocumented |
Method | map |
Undocumented |
Method | map |
map field validators |
Method | map |
Undocumented |
Method | map |
Undocumented |
Method | map |
Undocumented |
Class Variable | method |
Undocumented |
Instance Variable | component |
Undocumented |
Instance Variable | operation |
Undocumented |
Instance Variable | request |
Undocumented |
Instance Variable | response |
Undocumented |
Method | _get |
Undocumented |
Method | _map |
Undocumented |
Method | _to |
Undocumented |
Instance Variable | _tags |
Undocumented |
Inherited from ViewInspector
:
Method | __get__ |
Enables `ViewInspector` as a Python _Descriptor_. |
Method | __set__ |
Undocumented |
Method | get |
Determine a path description. |
Method | view |
Undocumented |
Method | view |
Undocumented |
Class Variable | header |
Undocumented |
Instance Variable | instance |
Undocumented |
Property | view |
View property. |
Method | _get |
Undocumented |
Instance Variable | _view |
Undocumented |
:param operation_id_base: user-defined name in operationId. If empty, it will be deducted from the Model/Serializer/View name. :param component_name: user-defined component's name. If empty, it will be deducted from the Serializer's class name.
Determine whether to include filter Fields in schema. Default implementation looks for ModelViewSet or GenericAPIView actions/methods that cause filtering on the default implementation.
Compute the component's name from the serializer. Raise an exception if the serializer's class name is "Serializer" (case-insensitive).