You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
952 B
37 lines
952 B
7 months ago
|
{
|
||
|
"info": {
|
||
|
"_postman_id": "",
|
||
|
"name": "${projectName}",
|
||
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
||
|
},
|
||
|
"item": [
|
||
|
<#list controllerNodes as controller>
|
||
|
{
|
||
|
"name": "${controller.description}",
|
||
|
"item": [
|
||
|
<#list controller.requestNodes as reqNode>
|
||
|
{
|
||
|
"name": "${reqNode.description}",
|
||
|
"request": {
|
||
|
"url": {
|
||
|
"raw": "{{domain}}${reqNode.url}",
|
||
|
"query": [
|
||
|
<#if reqNode.paramNodes?size != 0>
|
||
|
<#list reqNode.paramNodes as paramNode>
|
||
|
{
|
||
|
"key": "${paramNode.name}",
|
||
|
"value": "",
|
||
|
"description": "${paramNode.description}"
|
||
|
}<#if paramNode_has_next>,</#if>
|
||
|
</#list>
|
||
|
</#if>
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}<#if reqNode_has_next>,</#if>
|
||
|
</#list>
|
||
|
]
|
||
|
}<#if controller_has_next>,</#if>
|
||
|
</#list>
|
||
|
]
|
||
|
}
|