All Downloads are FREE. Search and download functionalities are using the official Maven repository.

postman-collection.item.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
{
    "name": "{{{path}}}{{#isDeprecated}} (DEPRECATED){{/isDeprecated}}",
                "description": "{{{notes}}}",
                 "item": [
                        {{#vendorExtensions.postmanRequests}}
                            {
                                "name": "{{{name}}}",
                                "request": {
                                    "method": "{{httpMethod}}",
                                    "header": [
                                    {{#headerParams}}
                                        {
                                            "key": "{{baseName}}",
                                            "value": "{{schema.defaultValue}}",
                                            "description": "{{{description}}}",
                                            "disabled": {{#schema.defaultValue}}false{{/schema.defaultValue}}{{^schema.defaultValue}}true{{/schema.defaultValue}}
                                        }{{^-last}},{{/-last}}
                                    {{/headerParams}}
                                    ],
                                    "body": {
                                        "mode": "raw",
                                        "raw": "{{{body}}}",
                                        "options": {
                                            "raw": {
                                                "language": "json"
                                            }
                                        }
                                    },
                                    "url": {
                                        "raw": "{{=<% %>=}}{{baseUrl}}<%={{ }}=%>{{{path}}}",
                                        "host": [
                                            "{{=<% %>=}}{{baseUrl}}<%={{ }}=%>"
                                        ],
                                        "path": [
                                            {{#vendorExtensions.pathSegments}}
                                            "{{.}}"{{^-last}},{{/-last}}
                                            {{/vendorExtensions.pathSegments}}
                                        ],
                                        "variable": [
                                            {{#pathParams}}
                                            {
                                                "key": "{{paramName}}",
                                                "value": "{{defaultValue}}",
                                                "description": "{{{description}}}"
                                            }{{^-last}},{{/-last}}
                                        {{/pathParams}}
                                        ],
                                        "query": [
                                            {{#queryParams}}
                                            {
                                                "key": "{{paramName}}",
                                                "value": "{{example}}",
                                                "description": "{{{description}}}",
                                                "disabled": {{#required}}false{{/required}}{{^required}}true{{/required}}
                                            }{{^-last}},{{/-last}}
                                            {{/queryParams}}
                                        ]
                                    },
                                    "description": "{{{notes}}}"
                                }
                            }{{^-last}},{{/-last}}
                        {{/vendorExtensions.postmanRequests}}
                            ]
                        }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy