Sha256: 7d81a3beac2d2a471df8a5f6fb932a0aee4621fe1700214709e92c0469e95516

Contents?: true

Size: 541 Bytes

Versions: 26

Compression:

Stored size: 541 Bytes

Contents

ScenariosModelMappings = {
{%- for version, apis in all_apis.items() %}
{%- for _, operations in apis.items() %}
{%- for path, method, operation in operations %}
{%- set operationParams = operation|parameters|list %}
{%- if operationParams|length > 0 %}
    "{{ version }}.{{ operation['operationId'] }}" => {
        {%- for name, parameter in operation|parameters %}
            "{{ name|attribute_name }}" => "{{ get_type_for_parameter(parameter) }}",
        {%- endfor %}
    },
{%- endif %}
{%- endfor %}
{%- endfor %}
{%- endfor %}
}

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
datadog_api_client-2.8.0 .generator/src/generator/templates/scenarios_model_mapping.j2
datadog_api_client-2.7.0 .generator/src/generator/templates/scenarios_model_mapping.j2
datadog_api_client-2.6.0 .generator/src/generator/templates/scenarios_model_mapping.j2
datadog_api_client-2.5.0 .generator/src/generator/templates/scenarios_model_mapping.j2
datadog_api_client-2.4.0 .generator/src/generator/templates/scenarios_model_mapping.j2
datadog_api_client-2.3.0 .generator/src/generator/templates/scenarios_model_mapping.j2