|
Asterisk - The Open Source Telephony Project
18.5.0
|


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 680 of file swagger_model.py.
| def __init__ | ( | self | ) |
Definition at line 686 of file swagger_model.py.
| def load | ( | self, | |
| api_json, | |||
| processor, | |||
| context | |||
| ) |
Definition at line 691 of file swagger_model.py.
References ast_codec.description, media_variant.description, ast_app.description, ast_xml_doc_item.description, ast_calendar_tech.description, ast_tone_zone.description, ast_xmpp_resource.description, ast_calendar_event.description, ast_http_uri.description, manager_action.description, ast_switch.description, ast_fax_tech.description, ast_test_info.description, Parameter.description, ast_module_info.description, Api.description, dahdi_pvt.description, Property.description, Model.description, iax2_peer.description, ast_channel_tech.description, ResourceApi.description, stasis_subscription_change.description, ast_value_translation.description, sip_peer.description, ast_uri.path, stir_shaken_store.path, stir_shaken_certificate.path, ast_bucket_file.path, ast_sip_contact.path, Api.path, ResourceApi.path, sip_peer.path, path_lock.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, and swagger_model.validate_required_fields().
Referenced by ResourceListing.load_file().
| def load_api_declaration | ( | self, | |
| base_dir, | |||
| processor | |||
| ) |
Definition at line 702 of file swagger_model.py.
| api_declaration |
Definition at line 689 of file swagger_model.py.
| description |
Definition at line 688 of file swagger_model.py.
Referenced by ResourceApi.load().
| file |
Definition at line 703 of file swagger_model.py.
| path |
Definition at line 687 of file swagger_model.py.
Referenced by ResourceApi.load().
|
static |
Definition at line 684 of file swagger_model.py.
Referenced by ResourceApi.load(), and ResourceListing.load().
1.8.13