{{! interface_types.mustache : types for }} (****************************************************************** Interface input types: {{META.desc}} - modelData {{META.modelData}} - template {{META.template}} *******************************************************************) {{#interfaces}} {{>name_interface_type.mustache}} == [{{#parameter_definitions}} {{>name_parameter_definition.mustache}}: {{>name_parameter_type.mustache}}{{_comma}}{{/parameter_definitions}}{{! Empty parameter definition (passes swagger schema validation). ouput 'dummy : Nil' }}{{^parameter_definitions.length}}dummy: Nil{{/parameter_definitions.length}} ] \* operation '{{interface_operation}}' --> process '{{>name_process.mustache}}' {{/interfaces}} \* end of Interface input types (****************************************************************** Interface response types: {{META.desc}} - modelData {{META.modelData}} - template {{META.template}} *******************************************************************) {{#interfaces}} {{>name_interface_response_type.mustache}} =={{! When something defined as a response i.e. 'response_definitions.length' exists }}{{#response_definitions.length}}[{{/response_definitions.length}}{{#response_definitions}} {{>name_parameter_definition.mustache}}: {{>name_parameter_type.mustache}}{{_comma}}{{/response_definitions}} {{#response_definitions.length}}]{{/response_definitions.length}}{{! When no response defidined i.e. 'response_definitions.length' exists }}{{^response_definitions.length}}{ Nil }{{/response_definitions.length}}{{! Put a comment in the end }} \* interface '{{interface_name}}' response type {{/interfaces}}