module documentation

generators.py # Top-down schema generation See schemas.__init__.py for package overview.

Class BaseSchemaGenerator No class docstring; 0/8 instance variable, 4/7 methods documented
Class EndpointEnumerator A class to determine the available API endpoints that a project exposes.
Function endpoint_ordering Undocumented
Function get_pk_name Undocumented
Function is_api_view Return `True` if the given view callback is a REST framework view/viewset.
Constant _PATH_PARAMETER_COMPONENT_RE Undocumented
def endpoint_ordering(endpoint): (source)

Undocumented

def get_pk_name(model): (source)

Undocumented

def is_api_view(callback): (source)

Return `True` if the given view callback is a REST framework view/viewset.

_PATH_PARAMETER_COMPONENT_RE = (source)

Undocumented

Value
re.compile(r'<(?:(?P<converter>[^>:]+):)?(?P<parameter>\w+)>')