class documentation
class BaseSchemaGenerator: (source)
Known subclasses: rest_framework.schemas.coreapi.SchemaGenerator
, rest_framework.schemas.openapi.SchemaGenerator
Undocumented
Method | __init__ |
Undocumented |
Method | coerce |
Coerce {pk} path arguments into the name of the model field, where possible. This is cleaner for an external representation. (Ie. "this is an identifier", not "this is a database primary key") |
Method | create |
Given a callback, return an actual view instance. |
Method | get |
Undocumented |
Method | has |
Return `True` if the incoming request has the correct view permissions. |
Instance Variable | coerce |
Undocumented |
Instance Variable | description |
Undocumented |
Instance Variable | endpoints |
Undocumented |
Instance Variable | patterns |
Undocumented |
Instance Variable | title |
Undocumented |
Instance Variable | url |
Undocumented |
Instance Variable | urlconf |
Undocumented |
Instance Variable | version |
Undocumented |
Method | _get |
Generate (path, method, view) given (path, method, callback) for paths. |
Method | _initialise |
Undocumented |
def __init__(self, title=None, url=None, description=None, patterns=None, urlconf=None, version=None):
(source)
¶
overridden in
rest_framework.schemas.coreapi.SchemaGenerator
Undocumented
Coerce {pk} path arguments into the name of the model field, where possible. This is cleaner for an external representation. (Ie. "this is an identifier", not "this is a database primary key")
overridden in
rest_framework.schemas.coreapi.SchemaGenerator
, rest_framework.schemas.openapi.SchemaGenerator
Undocumented