class documentation
Schemas for an API.
| Method | __init__ |
Constructor. |
| Method | get |
Get deserialized JSON schema from the schema name. |
| Method | pretty |
Get pretty printed object prototype from the schema name. |
| Method | pretty |
Get pretty printed object prototype of schema. |
| Instance Variable | pretty |
Undocumented |
| Instance Variable | schemas |
Undocumented |
| Method | _pretty |
Get pretty printed object prototype from the schema name. |
| Method | _pretty |
Get pretty printed object prototype of schema. |
Constructor.
| Parameters | |
| discovery | object, Deserialized discovery document from which we pull out the named schema. |
Get deserialized JSON schema from the schema name.
| Parameters | |
| name | string, Schema name. |
| default | object, return value if name not found. |
Get pretty printed object prototype from the schema name.
| Parameters | |
| name | string, Name of schema in the discovery document. |
| Returns | |
| |
Get pretty printed object prototype of schema.
| Parameters | |
| schema | object, Parsed JSON schema. |
| Returns | |
| |
Get pretty printed object prototype from the schema name.
| Parameters | |
| name | string, Name of schema in the discovery document. |
| seen | list of string, Names of schema already seen. Used to handle recursive definitions. |
| dent | Undocumented |
| Returns | |
| |