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

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

There is a newer version: 7.9.0
Show newest version
{
	"info": {
		"name": "{{{appName}}}",
		"description": {
		    "content": "{{{formattedDescription}}}",
		    "type": "text/markdown"
		},
		"version": "{{{appVersion}}}",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
	{{#codegenOperationsByTag}}
	{{#entrySet}}
	        {
	            "name": "{{key}}",
	            "item": [{{#value}}
	                        {{>item}}{{^-last}},{{/-last}}{{/value}}
	                    ]
	        }{{^-last}},{{/-last}}
	{{/entrySet}}
    {{/codegenOperationsByTag}}
	{{#codegenOperationsList}}
        {{>item}}{{^-last}},{{/-last}}
	{{/codegenOperationsList}}
    ],
    {{#authMethods}}{{#-first}}{{#isApiKey}}"auth": {
    		"type": "apikey",
    		"apikey": [
    			{
    				"key": "value",
    				"value": "{{=<% %>=}}{{<%={{ }}=%>{{keyParamName}}{{=<% %>=}}}}<%={{ }}=%>",
    				"type": "string"
    			},
    			{
    				"key": "key",
    				"value": "{{keyParamName}}",
    				"type": "string"
    			}
    		]
    	},{{/isApiKey}}{{#isBasicBasic}}"auth": {
            		"type": "basic",
            		"basic": [
            			{
            				"key": "username",
            				"value": "{{=<% %>=}}{{<%={{ }}=%>USERNAME{{=<% %>=}}}}<%={{ }}=%>",
            				"type": "string"
            			},
            			{
            				"key": "password",
            				"value": "{{=<% %>=}}{{<%={{ }}=%>PASSWORD{{=<% %>=}}}}<%={{ }}=%>",
            				"type": "string"
            			}
            		]
            	},{{/isBasicBasic}}{{/-first}}{{/authMethods}}
	"variable": [{{#servers}}{{#-first}}
		{
			"key": "baseUrl",
			"value": "{{url}}",
			"type": "string"
        }{{/-first}}{{/servers}}{{#authMethods}}{{#isApiKey}},
        {
            "key": "{{keyParamName}}",
            "value": "",
            "type": "string"
        }{{/isApiKey}}{{/authMethods}}{{#apiInfo}}{{#apis}}{{#vendorExtensions}}{{#-first}}{{#variables}}{{#-first}},{{/-first}}
		{
	        {{! use first element in vendorExtensions }}
			"key": "{{name}}",
			"value": "{{defaultValue}}",
			"type": "{{type}}"
		}{{^-last}},{{/-last}}{{/variables}}{{/-first}}{{/vendorExtensions}}{{/apis}}{{/apiInfo}}
	]
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy