Asterisk - The Open Source Telephony Project GIT-master-0bf3178
|
Public Member Functions | |
def | __init__ (self) |
def | load (self, resources_json, processor, context) |
def | load_file (self, resource_file, processor) |
Public Member Functions inherited from Stringify | |
def | __repr__ (self) |
Data Fields | |
api_version | |
apis | |
base_path | |
swagger_version | |
Static Public Attributes | |
list | required_fields = ['apiVersion', 'basePath', 'apis'] |
Model of Swagger's resources.json file.
Definition at line 718 of file swagger_model.py.
def __init__ | ( | self | ) |
Definition at line 724 of file swagger_model.py.
def load | ( | self, | |
resources_json, | |||
processor, | |||
context | |||
) |
Definition at line 745 of file swagger_model.py.
References ApiDeclaration.api_version, ResourceListing.api_version, ApiDeclaration.apis, ResourceListing.apis, ApiDeclaration.base_path, ResourceListing.base_path, ResourceListing.load(), 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, ParsingContext.swagger_version, ApiDeclaration.swagger_version, ResourceListing.swagger_version, and swagger_model.validate_required_fields().
Referenced by ResourceListing.load(), ApiDeclaration.load_file(), and ResourceListing.load_file().
def load_file | ( | self, | |
resource_file, | |||
processor | |||
) |
Definition at line 730 of file swagger_model.py.
References ApiDeclaration.__load_file(), ResourceListing.__load_file(), ApiDeclaration.load(), Api.load(), ResourceApi.load(), ErrorResponse.load(), Model.load(), Operation.load(), Parameter.load(), Property.load(), ResourceListing.load(), SwaggerType.load(), ast_speech_engine.load, ast_sorcery_wizard.load, and ast_module_info.load.
api_version |
Definition at line 726 of file swagger_model.py.
Referenced by ApiDeclaration.load(), and ResourceListing.load().
apis |
Definition at line 728 of file swagger_model.py.
Referenced by ResourceListing.load().
base_path |
Definition at line 727 of file swagger_model.py.
Referenced by ApiDeclaration.load(), and ResourceListing.load().
|
static |
Definition at line 722 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().
swagger_version |
Definition at line 725 of file swagger_model.py.
Referenced by ParsingContext.__repr__(), ApiDeclaration.load(), ResourceListing.load(), ParsingContext.next_stack(), and ParsingContext.version_less_than().