From 62f4be944fb0b2dbc0a9a72b80ef9c14d813c521 Mon Sep 17 00:00:00 2001 From: Dan Tolbert Date: Thu, 7 Sep 2023 20:19:51 -0400 Subject: [PATCH] updates --- collection.json | 2106 +++++++++++++++--------------- kong/petKong.yaml | 96 +- petStore-Postman-collection.json | 2096 ++++++++++++++--------------- 3 files changed, 2077 insertions(+), 2221 deletions(-) diff --git a/collection.json b/collection.json index 44ad877..dc42d24 100644 --- a/collection.json +++ b/collection.json @@ -1,1111 +1,1039 @@ { - "item": [ + "item": [ + { + "name": "Read", + "description": "Read operations", + "item": [ { - "name": "Read", - "description": "Read operations", - "item": [ + "id": "fcfd808f-2e58-42f0-8a0c-b71ccb083aa2", + "name": "list Pets", + "request": { + "name": "list Pets", + "description": { + "content": "Lists all pets in the PetStore", + "type": "text/plain" + }, + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ { - "id": "fcfd808f-2e58-42f0-8a0c-b71ccb083aa2", - "name": "list Pets", - "request": { - "name": "list Pets", - "description": { - "content": "Lists all pets in the PetStore", - "type": "text/plain" - }, - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Maximum number of items to return", - "type": "text/plain" - }, - "key": "max", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Sorting order", - "type": "text/plain" - }, - "key": "order", - "value": "asc" - }, - { - "disabled": false, - "description": { - "content": "offset id to get next page", - "type": "text/plain" - }, - "key": "offset", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {}, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "api_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] - } + "disabled": false, + "description": { + "content": "Maximum number of items to return", + "type": "text/plain" + }, + "key": "max", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Sorting order", + "type": "text/plain" + }, + "key": "order", + "value": "asc" + }, + { + "disabled": false, + "description": { + "content": "offset id to get next page", + "type": "text/plain" + }, + "key": "offset", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "api_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "1f2c0200-3335-4a54-bbac-1b3a244b3458", + "name": "OK", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "disabled": false, + "description": { + "content": "Maximum number of items to return", + "type": "text/plain" + }, + "key": "max", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Sorting order", + "type": "text/plain" + }, + "key": "order", + "value": "asc" }, - "response": [ - { - "id": "1f2c0200-3335-4a54-bbac-1b3a244b3458", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Maximum number of items to return", - "type": "text/plain" - }, - "key": "max", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Sorting order", - "type": "text/plain" - }, - "key": "order", - "value": "asc" - }, - { - "disabled": false, - "description": { - "content": "offset id to get next page", - "type": "text/plain" - }, - "key": "offset", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "ListPetsHeaders", - "value": "TrackingId,,Date,,link," - } - ], - "body": "{\n \"items\": [\n {\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n },\n {\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n }\n ]\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "d40e4548-f99e-4a03-a839-2c13d3c903f0", - "name": "Unauthorized", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Maximum number of items to return", - "type": "text/plain" - }, - "key": "max", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Sorting order", - "type": "text/plain" - }, - "key": "order", - "value": "asc" - }, - { - "disabled": false, - "description": { - "content": "offset id to get next page", - "type": "text/plain" - }, - "key": "offset", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Unauthorized", - "code": 401, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "d8307240-84f8-457f-a9cb-11f736e7d512", - "name": "Forbidden", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Maximum number of items to return", - "type": "text/plain" - }, - "key": "max", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Sorting order", - "type": "text/plain" - }, - "key": "order", - "value": "asc" - }, - { - "disabled": false, - "description": { - "content": "offset id to get next page", - "type": "text/plain" - }, - "key": "offset", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Forbidden", - "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true + { + "disabled": false, + "description": { + "content": "offset id to get next page", + "type": "text/plain" + }, + "key": "offset", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" }, { - "id": "a28f8b54-ee7e-4a71-8ab8-47169c0010a2", - "name": "get Pet", - "request": { - "name": "get Pet", - "description": { - "content": "Get a pet by its id", - "type": "text/plain" - }, - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {}, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "api_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] - } + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "ListPetsHeaders", + "value": "TrackingId,,Date,,link," + } + ], + "body": "{\n \"items\": [\n {\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n },\n {\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n }\n ]\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "d40e4548-f99e-4a03-a839-2c13d3c903f0", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "disabled": false, + "description": { + "content": "Maximum number of items to return", + "type": "text/plain" + }, + "key": "max", + "value": "" }, - "response": [ - { - "id": "b78cc56b-1774-4241-acb5-fe717b316788", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "ListPetsHeaders", - "value": "TrackingId,,Date,,link," - } - ], - "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "55e763ad-bc61-4180-96de-59f52a75261f", - "name": "Unauthorized", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Unauthorized", - "code": 401, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "d60376b1-8d84-4607-8ea7-1c3076f72a12", - "name": "Forbidden", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Forbidden", - "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true + { + "disabled": false, + "description": { + "content": "Sorting order", + "type": "text/plain" + }, + "key": "order", + "value": "asc" + }, + { + "disabled": false, + "description": { + "content": "offset id to get next page", + "type": "text/plain" + }, + "key": "offset", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "d8307240-84f8-457f-a9cb-11f736e7d512", + "name": "Forbidden", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "disabled": false, + "description": { + "content": "Maximum number of items to return", + "type": "text/plain" + }, + "key": "max", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Sorting order", + "type": "text/plain" + }, + "key": "order", + "value": "asc" + }, + { + "disabled": false, + "description": { + "content": "offset id to get next page", + "type": "text/plain" + }, + "key": "offset", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," } - ] + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } }, { - "name": "Write", - "description": "Write operations", - "item": [ + "id": "a28f8b54-ee7e-4a71-8ab8-47169c0010a2", + "name": "get Pet", + "request": { + "name": "get Pet", + "description": { + "content": "Get a pet by its id", + "type": "text/plain" + }, + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [], + "variable": [ { - "id": "d9536a34-0b3b-4c27-a53c-0f0ce5264d88", - "name": "create Pet", - "request": { - "name": "create Pet", - "description": { - "content": "Create a new pet with its adorable name", - "type": "text/plain" - }, - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "api_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] - } - }, - "response": [ - { - "id": "58d8e8f1-969f-4074-b284-e31a26a4cd96", - "name": "Created", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Created", - "code": 201, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "183bbbdd-f13b-49e5-b6a3-001c4da8ab3d", - "name": "Unauthorized", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Unauthorized", - "code": 401, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "e263895b-16f0-440c-b4c5-309a30f21156", - "name": "Forbidden", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Forbidden", - "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true + "type": "any", + "value": "", + "key": "id", + "disabled": false + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "api_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "b78cc56b-1774-4241-acb5-fe717b316788", + "name": "OK", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" } + ], + "variable": [] }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ { - "id": "ff652121-23bf-4c8e-8fd6-8a8af09470e0", - "name": "update Pet", - "request": { - "name": "update Pet", - "description": { - "content": "Update the pet information by its id", - "type": "text/plain" - }, - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "api_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] - } - }, - "response": [ - { - "id": "ec74bba3-cbb2-46b7-a449-41cb5e32ee8f", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "e05ae59e-b419-47f8-8cb9-5a89ca64e801", - "name": "Unauthorized", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Unauthorized", - "code": 401, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "782ea701-4a4e-469d-830d-77fbdf00f29f", - "name": "Forbidden", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Forbidden", - "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "ListPetsHeaders", + "value": "TrackingId,,Date,,link," + } + ], + "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "55e763ad-bc61-4180-96de-59f52a75261f", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "d60376b1-8d84-4607-8ea7-1c3076f72a12", + "name": "Forbidden", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," } - ] + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } } - ], - "event": [], - "variable": [ + ] + }, + { + "name": "Write", + "description": "Write operations", + "item": [ { - "key": "baseUrl", - "value": "http://localhost:3000/v1" - } - ], - "info": { - "_postman_id": "98f99bc7-4dcf-4e67-a49b-7a6d74f29e64", - "name": "Imported from OpenAPI", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "description": { - "content": "This is the API for the Pet Store.\n\nContact Support:\n Name: Dan Tolbert: dantolbe@cisco.com", - "type": "text/plain" + "id": "d9536a34-0b3b-4c27-a53c-0f0ce5264d88", + "name": "create Pet", + "request": { + "name": "create Pet", + "description": { + "content": "Create a new pet with its adorable name", + "type": "text/plain" + }, + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "api_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "58d8e8f1-969f-4074-b284-e31a26a4cd96", + "name": "Created", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Created", + "code": 201, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "183bbbdd-f13b-49e5-b6a3-001c4da8ab3d", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "e263895b-16f0-440c-b4c5-309a30f21156", + "name": "Forbidden", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "ff652121-23bf-4c8e-8fd6-8a8af09470e0", + "name": "update Pet", + "request": { + "name": "update Pet", + "description": { + "content": "Update the pet information by its id", + "type": "text/plain" + }, + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [], + "variable": [ + { + "type": "any", + "value": "", + "key": "id", + "disabled": false + } + ] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "api_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "ec74bba3-cbb2-46b7-a449-41cb5e32ee8f", + "name": "OK", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "e05ae59e-b419-47f8-8cb9-5a89ca64e801", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "782ea701-4a4e-469d-830d-77fbdf00f29f", + "name": "Forbidden", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } } + ] + } + ], + "event": [], + "variable": [ + { + "key": "baseUrl", + "value": "http://localhost:3000/v1" + } + ], + "info": { + "_postman_id": "98f99bc7-4dcf-4e67-a49b-7a6d74f29e64", + "name": "Imported from OpenAPI", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "description": { + "content": "This is the API for the Pet Store.\n\nContact Support:\n Name: Dan Tolbert: dantolbe@cisco.com", + "type": "text/plain" } -} \ No newline at end of file + } +} diff --git a/kong/petKong.yaml b/kong/petKong.yaml index cf4757d..001f471 100644 --- a/kong/petKong.yaml +++ b/kong/petKong.yaml @@ -1,52 +1,52 @@ -_format_version: "3.0" +_format_version: '3.0' services: -- host: localhost - id: 6ce82fd3-ffaa-564d-a98e-7b6cf11d7b5a - name: petstore - path: /v1 - plugins: [] - port: 3000 - protocol: http - routes: - - id: fcabe360-daec-5fbf-a2be-50f393c23e38 - methods: - - GET - name: petstore_listpets - paths: - - ~/pets$ + - host: localhost + id: 6ce82fd3-ffaa-564d-a98e-7b6cf11d7b5a + name: petstore + path: /v1 plugins: [] - regex_priority: 200 - strip_path: false + port: 3000 + protocol: http + routes: + - id: fcabe360-daec-5fbf-a2be-50f393c23e38 + methods: + - GET + name: petstore_listpets + paths: + - ~/pets$ + plugins: [] + regex_priority: 200 + strip_path: false + tags: [] + - id: b3862911-a318-51f8-99e7-5f6f3685c61f + methods: + - POST + name: petstore_createpet + paths: + - ~/pets$ + plugins: [] + regex_priority: 200 + strip_path: false + tags: [] + - id: 0ef5ebf6-6973-5d23-a051-ab9367803be3 + methods: + - GET + name: petstore_getpet + paths: + - ~/pets/(?[^#?/]+)$ + plugins: [] + regex_priority: 100 + strip_path: false + tags: [] + - id: 7f1a9c95-7df0-5a54-8619-a59ace7f5604 + methods: + - PUT + name: petstore_updatepet + paths: + - ~/pets/(?[^#?/]+)$ + plugins: [] + regex_priority: 100 + strip_path: false + tags: [] tags: [] - - id: b3862911-a318-51f8-99e7-5f6f3685c61f - methods: - - POST - name: petstore_createpet - paths: - - ~/pets$ - plugins: [] - regex_priority: 200 - strip_path: false - tags: [] - - id: 0ef5ebf6-6973-5d23-a051-ab9367803be3 - methods: - - GET - name: petstore_getpet - paths: - - ~/pets/(?[^#?/]+)$ - plugins: [] - regex_priority: 100 - strip_path: false - tags: [] - - id: 7f1a9c95-7df0-5a54-8619-a59ace7f5604 - methods: - - PUT - name: petstore_updatepet - paths: - - ~/pets/(?[^#?/]+)$ - plugins: [] - regex_priority: 100 - strip_path: false - tags: [] - tags: [] upstreams: [] diff --git a/petStore-Postman-collection.json b/petStore-Postman-collection.json index 517093a..07c8226 100644 --- a/petStore-Postman-collection.json +++ b/petStore-Postman-collection.json @@ -1,1111 +1,1039 @@ { - "item": [ + "item": [ + { + "name": "pets", + "description": "", + "item": [ { - "name": "pets", - "description": "", - "item": [ + "id": "50871564-5290-4cce-976e-32461e2a28f1", + "name": "list Pets", + "request": { + "name": "list Pets", + "description": { + "content": "Lists all pets in the PetStore", + "type": "text/plain" + }, + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ { - "id": "50871564-5290-4cce-976e-32461e2a28f1", - "name": "list Pets", - "request": { - "name": "list Pets", - "description": { - "content": "Lists all pets in the PetStore", + "disabled": false, + "description": { + "content": "Maximum number of items to return", + "type": "text/plain" + }, + "key": "max", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Sorting order", + "type": "text/plain" + }, + "key": "order", + "value": "asc" + }, + { + "disabled": false, + "description": { + "content": "offset id to get next page", + "type": "text/plain" + }, + "key": "offset", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "api_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "c828bdbd-2410-4436-b99a-f0eed6cf4c03", + "name": "OK", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "disabled": false, + "description": { + "content": "Maximum number of items to return", + "type": "text/plain" + }, + "key": "max", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Sorting order", + "type": "text/plain" + }, + "key": "order", + "value": "asc" + }, + { + "disabled": false, + "description": { + "content": "offset id to get next page", + "type": "text/plain" + }, + "key": "offset", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "ListPetsHeaders", + "value": "TrackingId,,Date,,link," + } + ], + "body": "{\n \"items\": [\n {\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n },\n {\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n }\n ]\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "8b84571c-6ac9-4012-8f5d-65bec047e249", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "disabled": false, + "description": { + "content": "Maximum number of items to return", + "type": "text/plain" + }, + "key": "max", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Sorting order", + "type": "text/plain" + }, + "key": "order", + "value": "asc" + }, + { + "disabled": false, + "description": { + "content": "offset id to get next page", + "type": "text/plain" + }, + "key": "offset", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "be9fd090-a87d-40f0-95e7-78e31337a68f", + "name": "Forbidden", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "disabled": false, + "description": { + "content": "Maximum number of items to return", + "type": "text/plain" + }, + "key": "max", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Sorting order", + "type": "text/plain" + }, + "key": "order", + "value": "asc" + }, + { + "disabled": false, + "description": { + "content": "offset id to get next page", + "type": "text/plain" + }, + "key": "offset", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "ce45d782-678e-4632-9e82-0624738bde5e", + "name": "create Pet", + "request": { + "name": "create Pet", + "description": { + "content": "Create a new pet with its adorable name", + "type": "text/plain" + }, + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "api_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "848581ec-c2f6-4615-b52b-bef9c736b79d", + "name": "Created", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Created", + "code": 201, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "e436c76c-b21a-45b1-84b4-f27ad8491542", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "4a82f721-cb48-42a7-acdd-3cef1c91dfdf", + "name": "Forbidden", + "originalRequest": { + "url": { + "path": ["pets"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "name": "{id}", + "description": "", + "item": [ + { + "id": "0c9d26fd-3848-4cc9-a803-83044d350d05", + "name": "get Pet", + "request": { + "name": "get Pet", + "description": { + "content": "Get a pet by its id", + "type": "text/plain" + }, + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [], + "variable": [ + { + "type": "any", + "value": "", + "key": "id", + "disabled": false + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "api_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "990de3d1-7ed3-4431-b85c-e0c82d9f287d", + "name": "OK", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", "type": "text/plain" - }, - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Maximum number of items to return", - "type": "text/plain" - }, - "key": "max", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Sorting order", - "type": "text/plain" - }, - "key": "order", - "value": "asc" - }, - { - "disabled": false, - "description": { - "content": "offset id to get next page", - "type": "text/plain" - }, - "key": "offset", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {}, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "api_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] + }, + "key": "api_key", + "value": "" } + ], + "variable": [] }, - "response": [ - { - "id": "c828bdbd-2410-4436-b99a-f0eed6cf4c03", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Maximum number of items to return", - "type": "text/plain" - }, - "key": "max", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Sorting order", - "type": "text/plain" - }, - "key": "order", - "value": "asc" - }, - { - "disabled": false, - "description": { - "content": "offset id to get next page", - "type": "text/plain" - }, - "key": "offset", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "ListPetsHeaders", - "value": "TrackingId,,Date,,link," - } - ], - "body": "{\n \"items\": [\n {\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n },\n {\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n }\n ]\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "8b84571c-6ac9-4012-8f5d-65bec047e249", - "name": "Unauthorized", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Maximum number of items to return", - "type": "text/plain" - }, - "key": "max", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Sorting order", - "type": "text/plain" - }, - "key": "order", - "value": "asc" - }, - { - "disabled": false, - "description": { - "content": "offset id to get next page", - "type": "text/plain" - }, - "key": "offset", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Unauthorized", - "code": 401, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "ListPetsHeaders", + "value": "TrackingId,,Date,,link," + } + ], + "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "a00b7622-0035-4239-a84d-5ead0bc6ec05", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ { - "id": "be9fd090-a87d-40f0-95e7-78e31337a68f", - "name": "Forbidden", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Maximum number of items to return", - "type": "text/plain" - }, - "key": "max", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Sorting order", - "type": "text/plain" - }, - "key": "order", - "value": "asc" - }, - { - "disabled": false, - "description": { - "content": "offset id to get next page", - "type": "text/plain" - }, - "key": "offset", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Forbidden", - "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" }, { - "id": "ce45d782-678e-4632-9e82-0624738bde5e", - "name": "create Pet", - "request": { - "name": "create Pet", - "description": { - "content": "Create a new pet with its adorable name", + "id": "fb6a7472-5f05-43b4-9fb9-586bf59431ad", + "name": "Forbidden", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", "type": "text/plain" - }, - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "api_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] + }, + "key": "api_key", + "value": "" } + ], + "variable": [] }, - "response": [ - { - "id": "848581ec-c2f6-4615-b52b-bef9c736b79d", - "name": "Created", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Created", - "code": 201, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "e436c76c-b21a-45b1-84b4-f27ad8491542", - "name": "Unauthorized", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Unauthorized", - "code": 401, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "38f9c9ed-0795-4d2f-9ad5-b47bc62b2f50", + "name": "update Pet", + "request": { + "name": "update Pet", + "description": { + "content": "Update the pet information by its id", + "type": "text/plain" + }, + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [], + "variable": [ + { + "type": "any", + "value": "", + "key": "id", + "disabled": false + } + ] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "api_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "78b1c573-2a73-42c8-9fb3-d9f3be1897d3", + "name": "OK", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ { - "id": "4a82f721-cb48-42a7-acdd-3cef1c91dfdf", - "name": "Forbidden", - "originalRequest": { - "url": { - "path": [ - "pets" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"species\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Forbidden", - "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" }, { - "name": "{id}", - "description": "", - "item": [ + "id": "1aed5391-e647-41d9-9a7d-c071a7b303ec", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ { - "id": "0c9d26fd-3848-4cc9-a803-83044d350d05", - "name": "get Pet", - "request": { - "name": "get Pet", - "description": { - "content": "Get a pet by its id", - "type": "text/plain" - }, - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {}, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "api_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] - } - }, - "response": [ - { - "id": "990de3d1-7ed3-4431-b85c-e0c82d9f287d", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "ListPetsHeaders", - "value": "TrackingId,,Date,,link," - } - ], - "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "a00b7622-0035-4239-a84d-5ead0bc6ec05", - "name": "Unauthorized", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Unauthorized", - "code": 401, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "fb6a7472-5f05-43b4-9fb9-586bf59431ad", - "name": "Forbidden", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Forbidden", - "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "bcec4fc4-4918-4e1e-874d-c124f82ecb71", + "name": "Forbidden", + "originalRequest": { + "url": { + "path": ["pets", ":id"], + "host": ["{{baseUrl}}"], + "query": [ { - "id": "38f9c9ed-0795-4d2f-9ad5-b47bc62b2f50", - "name": "update Pet", - "request": { - "name": "update Pet", - "description": { - "content": "Update the pet information by its id", - "type": "text/plain" - }, - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "api_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] - } - }, - "response": [ - { - "id": "78b1c573-2a73-42c8-9fb3-d9f3be1897d3", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"name\": \"\",\n \"species\": \"\",\n \"id\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "1aed5391-e647-41d9-9a7d-c071a7b303ec", - "name": "Unauthorized", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Unauthorized", - "code": 401, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "bcec4fc4-4918-4e1e-874d-c124f82ecb71", - "name": "Forbidden", - "originalRequest": { - "url": { - "path": [ - "pets", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "api_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Forbidden", - "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Common Headers Returned", - "type": "text/plain" - }, - "key": "CommonResponseHeader", - "value": "TrackingId,,Date," - } - ], - "body": "{\n \"message\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "api_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" } - ] + } + } + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "Common Headers Returned", + "type": "text/plain" + }, + "key": "CommonResponseHeader", + "value": "TrackingId,,Date," + } + ], + "body": "{\n \"message\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" } - ] - } - ], - "event": [], - "variable": [ - { - "key": "baseUrl", - "value": "http://localhost:3000/v1" - } - ], - "info": { - "_postman_id": "8cb3e43f-23cf-4d45-a918-c70732e1945f", - "name": "Imported from OpenAPI", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "description": { - "content": "This is the API for the Pet Store.\n\nContact Support:\n Name: Dan Tolbert: dantolbe@cisco.com", - "type": "text/plain" + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ] } + ] + } + ], + "event": [], + "variable": [ + { + "key": "baseUrl", + "value": "http://localhost:3000/v1" + } + ], + "info": { + "_postman_id": "8cb3e43f-23cf-4d45-a918-c70732e1945f", + "name": "Imported from OpenAPI", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "description": { + "content": "This is the API for the Pet Store.\n\nContact Support:\n Name: Dan Tolbert: dantolbe@cisco.com", + "type": "text/plain" } -} \ No newline at end of file + } +}