diff --git a/test/swaggers/GET-ok-swagger.yaml b/test/swaggers/GET-ok-swagger.yaml index 2d6b3d1..900f6cd 100644 --- a/test/swaggers/GET-ok-swagger.yaml +++ b/test/swaggers/GET-ok-swagger.yaml @@ -34,7 +34,7 @@ paths: summary: "Finds Pets by status" description: "Multiple status values can be provided with comma separated strings" operationId: "findPetsByStatus" - consumes: + produces: - "application/json" parameters: - name: "status" @@ -110,7 +110,7 @@ paths: summary: "Returns pet inventories by status" description: "Returns a map of status codes to quantities" operationId: "getInventory" - consumes: + produces: - "application/json" parameters: [] responses: diff --git a/test/swaggers/GET-whitout-response-2XX-swagger.yaml b/test/swaggers/GET-whitout-response-2XX-swagger.yaml index 8d02e32..d9df0af 100644 --- a/test/swaggers/GET-whitout-response-2XX-swagger.yaml +++ b/test/swaggers/GET-whitout-response-2XX-swagger.yaml @@ -34,7 +34,7 @@ paths: summary: "Finds Pets by status" description: "Multiple status values can be provided with comma separated strings" operationId: "findPetsByStatus" - consumes: + produces: - "application/json" responses: 400: diff --git a/test/swaggers/GET-whitout-response-401-swagger.yaml b/test/swaggers/GET-whitout-response-401-swagger.yaml index 335dc70..c34de93 100644 --- a/test/swaggers/GET-whitout-response-401-swagger.yaml +++ b/test/swaggers/GET-whitout-response-401-swagger.yaml @@ -34,7 +34,7 @@ paths: summary: "Finds Pets by status" description: "Multiple status values can be provided with comma separated strings" operationId: "findPetsByStatus" - consumes: + produces: - "application/json" responses: 200: diff --git a/test/swaggers/not-implemented-swagger.yaml b/test/swaggers/not-implemented-swagger.yaml index b92cbc0..c255af4 100644 --- a/test/swaggers/not-implemented-swagger.yaml +++ b/test/swaggers/not-implemented-swagger.yaml @@ -34,7 +34,7 @@ paths: summary: "Finds Pets by status" description: "Multiple status values can be provided with comma separated strings" operationId: "findPetsByStatus" - consumes: + produces: - "application/json" parameters: - name: "status" diff --git a/test/swaggers/parameter-enum-response-400-swagger.yaml b/test/swaggers/parameter-enum-response-400-swagger.yaml index e934efb..c36f3c8 100644 --- a/test/swaggers/parameter-enum-response-400-swagger.yaml +++ b/test/swaggers/parameter-enum-response-400-swagger.yaml @@ -34,7 +34,7 @@ paths: summary: "Finds Pets by status" description: "Multiple status values can be provided with comma separated strings" operationId: "findPetsByStatus" - consumes: + produces: - "application/json" parameters: - name: "status" diff --git a/test/swaggers/parameter-required-ignore-404-swagger.yaml b/test/swaggers/parameter-required-ignore-404-swagger.yaml index 15b4d3c..b1206db 100644 --- a/test/swaggers/parameter-required-ignore-404-swagger.yaml +++ b/test/swaggers/parameter-required-ignore-404-swagger.yaml @@ -35,7 +35,7 @@ paths: summary: "Finds Pets by status" description: "Multiple status values can be provided with comma separated strings" operationId: "findPetsByStatus" - consumes: + produces: - "application/json" parameters: - name: "status" diff --git a/test/swaggers/parameter-required-response-404-swagger.yaml b/test/swaggers/parameter-required-response-404-swagger.yaml index 4190acb..f18368a 100644 --- a/test/swaggers/parameter-required-response-404-swagger.yaml +++ b/test/swaggers/parameter-required-response-404-swagger.yaml @@ -34,7 +34,7 @@ paths: summary: "Finds Pets by status" description: "Multiple status values can be provided with comma separated strings" operationId: "findPetsByStatus" - consumes: + produces: - "application/json" parameters: - name: "status" diff --git a/test/swaggers/petstore-swagger-postman.json b/test/swaggers/petstore-swagger-postman.json index 7c8cc59..a05d861 100644 --- a/test/swaggers/petstore-swagger-postman.json +++ b/test/swaggers/petstore-swagger-postman.json @@ -4,7 +4,7 @@ "name": "pet", "item": [ { - "id": "951207b0-3968-4176-9954-7f567beda37d", + "id": "2e234662-4af4-4002-8e0a-2ad316eca3b4", "name": "[201] on /pet", "request": { "url": { @@ -42,7 +42,7 @@ { "listen": "test", "script": { - "id": "d704a003-3935-4148-84b8-639e31d14ee4", + "id": "80fe4905-422c-49fe-85ba-ec64b1035543", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -66,7 +66,7 @@ ] }, { - "id": "dc708b3b-68c9-4f27-8200-aac24312d7a0", + "id": "a8bcb021-2c4b-483b-b941-9fd2c51f081f", "name": "['400'] on /pet", "request": { "url": { @@ -103,7 +103,7 @@ { "listen": "test", "script": { - "id": "1a9cd42e-9c92-4d42-a018-79164259d9b0", + "id": "8517c9ea-3234-48a0-81cb-62acd0798b7f", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -118,7 +118,7 @@ ] }, { - "id": "c0f0d851-7ecb-4008-83ff-e601ac479f0d", + "id": "28e109ee-d056-4588-acc2-8c0396bdfddc", "name": "['401'] on /pet", "request": { "url": { @@ -151,7 +151,7 @@ { "listen": "test", "script": { - "id": "6a4109e1-4ed2-4938-a91c-ec43d868aa79", + "id": "ffff91ac-786a-4f4c-a077-7521eb9cd030", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -166,7 +166,7 @@ ] }, { - "id": "10f3afed-d2fe-4bc6-a058-074fe8f72909", + "id": "111bb462-6454-4895-8cb9-74ad820c5c8d", "name": "[200] on /pet/findByStatus", "request": { "url": { @@ -188,11 +188,11 @@ "header": [ { "key": "accept", - "value": "application/json" + "value": "" }, { "key": "content-type", - "value": "" + "value": "application/json" }, { "key": "Authorization", @@ -210,11 +210,11 @@ { "listen": "test", "script": { - "id": "6cf3758e-2f4f-454b-b1a3-bf63c26f9c55", + "id": "282a6740-beca-4e5f-9660-54c9c8e00d6d", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", - " pm.expect(pm.response.headers.has(\"Content-Type\", \"application/json\"));", + " pm.expect(pm.response.headers.has(\"Content-Type\", \"undefined\"));", "});", "pm.test(\"Status code is 200\", function() {", " pm.response.to.have.status(200);", @@ -305,7 +305,7 @@ ] }, { - "id": "f8ee2872-cc87-4d30-aa5d-881c6233f6dd", + "id": "71c40462-ce88-44ee-b582-d1b9a4639c7a", "name": "[400] on /pet/findByStatus", "request": { "url": { @@ -327,11 +327,11 @@ "header": [ { "key": "accept", - "value": "application/json" + "value": "" }, { "key": "content-type", - "value": "" + "value": "application/json" }, { "key": "Authorization", @@ -349,11 +349,11 @@ { "listen": "test", "script": { - "id": "d3feed63-5a94-4b45-8cd9-03fd2441dc31", + "id": "f1a024dd-63f9-41b8-bc16-d5483f1afd21", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", - " pm.expect(pm.response.headers.has(\"Content-Type\", \"application/json\"));", + " pm.expect(pm.response.headers.has(\"Content-Type\", \"undefined\"));", "});", "pm.test(\"Status code is 400\", function() {", " pm.response.to.have.status(400);", @@ -364,7 +364,7 @@ ] }, { - "id": "ad8f2a6a-3e3c-4591-812f-d61140828f46", + "id": "a5e71575-9a99-4310-a846-f6c6a5bb4232", "name": "['401'] on /pet/findByStatus", "request": { "url": { @@ -387,11 +387,11 @@ "header": [ { "key": "accept", - "value": "application/json" + "value": "" }, { "key": "content-type", - "value": "" + "value": "application/json" } ], "method": "GET", @@ -405,11 +405,11 @@ { "listen": "test", "script": { - "id": "4bf8937d-7a9d-4366-815f-a892c22ff602", + "id": "4497d6aa-6cd3-4edd-b32b-54c2afd8f915", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", - " pm.expect(pm.response.headers.has(\"Content-Type\", \"application/json\"));", + " pm.expect(pm.response.headers.has(\"Content-Type\", \"undefined\"));", "});", "pm.test(\"Status code is 401\", function() {", " pm.response.to.have.status(401);", @@ -420,7 +420,7 @@ ] }, { - "id": "3e1602d1-4d5f-4e3c-bd5e-47a4a13e2029", + "id": "b1d4db2a-3eaf-4ca9-8dca-3b7b04d5f40a", "name": "[404] on /pet/findByStatus", "request": { "url": { @@ -442,11 +442,11 @@ "header": [ { "key": "accept", - "value": "application/json" + "value": "" }, { "key": "content-type", - "value": "" + "value": "application/json" }, { "key": "Authorization", @@ -464,11 +464,11 @@ { "listen": "test", "script": { - "id": "32c4acfd-2ee8-4f20-a53d-81b1b38d7367", + "id": "5ac47f26-389c-48fa-829f-3c63cf507fd9", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", - " pm.expect(pm.response.headers.has(\"Content-Type\", \"application/json\"));", + " pm.expect(pm.response.headers.has(\"Content-Type\", \"undefined\"));", "});", "pm.test(\"Status code is 404\", function() {", " pm.response.to.have.status(404);", @@ -479,7 +479,7 @@ ] }, { - "id": "52f87510-3047-4018-98fe-c3d3130b9779", + "id": "270559d8-4c61-48a0-a6a3-e4261a7b752b", "name": "[200] on /pet/:petId", "request": { "url": { @@ -523,7 +523,7 @@ { "listen": "test", "script": { - "id": "f338ad5d-7aef-4be3-b825-2a494d1b6bd3", + "id": "6400eaa5-7131-4717-b945-73f99d06308b", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -538,7 +538,7 @@ ] }, { - "id": "fac41ab9-efa9-4b9e-a7b2-d4e168bf5dee", + "id": "905085a7-8c43-4a0f-9a98-7d354e28a490", "name": "[400] on /pet/:petId", "request": { "url": { @@ -582,7 +582,7 @@ { "listen": "test", "script": { - "id": "179e0be5-b0ad-4a5e-87ec-7883072b16d1", + "id": "850ad5eb-0b70-447c-9916-12b00b7c5ab7", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -597,7 +597,7 @@ ] }, { - "id": "a03e0832-d768-4b88-8110-4d51126abcdc", + "id": "8eacc4ff-562f-4e04-9415-16299fd31d5f", "name": "['401'] on /pet/{petId}", "request": { "url": { @@ -637,7 +637,7 @@ { "listen": "test", "script": { - "id": "c744e525-ec37-42b8-aa5e-dbe4e647f3be", + "id": "8a62a929-dd0c-4b06-81fa-deb8a6cc943c", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -652,7 +652,7 @@ ] }, { - "id": "085311a2-28e3-44b6-8f2d-8773e17499f0", + "id": "7a80d581-dc7a-4e63-b62e-34ad0fd463d8", "name": "['404'] on /pet/{petId}", "request": { "url": { @@ -696,7 +696,7 @@ { "listen": "test", "script": { - "id": "1b35e1e7-f3c9-4c58-b450-4164714a1783", + "id": "bc41d582-4b5d-40cd-b579-d179b6fcd67d", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -711,7 +711,7 @@ ] }, { - "id": "ee9174c5-eb04-4642-9ab7-dec218b26b59", + "id": "4548443e-0bc5-43b1-84e6-c366f9aaf07a", "name": "[200] on /pet/:petId", "request": { "url": { @@ -755,7 +755,7 @@ { "listen": "test", "script": { - "id": "43c16968-91ca-4fa6-8f86-324c670af488", + "id": "78d1af5e-4e5b-41e4-8a64-2d9368c8a4b4", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -770,7 +770,7 @@ ] }, { - "id": "740f8bfe-5a70-4c4d-961c-f60be0beafa8", + "id": "a4cd5ed7-b57e-46ee-9106-b452a33a9937", "name": "[400] on /pet/:petId", "request": { "url": { @@ -814,7 +814,7 @@ { "listen": "test", "script": { - "id": "23017188-3110-49b7-a548-c05dc379c48b", + "id": "59b677c6-9220-4f4f-9ca9-c8476725abfa", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -829,7 +829,7 @@ ] }, { - "id": "ba12ea0e-c791-4cda-820c-334da93881b9", + "id": "fd4cd8be-c791-49c4-ab93-1b1372d40707", "name": "['401'] on /pet/{petId}", "request": { "url": { @@ -868,7 +868,7 @@ { "listen": "test", "script": { - "id": "4f97c546-1787-4aa9-8f18-5e5bf04dcd73", + "id": "2042f22a-cd4a-4a7b-8a5c-2394168a2044", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -883,7 +883,7 @@ ] }, { - "id": "a4612582-8314-463d-b2a9-166ac7e0445f", + "id": "18269292-aeda-4028-bba4-198adf2dadec", "name": "[404] on /pet/:petId", "request": { "url": { @@ -927,7 +927,7 @@ { "listen": "test", "script": { - "id": "250b5c4d-86dd-4e92-afb1-b05e3622594d", + "id": "44d9b17b-b41b-400c-adc4-c38ff6726c21", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -942,7 +942,7 @@ ] }, { - "id": "571c3b4c-ab73-44d2-975b-aa3f670b30e7", + "id": "f6396764-3b7a-4739-84d5-c73a1bf2d189", "name": "[204] on /pet/:petId", "request": { "url": { @@ -991,7 +991,7 @@ { "listen": "test", "script": { - "id": "47ea72af-6233-405c-ad1c-4fe405fbc86d", + "id": "97dc9521-1b15-4c96-9164-2bc3db99cbfb", "type": "text/javascript", "exec": [ "pm.test(\"Body is empty\", function() {", @@ -1007,7 +1007,7 @@ ] }, { - "id": "b921c134-597d-4788-9d4f-4ff2187acdce", + "id": "52ba5dd0-7489-46ba-9e03-a815bd25cf62", "name": "[400] on /pet/:petId", "request": { "url": { @@ -1056,7 +1056,7 @@ { "listen": "test", "script": { - "id": "f6e4d900-c8ed-4585-be64-ccdad28dc885", + "id": "93a863e3-d9a3-4ad6-99b9-d490bda92a7e", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -1071,7 +1071,7 @@ ] }, { - "id": "56cbed5d-3561-4442-a1d7-3f79a6ecb809", + "id": "5ccc5e55-f24c-4abd-9acc-ea80e7a136ab", "name": "['401'] on /pet/{petId}", "request": { "url": { @@ -1116,7 +1116,7 @@ { "listen": "test", "script": { - "id": "8856d4f0-d925-4963-aad3-5057c31526cf", + "id": "b917ed12-399d-49e6-9b0e-594663e9e11a", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -1131,7 +1131,7 @@ ] }, { - "id": "1a2cbfbc-1202-4784-97a6-7e9912274eb7", + "id": "95b53646-c490-4cd5-8380-8dfa3bb27cb5", "name": "['404'] on /pet/{petId}", "request": { "url": { @@ -1180,7 +1180,7 @@ { "listen": "test", "script": { - "id": "68e53ca3-cfe1-4a8e-8e7e-d194395f64c0", + "id": "16f9f446-5334-4393-ad27-efa85f63e7fd", "type": "text/javascript", "exec": [ "pm.test(\"Content-Type is present\", function() {", @@ -1219,7 +1219,7 @@ } ], "info": { - "_postman_id": "acb0f120-5e07-4162-88bf-022d634bc2c0", + "_postman_id": "f52cdd6e-b18f-4032-a5f4-06b0d47458a4", "name": "Swagger Petstore", "version": { "raw": "1.0.0", diff --git a/test/swaggers/petstore-swagger.yaml b/test/swaggers/petstore-swagger.yaml index 7680d88..8a2ab27 100644 --- a/test/swaggers/petstore-swagger.yaml +++ b/test/swaggers/petstore-swagger.yaml @@ -84,7 +84,7 @@ paths: summary: "Finds Pets by status" description: "Multiple status values can be provided with comma separated strings" operationId: "findPetsByStatus" - consumes: + produces: - "application/json" parameters: - name: "status"