Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Public Member Functions | |
def | __init__ (self) |
def | load (self, api_json, processor, context) |
def | load_api_declaration (self, base_dir, processor) |
Public Member Functions inherited from Stringify | |
def | __repr__ (self) |
Data Fields | |
api_declaration | |
description | |
file | |
path | |
Static Public Attributes | |
list | required_fields = ['path', 'description'] |
Model of an API listing in the resources.json file.
Definition at line 690 of file swagger_model.py.
def __init__ | ( | self | ) |
Definition at line 696 of file swagger_model.py.
def load | ( | self, | |
api_json, | |||
processor, | |||
context | |||
) |
Definition at line 701 of file swagger_model.py.
References manager_action.description, ast_module_info.description, ast_switch.description, stasis_subscription_change.description, 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, ast_fax_tech.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, ast_bucket_file.path, ast_sip_contact.path, path_lock.path, ast_uri.path, Api.path, ResourceApi.path, replace(), 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 ApiDeclaration.load_file(), and ResourceListing.load_file().
def load_api_declaration | ( | self, | |
base_dir, | |||
processor | |||
) |
Definition at line 712 of file swagger_model.py.
api_declaration |
Definition at line 699 of file swagger_model.py.
description |
Definition at line 698 of file swagger_model.py.
Referenced by Api.load(), ResourceApi.load(), Model.load(), Parameter.load(), and Property.load().
file |
Definition at line 713 of file swagger_model.py.
path |
Definition at line 697 of file swagger_model.py.
Referenced by Api.load(), and ResourceApi.load().
|
static |
Definition at line 694 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().