Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Public Member Functions | |
def | __init__ (self, wiki_prefix) |
def | process_api (self, api, context) |
def | process_model (self, model, context) |
def | process_operation (self, operation, context) |
def | process_parameter (self, parameter, context) |
def | process_property (self, prop, context) |
def | process_resource_api (self, resource_api, context) |
def | process_type (self, swagger_type, context) |
Public Member Functions inherited from SwaggerPostProcessor | |
def | process_api (self, api, context) |
def | process_model (self, model, context) |
def | process_operation (self, operation, context) |
def | process_parameter (self, parameter, context) |
def | process_property (self, property, context) |
def | process_resource_api (self, resource_api, context) |
def | process_resource_listing (self, resource_listing, context) |
def | process_type (self, swagger_type, context) |
Data Fields | |
wiki_prefix | |
Static Public Attributes | |
dictionary | convert_mapping |
dictionary | json_convert_mapping |
dictionary | type_mapping |
A SwaggerPostProcessor which adds fields needed to generate Asterisk RESTful HTTP binding code.
Definition at line 127 of file asterisk_processor.py.
def __init__ | ( | self, | |
wiki_prefix | |||
) |
Definition at line 161 of file asterisk_processor.py.
def process_api | ( | self, | |
api, | |||
context | |||
) |
Post process an Api object. @param api: Api object. @param context: Current context in the API.
Reimplemented from SwaggerPostProcessor.
Definition at line 194 of file asterisk_processor.py.
References asterisk_processor.wikify().
def process_model | ( | self, | |
model, | |||
context | |||
) |
Post process a Model object. @param model: Model object. @param context: Current context in the API.
Reimplemented from SwaggerPostProcessor.
Definition at line 236 of file asterisk_processor.py.
References asterisk_processor.snakify(), and asterisk_processor.wikify().
def process_operation | ( | self, | |
operation, | |||
context | |||
) |
Post process a Operation object. @param operation: Operation object. @param context: Current context in the API.
Reimplemented from SwaggerPostProcessor.
Definition at line 197 of file asterisk_processor.py.
References asterisk_processor.snakify(), and asterisk_processor.wikify().
def process_parameter | ( | self, | |
parameter, | |||
context | |||
) |
Post process a Parameter object. @param parameter: Parameter object. @param context: Current context in the API.
Reimplemented from SwaggerPostProcessor.
Definition at line 209 of file asterisk_processor.py.
References AsteriskProcessor.convert_mapping, AsteriskProcessor.json_convert_mapping, asterisk_processor.snakify(), AsteriskProcessor.type_mapping, and asterisk_processor.wikify().
def process_property | ( | self, | |
property, | |||
context | |||
) |
Post process a Property object. @param property: Property object. @param context: Current context in the API.
Reimplemented from SwaggerPostProcessor.
Definition at line 243 of file asterisk_processor.py.
References asterisk_processor.wikify().
def process_resource_api | ( | self, | |
resource_api, | |||
context | |||
) |
Post process a ResourceApi object. @param resource_api: ResourceApi object. @param context: Current context in the API.
Reimplemented from SwaggerPostProcessor.
Definition at line 164 of file asterisk_processor.py.
References asterisk_processor.snakify(), and AsteriskProcessor.wiki_prefix.
def process_type | ( | self, | |
swagger_type, | |||
context | |||
) |
Post process a SwaggerType object. @param swagger_type: ResourceListing object. @param context: Current context in the API.
Reimplemented from SwaggerPostProcessor.
Definition at line 251 of file asterisk_processor.py.
References asterisk_processor.snakify(), and asterisk_processor.wikify().
|
static |
Definition at line 144 of file asterisk_processor.py.
Referenced by AsteriskProcessor.process_parameter().
|
static |
Definition at line 153 of file asterisk_processor.py.
Referenced by AsteriskProcessor.process_parameter().
|
static |
Definition at line 133 of file asterisk_processor.py.
Referenced by AsteriskProcessor.process_parameter().
wiki_prefix |
Definition at line 162 of file asterisk_processor.py.
Referenced by AsteriskProcessor.process_resource_api().