Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Public Member Functions | |
def | __init__ (self) |
def | load (self, op_json, processor, context) |
Public Member Functions inherited from Stringify | |
def | __repr__ (self) |
Static Public Attributes | |
list | required_fields = ['httpMethod', 'nickname', 'responseClass', 'summary'] |
Model of an operation on an API See https://github.com/wordnik/swagger-core/wiki/API-Declaration#apis
Definition at line 359 of file swagger_model.py.
def __init__ | ( | self | ) |
Definition at line 367 of file swagger_model.py.
def load | ( | self, | |
op_json, | |||
processor, | |||
context | |||
) |
Definition at line 377 of file swagger_model.py.
References Operation.http_method, Operation.load(), Operation.nickname, Operation.nickname_lc, 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, Operation.response_class, and swagger_model.validate_required_fields().
Referenced by Operation.load(), ApiDeclaration.load_file(), and ResourceListing.load_file().
body_parameter |
Definition at line 415 of file swagger_model.py.
error_responses |
Definition at line 375 of file swagger_model.py.
has_body_parameter |
Definition at line 420 of file swagger_model.py.
has_error_responses |
Definition at line 427 of file swagger_model.py.
has_header_parameters |
Definition at line 409 of file swagger_model.py.
has_parameters |
Definition at line 410 of file swagger_model.py.
has_path_parameters |
Definition at line 406 of file swagger_model.py.
has_query_parameters |
Definition at line 403 of file swagger_model.py.
header_parameters |
Definition at line 407 of file swagger_model.py.
http_method |
Definition at line 368 of file swagger_model.py.
Referenced by Operation.load().
is_binary_response |
Definition at line 412 of file swagger_model.py.
is_req |
Definition at line 389 of file swagger_model.py.
is_websocket |
Definition at line 388 of file swagger_model.py.
nickname |
Definition at line 369 of file swagger_model.py.
Referenced by Operation.load().
nickname_lc |
Definition at line 370 of file swagger_model.py.
Referenced by Operation.load().
notes |
Definition at line 374 of file swagger_model.py.
parameters |
Definition at line 372 of file swagger_model.py.
path_parameters |
Definition at line 404 of file swagger_model.py.
query_parameters |
Definition at line 401 of file swagger_model.py.
Definition at line 365 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().
response_class |
Definition at line 371 of file swagger_model.py.
Referenced by Operation.load().
summary |
Definition at line 373 of file swagger_model.py.
websocket_protocol |
Definition at line 392 of file swagger_model.py.