Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Public Member Functions | |
def | __init__ (self) |
def | load (self, api_json, processor, context) |
Public Member Functions inherited from Stringify | |
def | __repr__ (self) |
Data Fields | |
description | |
has_websocket | |
operations | |
path | |
Static Public Attributes | |
list | required_fields = ['path', 'operations'] |
Model of a single API in an API declaration. See https://github.com/wordnik/swagger-core/wiki/API-Declaration
Definition at line 432 of file swagger_model.py.
def __init__ | ( | self | ) |
Definition at line 440 of file swagger_model.py.
def load | ( | self, | |
api_json, | |||
processor, | |||
context | |||
) |
Definition at line 445 of file swagger_model.py.
References dahdi_pvt.description, iax2_peer.description, ast_calendar_tech.description, ast_calendar_event.description, ast_channel_tech.description, ast_codec.description, ast_http_uri.description, ast_tone_zone.description, manager_action.description, ast_module_info.description, ast_switch.description, ast_fax_tech.description, stasis_subscription_change.description, ast_test_info.description, ast_xml_doc_item.description, ast_xmpp_resource.description, ast_value_translation.description, media_variant.description, ast_app.description, Parameter.description, Api.description, Property.description, Model.description, ResourceApi.description, Api.load(), PathSegment.operations, Api.operations, ast_bucket_file.path, ast_sip_contact.path, path_lock.path, ast_uri.path, Api.path, ResourceApi.path, Parameter.required_fields, ErrorResponse.required_fields, Operation.required_fields, Api.required_fields, Property.required_fields, Model.required_fields, ApiDeclaration.required_fields, ResourceApi.required_fields, ResourceListing.required_fields, and swagger_model.validate_required_fields().
Referenced by Api.load(), ApiDeclaration.load_file(), and ResourceListing.load_file().
description |
Definition at line 442 of file swagger_model.py.
Referenced by Api.load(), ResourceApi.load(), Model.load(), Parameter.load(), and Property.load().
has_websocket |
Definition at line 453 of file swagger_model.py.
operations |
Definition at line 443 of file swagger_model.py.
Referenced by Api.load().
path |
Definition at line 441 of file swagger_model.py.
Referenced by Api.load(), and ResourceApi.load().
|
static |
Definition at line 438 of file swagger_model.py.
Referenced by ApiDeclaration.load(), Api.load(), ResourceApi.load(), ErrorResponse.load(), Model.load(), Operation.load(), Parameter.load(), Property.load(), and ResourceListing.load().