Asterisk - The Open Source Telephony Project
18.5.0
|
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 356 of file swagger_model.py.
def __init__ | ( | self | ) |
Definition at line 364 of file swagger_model.py.
def load | ( | self, | |
op_json, | |||
processor, | |||
context | |||
) |
Definition at line 373 of file swagger_model.py.
References Operation.http_method, Operation.nickname, Parameter.required_fields, ErrorResponse.required_fields, Operation.required_fields, Operation.response_class, and swagger_model.validate_required_fields().
Referenced by ApiDeclaration.load_file(), and ResourceListing.load_file().
body_parameter |
Definition at line 410 of file swagger_model.py.
error_responses |
Definition at line 371 of file swagger_model.py.
has_body_parameter |
Definition at line 415 of file swagger_model.py.
has_error_responses |
Definition at line 422 of file swagger_model.py.
has_header_parameters |
Definition at line 404 of file swagger_model.py.
has_parameters |
Definition at line 405 of file swagger_model.py.
has_path_parameters |
Definition at line 401 of file swagger_model.py.
has_query_parameters |
Definition at line 398 of file swagger_model.py.
header_parameters |
Definition at line 402 of file swagger_model.py.
http_method |
Definition at line 365 of file swagger_model.py.
Referenced by Operation.load().
is_binary_response |
Definition at line 407 of file swagger_model.py.
is_req |
Definition at line 384 of file swagger_model.py.
is_websocket |
Definition at line 383 of file swagger_model.py.
nickname |
Definition at line 366 of file swagger_model.py.
Referenced by Operation.load().
notes |
Definition at line 370 of file swagger_model.py.
parameters |
Definition at line 368 of file swagger_model.py.
path_parameters |
Definition at line 399 of file swagger_model.py.
query_parameters |
Definition at line 396 of file swagger_model.py.
Definition at line 362 of file swagger_model.py.
Referenced by Operation.load(), Api.load(), Property.load(), Model.load(), ApiDeclaration.load(), ResourceApi.load(), and ResourceListing.load().
response_class |
Definition at line 367 of file swagger_model.py.
Referenced by Operation.load().
summary |
Definition at line 369 of file swagger_model.py.
websocket_protocol |
Definition at line 387 of file swagger_model.py.