Asterisk - The Open Source Telephony Project
18.5.0
|
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 708 of file swagger_model.py.
def __init__ | ( | self | ) |
Definition at line 714 of file swagger_model.py.
def load | ( | self, | |
resources_json, | |||
processor, | |||
context | |||
) |
Definition at line 735 of file swagger_model.py.
References ApiDeclaration.api_version, ResourceListing.api_version, ApiDeclaration.apis, ResourceListing.apis, ApiDeclaration.base_path, ResourceListing.base_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, ParsingContext.swagger_version, ApiDeclaration.swagger_version, ResourceListing.swagger_version, and swagger_model.validate_required_fields().
Referenced by ResourceListing.load_file().
def load_file | ( | self, | |
resource_file, | |||
processor | |||
) |
Definition at line 720 of file swagger_model.py.
References ApiDeclaration.__load_file(), ResourceListing.__load_file(), ast_speech_engine.load, Parameter.load(), ast_sorcery_wizard.load, ErrorResponse.load(), SwaggerType.load(), ast_module_info.load, Operation.load(), Api.load(), Property.load(), Model.load(), ApiDeclaration.load(), ResourceApi.load(), and ResourceListing.load().
api_version |
Definition at line 716 of file swagger_model.py.
Referenced by ResourceListing.load().
apis |
Definition at line 718 of file swagger_model.py.
Referenced by ResourceListing.load().
base_path |
Definition at line 717 of file swagger_model.py.
Referenced by ResourceListing.load().
|
static |
Definition at line 712 of file swagger_model.py.
Referenced by ResourceListing.load().
swagger_version |
Definition at line 715 of file swagger_model.py.
Referenced by ResourceListing.load().