mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-21 14:47:46 -04:00
set sort key on import (#7148)
* set sort key * use a snapshot test * reverse matcher * fix test snapshots * remove old outputs
This commit is contained in:
@@ -78,6 +78,7 @@ export interface ImportRequest<T extends {} = {}> extends Comment {
|
||||
queryString?: QueryString[];
|
||||
url?: string;
|
||||
preRequestScript?: string;
|
||||
metaSortKey?: number;
|
||||
}
|
||||
|
||||
export type Converter<T extends {} = {}> = (
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,43 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "http://localhost:8000/api/v1/send",
|
||||
"name": "http://localhost:8000/api/v1/send",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\"email_id\": \"tem_123\"}"
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "x-custom-header",
|
||||
"value": "foo bar"
|
||||
},
|
||||
{
|
||||
"name": "content-type",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "Cookie",
|
||||
"value": "foo=bar; NID=91=iOf1sU9Ovlns9Dzn2Ipz05syr2K4AlZ4Kgp84eRVLf3_6DgcNrkqpWg4lfUvCB5cNxD26t"
|
||||
},
|
||||
{
|
||||
"name": "another-header",
|
||||
"value": "foo"
|
||||
}
|
||||
],
|
||||
"authentication": {
|
||||
"username": "My User",
|
||||
"password": "My:Secret:Password"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://test.dk",
|
||||
"name": "https://test.dk",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "",
|
||||
"text": "{\"key\":\"TEST\",\"websiteId\":2,\"storeId\":4,\"remove\":true,\"coupon\":{\"code\":\"erwrwer\"}}"
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "https://test.dk"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate, br"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Language",
|
||||
"value": "en-US,en;q=0.9,da-DK;q=0.8,da;q=0.7,mt;q=0.6"
|
||||
},
|
||||
{
|
||||
"name": "Cookie",
|
||||
"value": "CookieTestConsent={stamp:\\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=='%2Cnecessary..."
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "Pragma",
|
||||
"value": "no-cache"
|
||||
}
|
||||
],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest/signup",
|
||||
"name": "https://insomnia.rest/signup",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "multipart/form-data",
|
||||
"params": [
|
||||
{
|
||||
"name": "file",
|
||||
"type": "file",
|
||||
"fileName": "/home/user/file.txt"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"name": "baz",
|
||||
"value": "qux"
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "http://requestb.in/api/v1/bins",
|
||||
"name": "http://requestb.in/api/v1/bins",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"name": "private",
|
||||
"value": "false"
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Cookie",
|
||||
"value": "__cfduid=d9e3031f00abce97dfdf7119a2d4620cc1478677611; _gat=1; session=eyJyZWNlbnQiOlsiMTlwd3g5NzEiLCIxYTNsaHg2MSJdfQ.CxF25Q.WfyUPLe9lQjtibrpD55c2gOD-YA; _ga=GA1.2.525721040.1478677612"
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "http://requestb.in"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Language",
|
||||
"value": "en-US,en;q=0.8"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded; charset=UTF-8"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "*/*"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "http://requestb.in/"
|
||||
},
|
||||
{
|
||||
"name": "X-Requested-With",
|
||||
"value": "XMLHttpRequest"
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
}
|
||||
],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "http://somesite.com/getdata",
|
||||
"name": "http://somesite.com/getdata",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"value": "1234"
|
||||
}
|
||||
],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "https://insomnia.rest",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "X-Something",
|
||||
"value": "foo: bar:baz"
|
||||
}
|
||||
],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "https://insomnia.rest",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
},
|
||||
{
|
||||
"name": "baz",
|
||||
"value": "qux"
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}
|
||||
],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest/1/2/3",
|
||||
"name": "https://insomnia.rest/1/2/3",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest/foo/bar",
|
||||
"name": "https://insomnia.rest/foo/bar",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_3__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "https://insomnia.rest",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Cookie",
|
||||
"value": "foo=bar"
|
||||
}
|
||||
],
|
||||
"authentication": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_4__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "https://insomnia.rest",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "",
|
||||
"name": "cURL Import 1",
|
||||
"method": "POST",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "http://192.168.1.1:9200/executions/_search",
|
||||
"name": "http://192.168.1.1:9200/executions/_search",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "",
|
||||
"text": "{\"query\":{\"match_all\":{}}}"
|
||||
},
|
||||
"parameters": [{ "name": "pretty", "disabled": false, "value": "" }],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://www.google.com",
|
||||
"name": "https://www.google.com",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {
|
||||
"mimeType": "",
|
||||
"text": "id=1234"
|
||||
},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "https://insomnia.rest",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest/foo/bar",
|
||||
"name": "https://insomnia.rest/foo/bar",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "https://insomnia.rest",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
},
|
||||
{
|
||||
"name": "baz",
|
||||
"value": "qux"
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}
|
||||
],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "",
|
||||
"name": "HAR Import 1",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "",
|
||||
"text": ""
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest/foo/bar",
|
||||
"name": "https://insomnia.rest/foo/bar",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "",
|
||||
"text": "hello world!"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Host",
|
||||
"value": "insomnia.rest"
|
||||
},
|
||||
{
|
||||
"name": "cookie",
|
||||
"value": "foo=bar; __cfduid=df7b43586f071c4aaa79dc8a9de0845771478571055; _ga=GA1.2.697086801.1478571058"
|
||||
}
|
||||
],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest/foo/bar",
|
||||
"name": "https://insomnia.rest/foo/bar",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"name": "file",
|
||||
"fileName": "/home/user/test.txt"
|
||||
},
|
||||
{
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest/foo/bar",
|
||||
"name": "My Request",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": []
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "https://insomnia.rest/foo/bar",
|
||||
"name": "https://insomnia.rest/foo/bar",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Host",
|
||||
"value": "insomnia.rest"
|
||||
},
|
||||
{
|
||||
"name": "Cookie",
|
||||
"value": "__cfduid=df7b43586f071c4aaa79dc8a9de0845771478571055; _ga=GA1.2.697086801.1478571058"
|
||||
}
|
||||
],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Test Folder",
|
||||
"environment": {
|
||||
"base_url": "https://insomnia.rest/api/v1",
|
||||
"api_key": "live_123"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"url": "{{ base_url }}/users",
|
||||
"name": "Test Request",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\"foo\": \"bar\"}"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "testing",
|
||||
"value": "hi 123"
|
||||
},
|
||||
{
|
||||
"name": "testing 2",
|
||||
"value": "hi 456"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-TYPE",
|
||||
"value": "application/json; charset=utf-8"
|
||||
}
|
||||
],
|
||||
"authentication": {
|
||||
"username": "{{ api_key }}",
|
||||
"password": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,89 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Imported Folder 1",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"url": "",
|
||||
"name": "Imported HAR 1",
|
||||
"method": "GET",
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
},
|
||||
{
|
||||
"name": "baz",
|
||||
"value": "qux"
|
||||
},
|
||||
{
|
||||
"name": "msg",
|
||||
"value": "Hello World!"
|
||||
},
|
||||
{
|
||||
"name": "flag",
|
||||
"value": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}
|
||||
],
|
||||
"authentication": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"url": "",
|
||||
"name": "Imported HAR 2",
|
||||
"method": "GET",
|
||||
"body": {
|
||||
"mimeType": "multipart/form-encoded",
|
||||
"params": [
|
||||
{
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
},
|
||||
{
|
||||
"name": "baz",
|
||||
"value": "qux"
|
||||
},
|
||||
{
|
||||
"name": "msg",
|
||||
"value": "Hello World!"
|
||||
},
|
||||
{
|
||||
"name": "flag",
|
||||
"value": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "content-type",
|
||||
"value": "multipart/form-encoded"
|
||||
}
|
||||
],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Imported Folder 1",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"url": "",
|
||||
"name": "Imported HAR 1",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Test Folder",
|
||||
"environment": {
|
||||
"base_url": "https://insomnia.rest/api/v1",
|
||||
"api_key": "live_123"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"url": "{{ base_url }}/users",
|
||||
"name": "Test Request",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\"foo\": \"bar\"}"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "testing",
|
||||
"value": "hi 123"
|
||||
},
|
||||
{
|
||||
"name": "testing 2",
|
||||
"value": "hi 456"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json; charset=utf-8"
|
||||
}
|
||||
],
|
||||
"authentication": {
|
||||
"username": "{{ api_key }}",
|
||||
"password": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"url": "{{ base_url }}/users",
|
||||
"name": "Test Request",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "",
|
||||
"text": "Hello World!"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "testing",
|
||||
"value": "hi 123"
|
||||
},
|
||||
{
|
||||
"name": "testing 2",
|
||||
"value": "hi 456"
|
||||
}
|
||||
],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"username": "{{ api_key }}",
|
||||
"password": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "wrk_123abc",
|
||||
"parentId": null,
|
||||
"modified": 1477939910686,
|
||||
"created": 1474340560460,
|
||||
"name": "Insomnia",
|
||||
"description": "",
|
||||
"certificates": [],
|
||||
"_type": "workspace"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "wrk_123abc-v4",
|
||||
"parentId": null,
|
||||
"modified": 1477939910686,
|
||||
"created": 1474340560460,
|
||||
"name": "Insomnia",
|
||||
"description": "",
|
||||
"certificates": [],
|
||||
"_type": "workspace"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,392 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-08-15T19:31:41.712Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.",
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__33ebaa67",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"apiKey": "apiKey",
|
||||
"base_path": "/v2",
|
||||
"host": "petstore.swagger.io",
|
||||
"oauth2ClientId": "clientId",
|
||||
"oauth2RedirectUrl": "http://localhost/",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "OpenAPI env petstore.swagger.io",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__23acbe44",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "Add a new pet to the store",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__74a7a059",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}],
|
||||
"method": "PUT",
|
||||
"name": "Update an existing pet",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__80ab0d08",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by status",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "status",
|
||||
"value": "available"
|
||||
}
|
||||
],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/findByStatus"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__42a17980",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by tags",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "tags",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/findByTags"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__3d1a51d3",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"addTo": "header",
|
||||
"key": "api_key",
|
||||
"type": "apikey",
|
||||
"value": "{{ _.apiKey }}"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Find pet by ID",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__a4608701",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "Updates a pet in the store with form data",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e804bd05",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "api_key",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"method": "DELETE",
|
||||
"name": "Deletes a pet",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__8081fb6f",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "multipart/form-data"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "multipart/form-data"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "uploads an image",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}/uploadImage"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__443ac9e7",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"addTo": "header",
|
||||
"key": "api_key",
|
||||
"type": "apikey",
|
||||
"value": "{{ _.apiKey }}"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Returns pet inventories by status",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/store/inventory"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e24a4f9e",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Place an order for a pet",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/store/order"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__f021bcd3",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Find purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__15e47538",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__fe3d55d0",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Create user",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__4cb83333",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/createWithArray"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e94a615f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/createWithList"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__00ac9da2",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs user into the system",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "username",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "password",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/login"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__740025cb",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs out current logged in user session",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/logout"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__74f1d1d1",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Get user by user name",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__6d74493f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "PUT",
|
||||
"name": "Updated user",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__38e8e88f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete user",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,416 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-08-15T19:31:41.767Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.",
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__33ebaa67",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"apiKey": "apiKey",
|
||||
"base_path": "/v2",
|
||||
"host": "petstore.swagger.io",
|
||||
"oauth2ClientId": "clientId",
|
||||
"oauth2RedirectUrl": "http://localhost/",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "OpenAPI env petstore.swagger.io",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__1b034c38",
|
||||
"_type": "request_group",
|
||||
"description": "Everything about your Pets",
|
||||
"environment": {},
|
||||
"name": "pet",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__3a21295d",
|
||||
"_type": "request_group",
|
||||
"description": "Access to Petstore orders",
|
||||
"environment": {},
|
||||
"name": "store",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__12dea96f",
|
||||
"_type": "request_group",
|
||||
"description": "Operations about user",
|
||||
"environment": {},
|
||||
"name": "user",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__23acbe44",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "Add a new pet to the store",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__74a7a059",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}],
|
||||
"method": "PUT",
|
||||
"name": "Update an existing pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__80ab0d08",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by status",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "status",
|
||||
"value": "available"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/findByStatus"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__42a17980",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by tags",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "tags",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/findByTags"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__3d1a51d3",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"addTo": "header",
|
||||
"key": "api_key",
|
||||
"type": "apikey",
|
||||
"value": "{{ _.apiKey }}"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Find pet by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__a4608701",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "Updates a pet in the store with form data",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e804bd05",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "api_key",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"method": "DELETE",
|
||||
"name": "Deletes a pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__8081fb6f",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "multipart/form-data"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "multipart/form-data"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "uploads an image",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}/uploadImage"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__443ac9e7",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"addTo": "header",
|
||||
"key": "api_key",
|
||||
"type": "apikey",
|
||||
"value": "{{ _.apiKey }}"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Returns pet inventories by status",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/inventory"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e24a4f9e",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Place an order for a pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__f021bcd3",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Find purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__15e47538",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__fe3d55d0",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Create user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__4cb83333",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/createWithArray"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e94a615f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/createWithList"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__00ac9da2",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs user into the system",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "username",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "password",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/login"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__740025cb",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs out current logged in user session",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/logout"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__74f1d1d1",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Get user by user name",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__6d74493f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "PUT",
|
||||
"name": "Updated user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__38e8e88f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,286 +0,0 @@
|
||||
{
|
||||
"__export_date": "2020-05-13T23:55:24.712Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "",
|
||||
"name": "Endpoint Security 1.2",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__64c0ce7d",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"anotherCookieName": "anotherCookieName",
|
||||
"anotherKey": "anotherKey",
|
||||
"base_path": "/v1",
|
||||
"bearerToken": "bearerToken",
|
||||
"cookieName": "cookieName",
|
||||
"host": "api.server.test",
|
||||
"httpPassword": "password",
|
||||
"httpUsername": "username",
|
||||
"oauth2ClientId": "clientId",
|
||||
"oauth2ClientSecret": "clientSecret",
|
||||
"oauth2RedirectUrl": "http://localhost/",
|
||||
"oauth2Username": "username",
|
||||
"oauth2Password": "password",
|
||||
"key": "key",
|
||||
"scheme": "https",
|
||||
"xApiKey": "xApiKey",
|
||||
"xAppVersion": "xAppVersion"
|
||||
},
|
||||
"name": "OpenAPI env api.server.test",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__05bfadcb",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/none",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/none"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__4112dc81",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"password": "{{ _.httpPassword }}",
|
||||
"type": "basic",
|
||||
"username": "{{ _.httpUsername }}"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/none/basic",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/none/basic"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__4a563129",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"password": "{{ _.httpPassword }}",
|
||||
"type": "basic",
|
||||
"username": "{{ _.httpUsername }}"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/basic",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/basic"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__6ecf1fc2",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"prefix": "",
|
||||
"token": "{{ _.bearerToken }}",
|
||||
"type": "bearer"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/bearer",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/bearer"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__48bba8a5",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "x-api_key",
|
||||
"value": "{{ _.xApiKey }}"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "x-app-version",
|
||||
"value": "{{ _.xAppVersion }}"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"name": "/key/header",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/key/header"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__2ea006cf",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Cookie",
|
||||
"value": "CookieName={{ _.cookieName }}; AnotherCookieName={{ _.anotherCookieName }}"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"name": "/key/cookie",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/key/cookie"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__0a8d5285",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/key/query",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "key",
|
||||
"value": "{{ _.key }}"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "another_key",
|
||||
"value": "{{ _.anotherKey }}"
|
||||
}
|
||||
],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/key/query"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__028b5fb7",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"clientSecret": "{{ _.oauth2ClientSecret }}",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"accessTokenUrl": "https://api.server.test/v1/token",
|
||||
"authorizationUrl": "https://api.server.test/v1/auth",
|
||||
"grantType": "authorization_code",
|
||||
"scope": "read:something write:something",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/oauth2/authorization-code",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/oauth2/authorization-code"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e5d224de",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"authorizationUrl": "https://api.server.test/v1/auth",
|
||||
"grantType": "implicit",
|
||||
"scope": "read:something write:something",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/oauth2/implicit",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/oauth2/implicit"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__ef33c6a4",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"clientSecret": "{{ _.oauth2ClientSecret }}",
|
||||
"accessTokenUrl": "https://api.server.test/v1/token",
|
||||
"grantType": "client_credentials",
|
||||
"scope": "read:something write:something",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/oauth2/client-credentials",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/oauth2/client-credentials"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__06ba5946",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"clientSecret": "{{ _.oauth2ClientSecret }}",
|
||||
"username": "{{ _.oauth2Username }}",
|
||||
"password": "{{ _.oauth2Password }}",
|
||||
"accessTokenUrl": "https://api.server.test/v1/token",
|
||||
"grantType": "password",
|
||||
"scope": "read:something write:something",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/oauth2/password",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/oauth2/password"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e285189c",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"password": "{{ _.httpPassword }}",
|
||||
"type": "basic",
|
||||
"username": "{{ _.httpUsername }}"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "x-api_key",
|
||||
"value": "{{ _.xApiKey }}"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Cookie",
|
||||
"value": "CookieName={{ _.cookieName }}"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"name": "/all",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "key",
|
||||
"value": "{{ _.key }}"
|
||||
}
|
||||
],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/all"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
{
|
||||
"__export_date": "2020-05-11T00:51:52.464Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "This API is for administrating files and file storages.",
|
||||
"name": "File and Storage API 0.1.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__b0168b4d",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "/filemanagement",
|
||||
"host": "localhost:8080",
|
||||
"scheme": "https"
|
||||
},
|
||||
"name": "OpenAPI env localhost:8080",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__a6294159",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/files",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/files"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
{
|
||||
"__export_date": "2020-03-24T06:16:20.516Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "",
|
||||
"name": "Simple API overview 2.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__9c17e047",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "",
|
||||
"host": "example.com",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "OpenAPI env example.com",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__316fc296",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "List API versions",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__4dd01204",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Show API version details",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/v2"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2020-02-19T03:46:03.524Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_type": "workspace",
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"parentId": null,
|
||||
"name": "Global Security 1.2",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Base environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"_type": "environment",
|
||||
"_id": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__",
|
||||
"name": "OpenAPI env api.server.test",
|
||||
"data": {
|
||||
"scheme": "https",
|
||||
"apiKeyHere": "apiKeyHere",
|
||||
"cookieName": "cookieName",
|
||||
"base_path": "/v1",
|
||||
"host": "api.server.test",
|
||||
"httpUsername": "username",
|
||||
"httpPassword": "password",
|
||||
"bearerToken": "bearerToken",
|
||||
"xApiKey": "xApiKey"
|
||||
},
|
||||
"_type": "environment",
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__64c0ce7d"
|
||||
},
|
||||
{
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "/global",
|
||||
"url": "{{ _.base_url }}/global",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "x-api_key",
|
||||
"disabled": false,
|
||||
"value": "{{ _.xApiKey }}"
|
||||
}
|
||||
],
|
||||
"authentication": {
|
||||
"type": "basic",
|
||||
"username": "{{ _.httpUsername }}",
|
||||
"password": "{{ _.httpPassword }}"
|
||||
},
|
||||
"_type": "request",
|
||||
"_id": "req___WORKSPACE_ID__21946b60"
|
||||
},
|
||||
{
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "/override",
|
||||
"url": "{{ _.base_url }}/override",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"addTo": "query",
|
||||
"key": "apiKeyHere",
|
||||
"type": "apikey",
|
||||
"value": "{{ _.apiKeyHere }}"
|
||||
},
|
||||
"_type": "request",
|
||||
"_id": "req___WORKSPACE_ID__b410454b"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,108 +0,0 @@
|
||||
{
|
||||
"__export_date": "2022-08-05T10:38:46.184Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "This is a sample server Petstore server.",
|
||||
"name": "Swagger Petstore 1.0.2",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__3d8ac28f",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "/v2",
|
||||
"host": "petstore.swagger.io",
|
||||
"scheme": "https",
|
||||
"xApiKey": "xApiKey",
|
||||
"xAppId": "xAppId",
|
||||
"xAppSecret": "xAppSecret"
|
||||
},
|
||||
"name": "OpenAPI env petstore.swagger.io",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__1b034c38",
|
||||
"_type": "request_group",
|
||||
"description": "Everything about your Pets",
|
||||
"environment": {},
|
||||
"name": "pet",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__23acbe44",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "X-API-KEY",
|
||||
"value": "{{ _.xApiKey }}"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "X-APP-ID",
|
||||
"value": "{{ _.xAppId }}"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "X-APP-SECRET",
|
||||
"value": "{{ _.xAppSecret }}"
|
||||
}
|
||||
],
|
||||
"method": "POST",
|
||||
"name": "Add a new pet to the store",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__80ab0d08",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "X-API-KEY",
|
||||
"value": "{{ _.xApiKey }}"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "X-APP-ID",
|
||||
"value": "{{ _.xAppId }}"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "X-APP-SECRET",
|
||||
"value": "{{ _.xAppSecret }}"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by status",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "status",
|
||||
"value": "available"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/findByStatus"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,101 +0,0 @@
|
||||
{
|
||||
"__export_date": "2020-05-13T23:55:24.712Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "",
|
||||
"name": "Endpoint Security 1.2",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__64c0ce7d",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "/v1",
|
||||
"host": "api.server.test",
|
||||
"oauth2ClientId": "clientId",
|
||||
"oauth2ClientSecret": "clientSecret",
|
||||
"oauth2RedirectUrl": "http://localhost/",
|
||||
"scheme": "https"
|
||||
},
|
||||
"name": "OpenAPI env api.server.test",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__028b5fb7",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"clientSecret": "{{ _.oauth2ClientSecret }}",
|
||||
"accessTokenUrl": "https://api.server.test/v1/token",
|
||||
"authorizationUrl": "https://api.server.test/v1/auth",
|
||||
"grantType": "authorization_code",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/oauth2/authorization-code",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/oauth2/authorization-code"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__cbd0a0fa",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"clientSecret": "{{ _.oauth2ClientSecret }}",
|
||||
"accessTokenUrl": "https://api.server.test/v1/token",
|
||||
"authorizationUrl": "https://api.server.test/v1/auth",
|
||||
"grantType": "authorization_code",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "read:something",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/oauth2/authorization-code-read",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/oauth2/authorization-code-read"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__d7972b84",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"clientSecret": "{{ _.oauth2ClientSecret }}",
|
||||
"accessTokenUrl": "https://api.server.test/v1/token",
|
||||
"authorizationUrl": "https://api.server.test/v1/auth",
|
||||
"grantType": "authorization_code",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "read:something write:something",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/oauth2/authorization-code-read-write",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/oauth2/authorization-code-read-write"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
{
|
||||
"__export_date": "2020-04-27T06:07:10.686Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "Description",
|
||||
"name": "API 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__64b4aec9",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "",
|
||||
"host": "api.insomnia.rest",
|
||||
"scheme": "https"
|
||||
},
|
||||
"name": "OpenAPI env api.insomnia.rest",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__2cade550",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "/path",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/path"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,406 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-08-15T19:32:12.775Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.",
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__c88af77d",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"apiKey": "apiKey",
|
||||
"base_path": "/v2",
|
||||
"host": "petstore.swagger.io",
|
||||
"oauth2ClientId": "clientId",
|
||||
"oauth2RedirectUrl": "http://localhost/",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "OpenAPI env petstore.swagger.io",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__33d9f12e",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"apiKey": "apiKey",
|
||||
"base_path": "/v2",
|
||||
"host": "petstore-preprod.swagger.io",
|
||||
"oauth2ClientId": "clientId",
|
||||
"oauth2RedirectUrl": "http://localhost/",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "OpenAPI env petstore-preprod.swagger.io",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__23acbe44",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "Add a new pet to the store",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__74a7a059",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}],
|
||||
"method": "PUT",
|
||||
"name": "Update an existing pet",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__80ab0d08",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by status",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "status",
|
||||
"value": "available"
|
||||
}
|
||||
],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/findByStatus"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__42a17980",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by tags",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "tags",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/findByTags"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__3d1a51d3",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"addTo": "header",
|
||||
"key": "api_key",
|
||||
"type": "apikey",
|
||||
"value": "{{ _.apiKey }}"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Find pet by ID",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__a4608701",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "Updates a pet in the store with form data",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e804bd05",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "api_key",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"method": "DELETE",
|
||||
"name": "Deletes a pet",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__8081fb6f",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "multipart/form-data"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "multipart/form-data"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "uploads an image",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}/uploadImage"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__443ac9e7",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"addTo": "header",
|
||||
"key": "api_key",
|
||||
"type": "apikey",
|
||||
"value": "{{ _.apiKey }}"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Returns pet inventories by status",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/store/inventory"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e24a4f9e",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Place an order for a pet",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/store/order"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__f021bcd3",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Find purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__15e47538",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__fe3d55d0",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Create user",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__4cb83333",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/createWithArray"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e94a615f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/createWithList"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__00ac9da2",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs user into the system",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "username",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "password",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/login"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__740025cb",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs out current logged in user session",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/logout"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__74f1d1d1",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Get user by user name",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__6d74493f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "PUT",
|
||||
"name": "Updated user",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__38e8e88f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete user",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,84 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-08-15T19:32:12.806Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "",
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__5be46d1c",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "/v1",
|
||||
"host": "petstore.swagger.io",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "OpenAPI env petstore.swagger.io",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__26e3ae98",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "List all pets",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "limit",
|
||||
"value": "0"
|
||||
}
|
||||
],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pets"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__09e1157b",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"name\": \"string\",\n \"tag\": \"string\"\n}"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "Create a pet",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pets"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__3b13e39c",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Info for a specific pet",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pets/{{ _.petId }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,416 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-08-15T19:32:12.839Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.",
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__33ebaa67",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"apiKey": "apiKey",
|
||||
"base_path": "/v2",
|
||||
"host": "petstore.swagger.io",
|
||||
"oauth2ClientId": "clientId",
|
||||
"oauth2RedirectUrl": "http://localhost/",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "OpenAPI env petstore.swagger.io",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__1b034c38",
|
||||
"_type": "request_group",
|
||||
"description": "Everything about your Pets",
|
||||
"environment": {},
|
||||
"name": "pet",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__3a21295d",
|
||||
"_type": "request_group",
|
||||
"description": "Access to Petstore orders",
|
||||
"environment": {},
|
||||
"name": "store",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__12dea96f",
|
||||
"_type": "request_group",
|
||||
"description": "Operations about user",
|
||||
"environment": {},
|
||||
"name": "user",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__23acbe44",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "Add a new pet to the store",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__74a7a059",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}],
|
||||
"method": "PUT",
|
||||
"name": "Update an existing pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__80ab0d08",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by status",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "status",
|
||||
"value": "available"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/findByStatus"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__42a17980",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by tags",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "tags",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/findByTags"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__3d1a51d3",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"addTo": "header",
|
||||
"key": "api_key",
|
||||
"type": "apikey",
|
||||
"value": "{{ _.apiKey }}"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Find pet by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__a4608701",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "Updates a pet in the store with form data",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e804bd05",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "api_key",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"method": "DELETE",
|
||||
"name": "Deletes a pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__8081fb6f",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.oauth2ClientId }}",
|
||||
"grantType": "implicit",
|
||||
"redirectUrl": "{{ _.oauth2RedirectUrl }}",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "multipart/form-data"
|
||||
},
|
||||
"headers": [{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "multipart/form-data"
|
||||
}],
|
||||
"method": "POST",
|
||||
"name": "uploads an image",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}/uploadImage"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__443ac9e7",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"addTo": "header",
|
||||
"key": "api_key",
|
||||
"type": "apikey",
|
||||
"value": "{{ _.apiKey }}"
|
||||
},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Returns pet inventories by status",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/inventory"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e24a4f9e",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Place an order for a pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__f021bcd3",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Find purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__15e47538",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__fe3d55d0",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Create user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__4cb83333",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/createWithArray"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__e94a615f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/createWithList"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__00ac9da2",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs user into the system",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "username",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "password",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/login"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__740025cb",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs out current logged in user session",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/logout"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__74f1d1d1",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Get user by user name",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__6d74493f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "PUT",
|
||||
"name": "Updated user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__38e8e88f",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-08-15T19:45:14.616Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "",
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__5be46d1c",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "/v1",
|
||||
"host": "petstore.swagger.io",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "OpenAPI env petstore.swagger.io",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__2aab4183",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "List all pets",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "limit",
|
||||
"value": "0"
|
||||
}
|
||||
],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pets"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__09e1157b",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Create a pet",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pets"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__3b13e39c",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Info for a specific pet",
|
||||
"parameters": [],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pets/{{ _.petId }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,103 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-08-15T19:50:19.680Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "",
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub__5be46d1c",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "/v1",
|
||||
"host": "petstore.swagger.io",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "OpenAPI env petstore.swagger.io",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__a8acce24",
|
||||
"_type": "request_group",
|
||||
"description": "Everything about your Pets",
|
||||
"environment": {},
|
||||
"name": "pets",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__26e3ae98",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "List all pets",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "limit",
|
||||
"value": "0"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__a8acce24",
|
||||
"url": "{{ _.base_url }}/pets"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__26e3ae981",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "List all pets",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "limit",
|
||||
"value": "0"
|
||||
}
|
||||
],
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"url": "{{ _.base_url }}/pets"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__09e1157b",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Create a pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__a8acce24",
|
||||
"url": "{{ _.base_url }}/pets"
|
||||
},
|
||||
{
|
||||
"_id": "req___WORKSPACE_ID__3b13e39c",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Info for a specific pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__a8acce24",
|
||||
"url": "{{ _.base_url }}/pets/{{ _.petId }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"__export_date": "2016-12-01T03:24:37.929Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__ENV_1__",
|
||||
"_type": "environment",
|
||||
"name": "Production Env",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__",
|
||||
"data": {
|
||||
"foo": "production"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"__export_date": "2016-12-01T03:24:37.929Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__ENV_1__",
|
||||
"_type": "environment",
|
||||
"name": "Postman Environment",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__",
|
||||
"data": {
|
||||
"foo": "production"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2022-11-09T17:15:02.632Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "New Collection",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "mockbin.org/request/any",
|
||||
"name": "New Request",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"type": "apikey",
|
||||
"key": "test",
|
||||
"value": "test",
|
||||
"addTo": "header",
|
||||
"disabled": false
|
||||
},
|
||||
"_type": "request"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2022-11-09T17:15:02.632Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "New Collection",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "mockbin.org/request/any",
|
||||
"name": "New Request",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"type": "apikey",
|
||||
"key": "test",
|
||||
"value": "test",
|
||||
"addTo": "header",
|
||||
"disabled": false
|
||||
},
|
||||
"_type": "request"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2022-11-09T17:15:02.632Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "New Collection",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "mockbin.org/request/any",
|
||||
"name": "New Request",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"type": "apikey",
|
||||
"key": "test",
|
||||
"value": "test",
|
||||
"addTo": "queryParams",
|
||||
"disabled": false
|
||||
},
|
||||
"_type": "request"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-10-27T19:15:26.661Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "AWS Signature Test",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "AWS Signature",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"accessKeyId": "aws-access-key",
|
||||
"disabled": false,
|
||||
"region": "aws-region",
|
||||
"secretAccessKey": "aws-secret-key",
|
||||
"service": "aws-service-name",
|
||||
"sessionToken": "aws-session-token",
|
||||
"type": "iam"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-10-27T19:15:26.661Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "AWS Signature Test",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "AWS Signature",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"accessKeyId": "aws-access-key",
|
||||
"disabled": false,
|
||||
"region": "aws-region",
|
||||
"secretAccessKey": "aws-secret-key",
|
||||
"service": "aws-service-name",
|
||||
"sessionToken": "aws-session-token",
|
||||
"type": "iam"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-10-27T19:15:26.661Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Basic Auth Test",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Basic Auth",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"password": "basic-password",
|
||||
"type": "basic",
|
||||
"username": "basic-username"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-10-27T19:15:26.661Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Basic Auth Test",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Basic Auth",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"password": "basic-password",
|
||||
"type": "basic",
|
||||
"username": "basic-username"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-10-27T19:15:26.661Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Bearer Token Test",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Bearer Token",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"prefix": "",
|
||||
"token": "bearer-token-value",
|
||||
"type": "bearer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-10-27T19:15:26.661Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Bearer Token Test",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Bearer Token",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"prefix": "",
|
||||
"token": "bearer-token-value",
|
||||
"type": "bearer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Complex URL Test Collection",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Test Request",
|
||||
"description": "",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "foo",
|
||||
"value": "bar",
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Complex URL Test Collection",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Test Request",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "foo",
|
||||
"value": "bar",
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,149 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Complex Test Collection",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__GRP_2__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__GRP_1__",
|
||||
"name": "First Folder",
|
||||
"description": "The first folder",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/api/users",
|
||||
"name": "{{base_url}}/api/users",
|
||||
"description": "First Request",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "multipart/form-data",
|
||||
"params": [
|
||||
{
|
||||
"disabled": false,
|
||||
"type": "file",
|
||||
"name": "file",
|
||||
"fileName": "/home/user/test.txt"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"type": "text",
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"password": "password",
|
||||
"type": "basic",
|
||||
"username": "username"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/api/users",
|
||||
"name": "Urlencoded Form Test",
|
||||
"description": "First Request",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"password": "password",
|
||||
"type": "basic",
|
||||
"username": "username"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_3__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/api/users",
|
||||
"name": "Test Request Raw Body",
|
||||
"description": "Request with raw body",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "",
|
||||
"text": "hello world!"
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_4__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/api/users",
|
||||
"name": "Test Request Empty Raw Body",
|
||||
"description": "Request with empty raw body",
|
||||
"method": "POST",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_5__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/api/users",
|
||||
"name": "Test Request Unknown Body",
|
||||
"description": "Request with unknown body",
|
||||
"method": "POST",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_6__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/graphql/",
|
||||
"name": "Test Request GraphQL Body",
|
||||
"description": "Request with graphql body",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/graphql",
|
||||
"text": "{\"query\":\"mutation loginUser($username: String!, $password: String!) {\\n login(username: $username, password: $password) {\\n token\\n status {\\n success\\n }\\n }\\n}\\n\",\"variables\":\"{\\n \\\"password\\\": \\\"{{password}}\\\",\\n \\\"username\\\": \\\"{{username}}\\\"\\n}\"}"
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,213 +0,0 @@
|
||||
{
|
||||
"__export_date": "2022-04-26T16:04:02.753Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "Timing API",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "__GRP_2__",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "Projects",
|
||||
"parentId": "__GRP_1__"
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"prefix": "",
|
||||
"token": "{{token}}",
|
||||
"type": "bearer"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "[]"
|
||||
},
|
||||
"description": "<br>See [Display the specified project.](#display-the-specified-project) for the returned attributes.",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"name": "Return the complete project hierarchy.",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "team_id",
|
||||
"value": "",
|
||||
"disabled": true
|
||||
}
|
||||
],
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"url": ""
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"accessKeyId": "<accessKeyId>",
|
||||
"disabled": false,
|
||||
"region": "<region>",
|
||||
"secretAccessKey": "",
|
||||
"service": "<service>",
|
||||
"type": "iam"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "[]"
|
||||
},
|
||||
"description": "<br>See [Display the specified project.](#display-the-specified-project) for the returned attributes.",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"name": "Return a list containing all projects.",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "title",
|
||||
"value": "root",
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"name": "hide_archived",
|
||||
"value": "true",
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"name": "team_id",
|
||||
"value": "",
|
||||
"disabled": true
|
||||
}
|
||||
],
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"url": ""
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_3__",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"password": "abc123",
|
||||
"type": "basic",
|
||||
"username": "john@example.com"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"title\": \"Acme Inc.\",\n \"parent\": \"\\/projects\\/1\",\n \"color\": \"#FF0000\",\n \"productivity_score\": 1,\n \"is_archived\": false\n}"
|
||||
},
|
||||
"description": "<br>See [Display the specified project.](#display-the-specified-project) for the returned attributes.",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "POST",
|
||||
"name": "Create a new project.",
|
||||
"parameters": [],
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"url": ""
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_4__",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"password": "",
|
||||
"type": "digest",
|
||||
"username": "Username"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "[]"
|
||||
},
|
||||
"description": "<br>The following attributes will be returned:\n\n - `self`: A reference to the entity itself, relative to the API root.\n - `title`: The project's title.\n - `title_chain`: An array containing the title of the project and all its ancestors. Example: `[\"Parent\", \"Child\"]`\n - `color`: The project's color, in hexadecimal format (`#RRGGBB`). Example: `#FF0000`\n - `productivity_score`: The project's productivity rating, between -1 (very unproductive) and 1 (very productive). Example: `1`\n - `is_archived`: Whether the project has been archived. Defaults to false. Example: `false`\n - `parent`: A reference to the enclosing project.\n - `children`: The project's children.\n\n<aside class=\"notice\">\nChild projects are provided as references; i.e. they only contain the <code>self</code> attribute.\n</aside>",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"name": "Display the specified project.",
|
||||
"parameters": [],
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"url": ""
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_5__",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"callback": "Callback%20URL",
|
||||
"consumerKey": "Consumer%20Key",
|
||||
"consumerSecret": "",
|
||||
"disabled": false,
|
||||
"nonce": "Nonce",
|
||||
"privateKey": "",
|
||||
"realm": "Realm",
|
||||
"signatureMethod": "HMAC-SHA1",
|
||||
"timestamp": "Timestamp",
|
||||
"tokenKey": "Access%20Token",
|
||||
"tokenSecret": "",
|
||||
"type": "oauth1",
|
||||
"verifier": "Verifier",
|
||||
"version": "Version"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"title\": \"Acme Inc.\",\n \"color\": \"#FF0000\",\n \"productivity_score\": 1,\n \"is_archived\": false\n}"
|
||||
},
|
||||
"description": "<br>See [Display the specified project.](#display-the-specified-project) for the returned attributes.\n\n<aside class=\"notice\">\nOmitted fields will not be updated, even when using the `PUT` method.\n</aside>\n\n<aside class=\"notice\">\nChanging a project's parent or children is currently not possible.\n</aside>",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "PUT",
|
||||
"name": "Update the specified project.",
|
||||
"parameters": [],
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"url": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,155 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Complex Test Collection",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__GRP_2__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__GRP_1__",
|
||||
"name": "First Folder",
|
||||
"description": "The first folder",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/api/users",
|
||||
"name": "{{base_url}}/api/users",
|
||||
"description": "First Request",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "multipart/form-data",
|
||||
"params": [
|
||||
{
|
||||
"disabled": false,
|
||||
"type": "file",
|
||||
"name": "file",
|
||||
"fileName": "/home/user/test.txt"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"type": "text",
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
},
|
||||
{
|
||||
"disabled": true,
|
||||
"type": "text",
|
||||
"name": "baz",
|
||||
"value": "disabled"
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"password": "password",
|
||||
"type": "basic",
|
||||
"username": "username"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/api/users",
|
||||
"name": "Urlencoded Form Test",
|
||||
"description": "First Request",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "foo",
|
||||
"value": "bar"
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"password": "password",
|
||||
"type": "basic",
|
||||
"username": "username"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_3__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/api/users",
|
||||
"name": "Test Request",
|
||||
"description": "Request with raw body",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "",
|
||||
"text": "hello world!"
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_4__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/api/users",
|
||||
"name": "Test Request Unknown Body",
|
||||
"description": "Request with unknown body",
|
||||
"method": "POST",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_5__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/api/users",
|
||||
"name": "Test Request Empty Body",
|
||||
"description": "Request with empty raw body",
|
||||
"method": "POST",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_6__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "{{base_url}}/graphql/",
|
||||
"name": "Test Request GraphQL Body",
|
||||
"description": "Request with graphql body",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/graphql",
|
||||
"text": "{\"query\":\"mutation loginUser($username: String!, $password: String!) {\\n login(username: $username, password: $password) {\\n token\\n status {\\n success\\n }\\n }\\n}\\n\",\"variables\":\"{\\n \\\"password\\\": \\\"{{password}}\\\",\\n \\\"username\\\": \\\"{{username}}\\\"\\n}\"}"
|
||||
},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-10-27T19:15:26.661Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Digest Authentication Test",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://jigsaw.w3.org/HTTP/Digest/",
|
||||
"name": "Digest Auth",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"password": "guest",
|
||||
"type": "digest",
|
||||
"username": "guest"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-10-27T19:15:26.661Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Digest Authentication Test",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://jigsaw.w3.org/HTTP/Digest/",
|
||||
"name": "Digest Auth",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": false,
|
||||
"password": "guest",
|
||||
"type": "digest",
|
||||
"username": "guest"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Minimal Test Collection",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2016-11-18T22:34:51.526Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Minimal Test Collection",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,161 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-10-27T19:15:26.661Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Oauth 1.0 Test",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Added to Request Body/URL",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"callback": "",
|
||||
"consumerKey": "consumer-key-value",
|
||||
"consumerSecret": "consumer-secret-value",
|
||||
"disabled": false,
|
||||
"nonce": "nonce-value",
|
||||
"privateKey": "",
|
||||
"realm": "realm-value",
|
||||
"signatureMethod": "HMAC-SHA1",
|
||||
"timestamp": "timestamp-value",
|
||||
"tokenKey": "access-token-value",
|
||||
"tokenSecret": "token-secret-value",
|
||||
"type": "oauth1",
|
||||
"verifier": "",
|
||||
"version": "1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Added to Request Headers",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"callback": "",
|
||||
"consumerKey": "consumer-key-value",
|
||||
"consumerSecret": "consumer-secret-value",
|
||||
"disabled": false,
|
||||
"nonce": "nonce-value",
|
||||
"privateKey": "",
|
||||
"realm": "realm-value",
|
||||
"signatureMethod": "HMAC-SHA1",
|
||||
"timestamp": "timestamp-value",
|
||||
"tokenKey": "access-token-value",
|
||||
"tokenSecret": "token-secret-value",
|
||||
"type": "oauth1",
|
||||
"verifier": "",
|
||||
"version": "1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_3__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Signature Method PLAINTEXT",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"callback": "",
|
||||
"consumerKey": "plaintext-consumer-key-value",
|
||||
"consumerSecret": "plaintext-consumer-secret-value",
|
||||
"disabled": false,
|
||||
"nonce": "plaintext-nonce-value",
|
||||
"privateKey": "",
|
||||
"realm": "plaintext-realm-value",
|
||||
"signatureMethod": "PLAINTEXT",
|
||||
"timestamp": "plaintext-timestamp-value",
|
||||
"tokenKey": "plaintext-access-token-value",
|
||||
"tokenSecret": "plaintext-token-secret-value",
|
||||
"type": "oauth1",
|
||||
"verifier": "",
|
||||
"version": "1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_4__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Signature Method HMAC-SHA256",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"callback": "",
|
||||
"consumerKey": "sha256-consumer-key-value",
|
||||
"consumerSecret": "sha256-consumer-secret-value",
|
||||
"disabled": false,
|
||||
"nonce": "sha256-nonce-value",
|
||||
"privateKey": "",
|
||||
"realm": "sha256-realm-value",
|
||||
"signatureMethod": "HMAC-SHA256",
|
||||
"timestamp": "sha256-timestamp-value",
|
||||
"tokenKey": "sha256-access-token-value",
|
||||
"tokenSecret": "sha256-token-secret-value",
|
||||
"type": "oauth1",
|
||||
"verifier": "",
|
||||
"version": "1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_5__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Signature Method HMAC-SHA1",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"callback": "",
|
||||
"consumerKey": "sha1-consumer-key-value",
|
||||
"consumerSecret": "sha1-consumer-secret-value",
|
||||
"disabled": false,
|
||||
"nonce": "sha1-nonce-value",
|
||||
"privateKey": "",
|
||||
"realm": "sha1-realm-value",
|
||||
"signatureMethod": "HMAC-SHA1",
|
||||
"timestamp": "sha1-timestamp-value",
|
||||
"tokenKey": "sha1-access-token-value",
|
||||
"tokenSecret": "sha1-token-secret-value",
|
||||
"type": "oauth1",
|
||||
"verifier": "",
|
||||
"version": "1.0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,161 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-10-27T19:15:26.661Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Oauth 1.0 Test",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Added to Request Body/URL",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"callback": "",
|
||||
"consumerKey": "consumer-key-value",
|
||||
"consumerSecret": "consumer-secret-value",
|
||||
"disabled": false,
|
||||
"nonce": "nonce-value",
|
||||
"privateKey": "",
|
||||
"realm": "realm-value",
|
||||
"signatureMethod": "HMAC-SHA1",
|
||||
"timestamp": "timestamp-value",
|
||||
"tokenKey": "access-token-value",
|
||||
"tokenSecret": "token-secret-value",
|
||||
"type": "oauth1",
|
||||
"verifier": "",
|
||||
"version": "1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Added to Request Headers",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"callback": "",
|
||||
"consumerKey": "consumer-key-value",
|
||||
"consumerSecret": "consumer-secret-value",
|
||||
"disabled": false,
|
||||
"nonce": "nonce-value",
|
||||
"privateKey": "",
|
||||
"realm": "realm-value",
|
||||
"signatureMethod": "HMAC-SHA1",
|
||||
"timestamp": "timestamp-value",
|
||||
"tokenKey": "access-token-value",
|
||||
"tokenSecret": "token-secret-value",
|
||||
"type": "oauth1",
|
||||
"verifier": "",
|
||||
"version": "1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_3__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Signature Method PLAINTEXT",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"callback": "",
|
||||
"consumerKey": "plaintext-consumer-key-value",
|
||||
"consumerSecret": "plaintext-consumer-secret-value",
|
||||
"disabled": false,
|
||||
"nonce": "plaintext-nonce-value",
|
||||
"privateKey": "",
|
||||
"realm": "plaintext-realm-value",
|
||||
"signatureMethod": "PLAINTEXT",
|
||||
"timestamp": "plaintext-timestamp-value",
|
||||
"tokenKey": "plaintext-access-token-value",
|
||||
"tokenSecret": "plaintext-token-secret-value",
|
||||
"type": "oauth1",
|
||||
"verifier": "",
|
||||
"version": "1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_4__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Signature Method HMAC-SHA256",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"callback": "",
|
||||
"consumerKey": "sha256-consumer-key-value",
|
||||
"consumerSecret": "sha256-consumer-secret-value",
|
||||
"disabled": false,
|
||||
"nonce": "sha256-nonce-value",
|
||||
"privateKey": "",
|
||||
"realm": "sha256-realm-value",
|
||||
"signatureMethod": "HMAC-SHA256",
|
||||
"timestamp": "sha256-timestamp-value",
|
||||
"tokenKey": "sha256-access-token-value",
|
||||
"tokenSecret": "sha256-token-secret-value",
|
||||
"type": "oauth1",
|
||||
"verifier": "",
|
||||
"version": "1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_5__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Signature Method HMAC-SHA1",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"callback": "",
|
||||
"consumerKey": "sha1-consumer-key-value",
|
||||
"consumerSecret": "sha1-consumer-secret-value",
|
||||
"disabled": false,
|
||||
"nonce": "sha1-nonce-value",
|
||||
"privateKey": "",
|
||||
"realm": "sha1-realm-value",
|
||||
"signatureMethod": "HMAC-SHA1",
|
||||
"timestamp": "sha1-timestamp-value",
|
||||
"tokenKey": "sha1-access-token-value",
|
||||
"tokenSecret": "sha1-token-secret-value",
|
||||
"type": "oauth1",
|
||||
"verifier": "",
|
||||
"version": "1.0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-10-27T19:15:26.661Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Oauth 2.0 Test",
|
||||
"description": "A collection for testing",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Added to Request URL",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": true,
|
||||
"accessTokenUrl": "",
|
||||
"authorizationUrl": "",
|
||||
"grantType": "authorization_code",
|
||||
"password": "",
|
||||
"type": "oauth2",
|
||||
"username": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "https://insomnia.rest",
|
||||
"name": "Added to Request Headers",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"disabled": true,
|
||||
"accessTokenUrl": "",
|
||||
"authorizationUrl": "",
|
||||
"grantType": "authorization_code",
|
||||
"password": "",
|
||||
"type": "oauth2",
|
||||
"username": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,166 +0,0 @@
|
||||
{
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "oauth2",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"accessTokenUrl": "test",
|
||||
"authorizationUrl": "test",
|
||||
"clientId": "test",
|
||||
"clientSecret": "test",
|
||||
"credentialsInBody": false,
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"password": "",
|
||||
"pkceMethod": "",
|
||||
"redirectUrl": "test",
|
||||
"scope": "test",
|
||||
"state": "test",
|
||||
"tokenPrefix": "test",
|
||||
"type": "oauth2",
|
||||
"username": ""
|
||||
},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "auth code",
|
||||
"parameters": [],
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "mockbin.org/request/any"
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"accessTokenUrl": "test",
|
||||
"authorizationUrl": "test",
|
||||
"clientId": "test",
|
||||
"clientSecret": "test",
|
||||
"credentialsInBody": false,
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"password": "",
|
||||
"pkceMethod": "",
|
||||
"redirectUrl": "test",
|
||||
"scope": "test",
|
||||
"state": "test",
|
||||
"tokenPrefix": "test",
|
||||
"type": "oauth2",
|
||||
"usePkce": true,
|
||||
"username": ""
|
||||
},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "pkce",
|
||||
"parameters": [],
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "mockbin.org/request/any"
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_3__",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"accessTokenUrl": "test",
|
||||
"authorizationUrl": "test",
|
||||
"clientId": "test",
|
||||
"clientSecret": "test",
|
||||
"credentialsInBody": false,
|
||||
"disabled": false,
|
||||
"grantType": "implicit",
|
||||
"password": "",
|
||||
"pkceMethod": "",
|
||||
"redirectUrl": "test",
|
||||
"scope": "test",
|
||||
"state": "test",
|
||||
"tokenPrefix": "test",
|
||||
"type": "oauth2",
|
||||
"username": ""
|
||||
},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "implicit",
|
||||
"parameters": [],
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "mockbin.org/request/any"
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_4__",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"accessTokenUrl": "test",
|
||||
"authorizationUrl": "test",
|
||||
"clientId": "test",
|
||||
"clientSecret": "test",
|
||||
"credentialsInBody": false,
|
||||
"disabled": false,
|
||||
"grantType": "password",
|
||||
"password": "test",
|
||||
"pkceMethod": "",
|
||||
"redirectUrl": "test",
|
||||
"scope": "test",
|
||||
"state": "test",
|
||||
"tokenPrefix": "test",
|
||||
"type": "oauth2",
|
||||
"username": "test"
|
||||
},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "password",
|
||||
"parameters": [],
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "mockbin.org/request/any"
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_5__",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"accessTokenUrl": "test",
|
||||
"authorizationUrl": "test",
|
||||
"clientId": "test",
|
||||
"clientSecret": "test",
|
||||
"credentialsInBody": false,
|
||||
"disabled": false,
|
||||
"grantType": "client_credentials",
|
||||
"password": "",
|
||||
"pkceMethod": "",
|
||||
"redirectUrl": "test",
|
||||
"scope": "test",
|
||||
"state": "test",
|
||||
"tokenPrefix": "test",
|
||||
"type": "oauth2",
|
||||
"username": ""
|
||||
},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "client",
|
||||
"parameters": [],
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": "mockbin.org/request/any"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
{
|
||||
"__export_date": "2022-04-04T22:51:36.852Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "Example collection",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"accessTokenUrl": "exampleAccessTokenUrl",
|
||||
"authorizationUrl": "exampleAuthorizeUrl",
|
||||
"clientId": "exampleClientId",
|
||||
"clientSecret": "exampleClientSecret",
|
||||
"credentialsInBody": false,
|
||||
"pkceMethod": "S256",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"password": "",
|
||||
"scope": "",
|
||||
"state": "",
|
||||
"tokenPrefix": "",
|
||||
"redirectUrl": "exampleCallbackUrl",
|
||||
"type": "oauth2",
|
||||
"username": ""
|
||||
},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Example request with OAuth2",
|
||||
"parameters": [],
|
||||
"parentId": "__GRP_1__",
|
||||
"preRequestScript": "",
|
||||
"url": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,467 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-01-09T23:32:46.908Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_type": "workspace",
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"parentId": null,
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters."
|
||||
},
|
||||
{
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Base environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"_type": "environment",
|
||||
"_id": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__",
|
||||
"name": "Swagger env",
|
||||
"data": {
|
||||
"base_path": "/v2",
|
||||
"scheme": "http",
|
||||
"host": "petstore.swagger.io"
|
||||
},
|
||||
"_type": "environment",
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__1b034c38",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "pet",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__3a21295d",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "store",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__12dea96f",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "user",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Add a new pet to the store",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/pet",
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"disabled": false,
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"_type": "request",
|
||||
"_id": "addPet"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Update an existing pet",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/pet",
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"method": "PUT",
|
||||
"parameters": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"disabled": false,
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"_type": "request",
|
||||
"_id": "updatePet"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Finds Pets by status",
|
||||
"description": "Multiple status values can be provided with comma separated strings",
|
||||
"url": "{{ _.base_url }}/pet/findByStatus",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "status",
|
||||
"disabled": false,
|
||||
"value": "available"
|
||||
}
|
||||
],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"_type": "request",
|
||||
"_id": "findPetsByStatus"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Finds Pets by tags",
|
||||
"description": "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
|
||||
"url": "{{ _.base_url }}/pet/findByTags",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tags",
|
||||
"disabled": false,
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"_type": "request",
|
||||
"_id": "findPetsByTags"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Find pet by ID",
|
||||
"description": "Returns a single pet",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "api_key",
|
||||
"value": "{{ _.api_key }}"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "getPetById"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Updates a pet in the store with form data",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}",
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "name",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "status",
|
||||
"value": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"disabled": false,
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}
|
||||
],
|
||||
"_type": "request",
|
||||
"_id": "updatePetWithForm"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Deletes a pet",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}",
|
||||
"body": {},
|
||||
"method": "DELETE",
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "api_key",
|
||||
"disabled": true,
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"_type": "request",
|
||||
"_id": "deletePet"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "uploads an image",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}/uploadImage",
|
||||
"body": {
|
||||
"mimeType": "multipart/form-data",
|
||||
"params": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "additionalMetadata",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "file",
|
||||
"type": "file"
|
||||
}
|
||||
]
|
||||
},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"disabled": false,
|
||||
"value": "multipart/form-data"
|
||||
}
|
||||
],
|
||||
"_type": "request",
|
||||
"_id": "uploadFile"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"name": "Returns pet inventories by status",
|
||||
"description": "Returns a map of status codes to quantities",
|
||||
"url": "{{ _.base_url }}/store/inventory",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "api_key",
|
||||
"value": "{{ _.api_key }}"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "getInventory"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"name": "Place an order for a pet",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/store/order",
|
||||
"body": {},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "placeOrder"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"name": "Find purchase order by ID",
|
||||
"description": "For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "getOrderById"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"name": "Delete purchase order by ID",
|
||||
"description": "For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}",
|
||||
"body": {},
|
||||
"method": "DELETE",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "deleteOrder"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Create user",
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"url": "{{ _.base_url }}/user",
|
||||
"body": {},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "createUser"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Creates list of users with given input array",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/user/createWithArray",
|
||||
"body": {},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "createUsersWithArrayInput"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Creates list of users with given input array",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/user/createWithList",
|
||||
"body": {},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "createUsersWithListInput"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Logs user into the system",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/user/login",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "username",
|
||||
"disabled": false,
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"name": "password",
|
||||
"disabled": false,
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "loginUser"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Logs out current logged in user session",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/user/logout",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "logoutUser"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Get user by user name",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "getUserByName"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Updated user",
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}",
|
||||
"body": {},
|
||||
"method": "PUT",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "updateUser"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Delete user",
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}",
|
||||
"body": {},
|
||||
"method": "DELETE",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "deleteUser"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,467 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-11-22T18:54:59.926Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.",
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "/v2",
|
||||
"host": "petstore.swagger.io",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "Swagger env",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__1b034c38",
|
||||
"_type": "request_group",
|
||||
"description": "Everything about your Pets",
|
||||
"environment": {},
|
||||
"name": "pet",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__3a21295d",
|
||||
"_type": "request_group",
|
||||
"description": "Access to Petstore orders",
|
||||
"environment": {},
|
||||
"name": "store",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__12dea96f",
|
||||
"_type": "request_group",
|
||||
"description": "Operations about user",
|
||||
"environment": {},
|
||||
"name": "user",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "addPet",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "POST",
|
||||
"name": "Add a new pet to the store",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "updatePet",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "PUT",
|
||||
"name": "Update an existing pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "findPetsByStatus",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"description": "Multiple status values can be provided with comma separated strings",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by status",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "status",
|
||||
"value": "available"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/findByStatus"
|
||||
},
|
||||
{
|
||||
"_id": "findPetsByTags",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"description": "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by tags",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "tags",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/findByTags"
|
||||
},
|
||||
{
|
||||
"_id": "getPetById",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "Returns a single pet",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "api_key",
|
||||
"value": "{{ _.api_key }}"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"name": "Find pet by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "updatePetWithForm",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "name",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "status",
|
||||
"value": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}
|
||||
],
|
||||
"method": "POST",
|
||||
"name": "Updates a pet in the store with form data",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "deletePet",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "api_key",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"method": "DELETE",
|
||||
"name": "Deletes a pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "uploadFile",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "multipart/form-data",
|
||||
"params": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "additionalMetadata",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "file",
|
||||
"type": "file"
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "multipart/form-data"
|
||||
}
|
||||
],
|
||||
"method": "POST",
|
||||
"name": "uploads an image",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}/uploadImage"
|
||||
},
|
||||
{
|
||||
"_id": "getInventory",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "Returns a map of status codes to quantities",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "api_key",
|
||||
"value": "{{ _.api_key }}"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"name": "Returns pet inventories by status",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/inventory"
|
||||
},
|
||||
{
|
||||
"_id": "placeOrder",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Place an order for a pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order"
|
||||
},
|
||||
{
|
||||
"_id": "getOrderById",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Find purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "deleteOrder",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors",
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "createUser",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Create user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user"
|
||||
},
|
||||
{
|
||||
"_id": "createUsersWithArrayInput",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/createWithArray"
|
||||
},
|
||||
{
|
||||
"_id": "createUsersWithListInput",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/createWithList"
|
||||
},
|
||||
{
|
||||
"_id": "loginUser",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs user into the system",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "username",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "password",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/login"
|
||||
},
|
||||
{
|
||||
"_id": "logoutUser",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs out current logged in user session",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/logout"
|
||||
},
|
||||
{
|
||||
"_id": "getUserByName",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Get user by user name",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "updateUser",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"headers": [],
|
||||
"method": "PUT",
|
||||
"name": "Updated user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "deleteUser",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,467 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-01-09T23:32:54.091Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"_type": "workspace",
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"parentId": null,
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters."
|
||||
},
|
||||
{
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"name": "Base environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"_type": "environment",
|
||||
"_id": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__",
|
||||
"name": "Swagger env",
|
||||
"data": {
|
||||
"base_path": "/v2",
|
||||
"scheme": "http",
|
||||
"host": "petstore.swagger.io"
|
||||
},
|
||||
"_type": "environment",
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__1b034c38",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "pet",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__3a21295d",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "store",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__12dea96f",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "user",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Add a new pet to the store",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/pet",
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"disabled": false,
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"_type": "request",
|
||||
"_id": "addPet"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Update an existing pet",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/pet",
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"method": "PUT",
|
||||
"parameters": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"disabled": false,
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"_type": "request",
|
||||
"_id": "updatePet"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Finds Pets by status",
|
||||
"description": "Multiple status values can be provided with comma separated strings",
|
||||
"url": "{{ _.base_url }}/pet/findByStatus",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "status",
|
||||
"disabled": false,
|
||||
"value": "available"
|
||||
}
|
||||
],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"_type": "request",
|
||||
"_id": "findPetsByStatus"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Finds Pets by tags",
|
||||
"description": "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
|
||||
"url": "{{ _.base_url }}/pet/findByTags",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tags",
|
||||
"disabled": false,
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"headers": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"_type": "request",
|
||||
"_id": "findPetsByTags"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Find pet by ID",
|
||||
"description": "Returns a single pet",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "api_key",
|
||||
"value": "{{ _.api_key }}"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "getPetById"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Updates a pet in the store with form data",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}",
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "name",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "status",
|
||||
"value": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"disabled": false,
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}
|
||||
],
|
||||
"_type": "request",
|
||||
"_id": "updatePetWithForm"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "Deletes a pet",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}",
|
||||
"body": {},
|
||||
"method": "DELETE",
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "api_key",
|
||||
"disabled": true,
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"_type": "request",
|
||||
"_id": "deletePet"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"name": "uploads an image",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}/uploadImage",
|
||||
"body": {
|
||||
"mimeType": "multipart/form-data",
|
||||
"params": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "additionalMetadata",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "file",
|
||||
"type": "file"
|
||||
}
|
||||
]
|
||||
},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"disabled": false,
|
||||
"value": "multipart/form-data"
|
||||
}
|
||||
],
|
||||
"_type": "request",
|
||||
"_id": "uploadFile"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"name": "Returns pet inventories by status",
|
||||
"description": "Returns a map of status codes to quantities",
|
||||
"url": "{{ _.base_url }}/store/inventory",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "api_key",
|
||||
"value": "{{ _.api_key }}"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "getInventory"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"name": "Place an order for a pet",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/store/order",
|
||||
"body": {},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "placeOrder"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"name": "Find purchase order by ID",
|
||||
"description": "For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "getOrderById"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"name": "Delete purchase order by ID",
|
||||
"description": "For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}",
|
||||
"body": {},
|
||||
"method": "DELETE",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "deleteOrder"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Create user",
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"url": "{{ _.base_url }}/user",
|
||||
"body": {},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "createUser"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Creates list of users with given input array",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/user/createWithArray",
|
||||
"body": {},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "createUsersWithArrayInput"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Creates list of users with given input array",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/user/createWithList",
|
||||
"body": {},
|
||||
"method": "POST",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "createUsersWithListInput"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Logs user into the system",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/user/login",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "username",
|
||||
"disabled": false,
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"name": "password",
|
||||
"disabled": false,
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "loginUser"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Logs out current logged in user session",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/user/logout",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "logoutUser"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Get user by user name",
|
||||
"description": "",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}",
|
||||
"body": {},
|
||||
"method": "GET",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "getUserByName"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Updated user",
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}",
|
||||
"body": {},
|
||||
"method": "PUT",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "updateUser"
|
||||
},
|
||||
{
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"name": "Delete user",
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}",
|
||||
"body": {},
|
||||
"method": "DELETE",
|
||||
"parameters": [],
|
||||
"headers": [],
|
||||
"authentication": {},
|
||||
"_type": "request",
|
||||
"_id": "deleteUser"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,467 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-11-22T18:56:19.505Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.",
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "/v2",
|
||||
"host": "petstore.swagger.io",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "Swagger env",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__1b034c38",
|
||||
"_type": "request_group",
|
||||
"description": "Everything about your Pets",
|
||||
"environment": {},
|
||||
"name": "pet",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__3a21295d",
|
||||
"_type": "request_group",
|
||||
"description": "Access to Petstore orders",
|
||||
"environment": {},
|
||||
"name": "store",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__12dea96f",
|
||||
"_type": "request_group",
|
||||
"description": "Operations about user",
|
||||
"environment": {},
|
||||
"name": "user",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "addPet",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "POST",
|
||||
"name": "Add a new pet to the store",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "updatePet",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"category\": {\n \"id\": 0,\n \"name\": \"string\"\n },\n \"name\": \"doggie\",\n \"photoUrls\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"status\": \"string\"\n}"
|
||||
},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "PUT",
|
||||
"name": "Update an existing pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet"
|
||||
},
|
||||
{
|
||||
"_id": "findPetsByStatus",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"description": "Multiple status values can be provided with comma separated strings",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by status",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "status",
|
||||
"value": "available"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/findByStatus"
|
||||
},
|
||||
{
|
||||
"_id": "findPetsByTags",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"description": "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Finds Pets by tags",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "tags",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/findByTags"
|
||||
},
|
||||
{
|
||||
"_id": "getPetById",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "Returns a single pet",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "api_key",
|
||||
"value": "{{ _.api_key }}"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"name": "Find pet by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "updatePetWithForm",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "name",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "status",
|
||||
"value": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}
|
||||
],
|
||||
"method": "POST",
|
||||
"name": "Updates a pet in the store with form data",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "deletePet",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "api_key",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"method": "DELETE",
|
||||
"name": "Deletes a pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "uploadFile",
|
||||
"_type": "request",
|
||||
"authentication": {
|
||||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
|
||||
"clientId": "{{ _.client_id }}",
|
||||
"disabled": false,
|
||||
"grantType": "authorization_code",
|
||||
"scope": "write:pets read:pets",
|
||||
"type": "oauth2"
|
||||
},
|
||||
"body": {
|
||||
"mimeType": "multipart/form-data",
|
||||
"params": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "additionalMetadata",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "file",
|
||||
"type": "file"
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "multipart/form-data"
|
||||
}
|
||||
],
|
||||
"method": "POST",
|
||||
"name": "uploads an image",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__1b034c38",
|
||||
"url": "{{ _.base_url }}/pet/{{ _.petId }}/uploadImage"
|
||||
},
|
||||
{
|
||||
"_id": "getInventory",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "Returns a map of status codes to quantities",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "api_key",
|
||||
"value": "{{ _.api_key }}"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"name": "Returns pet inventories by status",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/inventory"
|
||||
},
|
||||
{
|
||||
"_id": "placeOrder",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Place an order for a pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order"
|
||||
},
|
||||
{
|
||||
"_id": "getOrderById",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Find purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "deleteOrder",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors",
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete purchase order by ID",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__3a21295d",
|
||||
"url": "{{ _.base_url }}/store/order/{{ _.orderId }}"
|
||||
},
|
||||
{
|
||||
"_id": "createUser",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Create user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user"
|
||||
},
|
||||
{
|
||||
"_id": "createUsersWithArrayInput",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/createWithArray"
|
||||
},
|
||||
{
|
||||
"_id": "createUsersWithListInput",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Creates list of users with given input array",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/createWithList"
|
||||
},
|
||||
{
|
||||
"_id": "loginUser",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs user into the system",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "username",
|
||||
"value": "string"
|
||||
},
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "password",
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/login"
|
||||
},
|
||||
{
|
||||
"_id": "logoutUser",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Logs out current logged in user session",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/logout"
|
||||
},
|
||||
{
|
||||
"_id": "getUserByName",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Get user by user name",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "updateUser",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"headers": [],
|
||||
"method": "PUT",
|
||||
"name": "Updated user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
},
|
||||
{
|
||||
"_id": "deleteUser",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "This can only be done by the logged in user.",
|
||||
"headers": [],
|
||||
"method": "DELETE",
|
||||
"name": "Delete user",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__12dea96f",
|
||||
"url": "{{ _.base_url }}/user/{{ _.username }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,125 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-11-22T18:54:59.959Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "",
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "/v1",
|
||||
"host": "petstore.swagger.io",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "Swagger env",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__a8acce24",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "pets",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "listPets",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "List all pets",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "limit",
|
||||
"value": "0"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__a8acce24",
|
||||
"url": "{{ _.base_url }}/pets"
|
||||
},
|
||||
{
|
||||
"_id": "createPets",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n \"id\": 0,\n \"name\": \"string\",\n \"tag\": \"string\"\n}"
|
||||
},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "POST",
|
||||
"name": "Create a pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__a8acce24",
|
||||
"url": "{{ _.base_url }}/pets"
|
||||
},
|
||||
{
|
||||
"_id": "showPetById",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "This is a longer description",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Info for a specific pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__a8acce24",
|
||||
"url": "{{ _.base_url }}/pets/{{ _.petId }}"
|
||||
},
|
||||
{
|
||||
"_id": "updatePet",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {
|
||||
"mimeType": "application/x-www-form-urlencoded",
|
||||
"params": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "name",
|
||||
"value": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "",
|
||||
"headers": [
|
||||
{
|
||||
"disabled": false,
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
}
|
||||
],
|
||||
"method": "POST",
|
||||
"name": "Update specific pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__a8acce24",
|
||||
"url": "{{ _.base_url }}/pets/{{ _.petId }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,88 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-11-22T18:56:29.797Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "",
|
||||
"name": "Swagger Petstore 1.0.0",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "/v1",
|
||||
"host": "petstore.swagger.io",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "Swagger env",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__a8acce24",
|
||||
"_type": "request_group",
|
||||
"description": "Everything about your Pets",
|
||||
"environment": {},
|
||||
"name": "pets",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "listPets",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "List all pets",
|
||||
"parameters": [
|
||||
{
|
||||
"disabled": true,
|
||||
"name": "limit",
|
||||
"value": "0"
|
||||
}
|
||||
],
|
||||
"parentId": "fld___WORKSPACE_ID__a8acce24",
|
||||
"url": "{{ _.base_url }}/pets"
|
||||
},
|
||||
{
|
||||
"_id": "createPets",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "POST",
|
||||
"name": "Create a pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__a8acce24",
|
||||
"url": "{{ _.base_url }}/pets"
|
||||
},
|
||||
{
|
||||
"_id": "showPetById",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Info for a specific pet",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__a8acce24",
|
||||
"url": "{{ _.base_url }}/pets/{{ _.petId }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
{
|
||||
"__export_date": "2019-11-22T18:56:44.435Z",
|
||||
"__export_format": 4,
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"_type": "export",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "__WORKSPACE_ID__",
|
||||
"_type": "workspace",
|
||||
"description": "",
|
||||
"name": "docs v1",
|
||||
"parentId": null
|
||||
},
|
||||
{
|
||||
"_id": "__BASE_ENVIRONMENT_ID__",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.scheme }}://{{ _.host }}{{ _.base_path }}"
|
||||
},
|
||||
"name": "Base environment",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "env___BASE_ENVIRONMENT_ID___sub",
|
||||
"_type": "environment",
|
||||
"data": {
|
||||
"base_path": "",
|
||||
"host": "",
|
||||
"scheme": "http"
|
||||
},
|
||||
"name": "Swagger env",
|
||||
"parentId": "__BASE_ENVIRONMENT_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "fld___WORKSPACE_ID__e214b8a2",
|
||||
"_type": "request_group",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"name": "Document",
|
||||
"parentId": "__WORKSPACE_ID__"
|
||||
},
|
||||
{
|
||||
"_id": "ApiId",
|
||||
"_type": "request",
|
||||
"authentication": {},
|
||||
"body": {},
|
||||
"description": "",
|
||||
"headers": [],
|
||||
"method": "GET",
|
||||
"name": "Some list",
|
||||
"parameters": [],
|
||||
"parentId": "fld___WORKSPACE_ID__e214b8a2",
|
||||
"url": "{{ _.base_url }}/api/list"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-01-09T23:32:46.908Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"name": "Calculator",
|
||||
"description": "",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"parentId": "__GRP_1__",
|
||||
"_id": "__GRP_2__",
|
||||
"_type": "request_group",
|
||||
"name": "Calculator",
|
||||
"description": "",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"name": "Add",
|
||||
"description": "",
|
||||
"url": "http://www.dneonline.com/calculator.asmx",
|
||||
"method": "POST",
|
||||
"headers": [
|
||||
{
|
||||
"name": "SOAPAction",
|
||||
"value": "http://tempuri.org/Add"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "text/xml"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/xml"
|
||||
}
|
||||
],
|
||||
"body": {
|
||||
"mimeType": "text/xml",
|
||||
"text": "\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soapenv:Header>\n <!-- The Security element should be removed if WS-Security is not enabled on the SOAP target-url -->\n <wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">\n <wsse:UsernameToken>\n <wsse:Username>string</wsse:Username>\n <wsse:Password>string</wsse:Password>\n <wsse:Nonce EncodingType=\"string\">string</wsse:Nonce>\n <wsu:Created>string</wsu:Created>\n </wsse:UsernameToken>\n <wsu:Timestamp wsu:Id=\"string\">\n <wsu:Created>string</wsu:Created>\n <wsu:Expires>string</wsu:Expires>\n </wsu:Timestamp>\n </wsse:Security>\n </soapenv:Header>\n <soapenv:Body>\n <tns:Add xmlns:tns=\"http://tempuri.org/\"><!-- mandatory -->\n <tns:intA><!-- mandatory -->3</tns:intA>\n <tns:intB><!-- mandatory -->3</tns:intB>\n </tns:Add>\n </soapenv:Body>\n</soapenv:Envelope>"
|
||||
},
|
||||
"authentication": {},
|
||||
"parameters": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,144 +0,0 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2018-01-09T23:32:46.908Z",
|
||||
"__export_source": "insomnia.importers:v0.1.0",
|
||||
"resources": [
|
||||
{
|
||||
"parentId": "__WORKSPACE_ID__",
|
||||
"_id": "__GRP_1__",
|
||||
"_type": "request_group",
|
||||
"name": "Calculator",
|
||||
"description": "",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"parentId": "__GRP_1__",
|
||||
"_id": "__GRP_2__",
|
||||
"_type": "request_group",
|
||||
"name": "Calculator",
|
||||
"description": "",
|
||||
"environment": {}
|
||||
},
|
||||
{
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"_id": "__REQ_1__",
|
||||
"_type": "request",
|
||||
"name": "Add",
|
||||
"description": "",
|
||||
"url": "http://www.dneonline.com/calculator.asmx",
|
||||
"method": "POST",
|
||||
"headers": [
|
||||
{
|
||||
"name": "SOAPAction",
|
||||
"value": "http://tempuri.org/Add"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "text/xml"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/xml"
|
||||
}
|
||||
],
|
||||
"body": {
|
||||
"mimeType": "text/xml",
|
||||
"text": "\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soapenv:Header>\n <!-- The Security element should be removed if WS-Security is not enabled on the SOAP target-url -->\n <wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">\n <wsse:UsernameToken>\n <wsse:Username>string</wsse:Username>\n <wsse:Password>string</wsse:Password>\n <wsse:Nonce EncodingType=\"string\">string</wsse:Nonce>\n <wsu:Created>string</wsu:Created>\n </wsse:UsernameToken>\n <wsu:Timestamp wsu:Id=\"string\">\n <wsu:Created>string</wsu:Created>\n <wsu:Expires>string</wsu:Expires>\n </wsu:Timestamp>\n </wsse:Security>\n </soapenv:Header>\n <soapenv:Body>\n <tns:Add xmlns:tns=\"http://tempuri.org/\"><!-- mandatory -->\n <tns:intA><!-- mandatory -->3</tns:intA>\n <tns:intB><!-- mandatory -->3</tns:intB>\n </tns:Add>\n </soapenv:Body>\n</soapenv:Envelope>"
|
||||
},
|
||||
"authentication": {},
|
||||
"parameters": []
|
||||
},
|
||||
{
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"_id": "__REQ_2__",
|
||||
"_type": "request",
|
||||
"name": "Subtract",
|
||||
"description": "",
|
||||
"url": "http://www.dneonline.com/calculator.asmx",
|
||||
"method": "POST",
|
||||
"headers": [
|
||||
{
|
||||
"name": "SOAPAction",
|
||||
"value": "http://tempuri.org/Subtract"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "text/xml"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/xml"
|
||||
}
|
||||
],
|
||||
"body": {
|
||||
"mimeType": "text/xml",
|
||||
"text": "\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soapenv:Header>\n <!-- The Security element should be removed if WS-Security is not enabled on the SOAP target-url -->\n <wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">\n <wsse:UsernameToken>\n <wsse:Username>string</wsse:Username>\n <wsse:Password>string</wsse:Password>\n <wsse:Nonce EncodingType=\"string\">string</wsse:Nonce>\n <wsu:Created>string</wsu:Created>\n </wsse:UsernameToken>\n <wsu:Timestamp wsu:Id=\"string\">\n <wsu:Created>string</wsu:Created>\n <wsu:Expires>string</wsu:Expires>\n </wsu:Timestamp>\n </wsse:Security>\n </soapenv:Header>\n <soapenv:Body>\n <tns:Subtract xmlns:tns=\"http://tempuri.org/\"><!-- mandatory -->\n <tns:intA><!-- mandatory -->3</tns:intA>\n <tns:intB><!-- mandatory -->3</tns:intB>\n </tns:Subtract>\n </soapenv:Body>\n</soapenv:Envelope>"
|
||||
},
|
||||
"authentication": {},
|
||||
"parameters": []
|
||||
},
|
||||
{
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"_id": "__REQ_3__",
|
||||
"_type": "request",
|
||||
"name": "Multiply",
|
||||
"description": "",
|
||||
"url": "http://www.dneonline.com/calculator.asmx",
|
||||
"method": "POST",
|
||||
"headers": [
|
||||
{
|
||||
"name": "SOAPAction",
|
||||
"value": "http://tempuri.org/Multiply"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "text/xml"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/xml"
|
||||
}
|
||||
],
|
||||
"body": {
|
||||
"mimeType": "text/xml",
|
||||
"text": "\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soapenv:Header>\n <!-- The Security element should be removed if WS-Security is not enabled on the SOAP target-url -->\n <wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">\n <wsse:UsernameToken>\n <wsse:Username>string</wsse:Username>\n <wsse:Password>string</wsse:Password>\n <wsse:Nonce EncodingType=\"string\">string</wsse:Nonce>\n <wsu:Created>string</wsu:Created>\n </wsse:UsernameToken>\n <wsu:Timestamp wsu:Id=\"string\">\n <wsu:Created>string</wsu:Created>\n <wsu:Expires>string</wsu:Expires>\n </wsu:Timestamp>\n </wsse:Security>\n </soapenv:Header>\n <soapenv:Body>\n <tns:Multiply xmlns:tns=\"http://tempuri.org/\"><!-- mandatory -->\n <tns:intA><!-- mandatory -->3</tns:intA>\n <tns:intB><!-- mandatory -->3</tns:intB>\n </tns:Multiply>\n </soapenv:Body>\n</soapenv:Envelope>"
|
||||
},
|
||||
"authentication": {},
|
||||
"parameters": []
|
||||
},
|
||||
{
|
||||
"parentId": "__GRP_2__",
|
||||
"preRequestScript": "",
|
||||
"_id": "__REQ_4__",
|
||||
"_type": "request",
|
||||
"name": "Divide",
|
||||
"description": "",
|
||||
"url": "http://www.dneonline.com/calculator.asmx",
|
||||
"method": "POST",
|
||||
"headers": [
|
||||
{
|
||||
"name": "SOAPAction",
|
||||
"value": "http://tempuri.org/Divide"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "text/xml"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/xml"
|
||||
}
|
||||
],
|
||||
"body": {
|
||||
"mimeType": "text/xml",
|
||||
"text": "\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soapenv:Header>\n <!-- The Security element should be removed if WS-Security is not enabled on the SOAP target-url -->\n <wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">\n <wsse:UsernameToken>\n <wsse:Username>string</wsse:Username>\n <wsse:Password>string</wsse:Password>\n <wsse:Nonce EncodingType=\"string\">string</wsse:Nonce>\n <wsu:Created>string</wsu:Created>\n </wsse:UsernameToken>\n <wsu:Timestamp wsu:Id=\"string\">\n <wsu:Created>string</wsu:Created>\n <wsu:Expires>string</wsu:Expires>\n </wsu:Timestamp>\n </wsse:Security>\n </soapenv:Header>\n <soapenv:Body>\n <tns:Divide xmlns:tns=\"http://tempuri.org/\"><!-- mandatory -->\n <tns:intA><!-- mandatory -->3</tns:intA>\n <tns:intB><!-- mandatory -->3</tns:intB>\n </tns:Divide>\n </soapenv:Body>\n</soapenv:Envelope>"
|
||||
},
|
||||
"authentication": {},
|
||||
"parameters": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -19,27 +19,21 @@ describe('Fixtures', () => {
|
||||
|
||||
for (const input of inputs) {
|
||||
const prefix = input.replace(/-input\.[^.]+/, '');
|
||||
const output = `${prefix}-output.json`;
|
||||
|
||||
if (prefix.startsWith('skip')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
it(input, async () => {
|
||||
expect.assertions(5);
|
||||
expect.assertions(3);
|
||||
|
||||
expect(typeof input).toBe('string');
|
||||
const inputContents = fs.readFileSync(path.join(dir, input), 'utf8');
|
||||
expect(typeof inputContents).toBe('string');
|
||||
|
||||
expect(typeof output).toBe('string');
|
||||
const outputContents = fs.readFileSync(path.join(dir, output), 'utf8');
|
||||
expect(typeof outputContents).toBe('string');
|
||||
|
||||
const results = await convert(inputContents);
|
||||
const expected = JSON.parse(outputContents);
|
||||
expected.__export_date = results.data.__export_date;
|
||||
expect(results.data).toEqual(expected);
|
||||
results.data.__export_date = '';
|
||||
expect(results.data).toMatchSnapshot();
|
||||
|
||||
const ids = new Set();
|
||||
for (const resource of results.data.resources) {
|
||||
|
||||
@@ -170,6 +170,7 @@ export class ImportPostman {
|
||||
body: this.importBody(request.body, headers.find(({ key }) => key === 'Content-Type')?.value),
|
||||
authentication,
|
||||
preRequestScript,
|
||||
metaSortKey: requestCount,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user