| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
| Data Structures | |
| class | AsteriskProcessor | 
| class | PathSegment | 
| Functions | |
| simple_name (name) | |
| snakify (name) | |
| wikify (str) | |
Implementation of SwaggerPostProcessor which adds fields needed to generate Asterisk RESTful HTTP binding code.
| simple_name | ( | name | ) | 
Removes the {markers} from a path segement.
@param name: Swagger path segement, with {pathVar} markers.
 
Definition at line 34 of file asterisk_processor.py.
Referenced by PathSegment.get_child().
| snakify | ( | name | ) | 
Helper to take a camelCase or dash-seperated name and make it snake_case.
Definition at line 54 of file asterisk_processor.py.
Referenced by AsteriskProcessor.process_model(), AsteriskProcessor.process_operation(), AsteriskProcessor.process_parameter(), AsteriskProcessor.process_resource_api(), and AsteriskProcessor.process_type().
| wikify | ( | str | ) | 
Escapes a string for the wiki. @param str: String to escape
Definition at line 44 of file asterisk_processor.py.
Referenced by AsteriskProcessor.process_api(), AsteriskProcessor.process_model(), AsteriskProcessor.process_operation(), AsteriskProcessor.process_parameter(), AsteriskProcessor.process_property(), and AsteriskProcessor.process_type().