Files
fastapi-openapi-to-postman/test/data/validationData/issues/issue#478/path-variable-does-not-match-collection.json
Erik Mendoza 7005ff538e Fix the naming and extracting function to commonUtils
Renaming some variables and extracting a method to common utils
2022-03-14 11:33:02 -06:00

146 lines
4.1 KiB
JSON

{
"item": [
{
"id": "6e5b8ef6-6d5c-4e02-9f04-e26cb8b7b16e",
"name": "pets",
"description": {
"content": "",
"type": "text/plain"
},
"item": [
{
"id": "79c48c16-3de3-49ab-a92b-e86034a85ea8",
"name": "Info for a specific pet",
"request": {
"name": "Info for a specific pet",
"description": {},
"url": {
"path": [
"pets",
":petId"
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": [
{
"disabled": false,
"type": "any",
"value": "eu consectetur",
"key": "petId",
"description": "(Required) The id of the pet to retrieve"
}
]
},
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"method": "GET",
"auth": null
},
"response": [
{
"id": "897e412c-6070-4bb4-bdcd-ee21fe96af8e",
"name": "Expected response to a valid request",
"originalRequest": {
"url": {
"path": [
"pets",
":petId"
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": [
{
"disabled": false,
"type": "any",
"value": "eu consectetur",
"key": "petId",
"description": "(Required) The id of the pet to retrieve"
}
]
},
"method": "GET",
"body": {}
},
"status": "OK",
"code": 200,
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"id\": -29008976,\n \"name\": \"laborum nostrud\",\n \"tag\": \"et veni\"\n}",
"cookie": [],
"_postman_previewlanguage": "json"
},
{
"id": "64c06a83-0235-47c3-b59a-d715a4fb0813",
"name": "unexpected error",
"originalRequest": {
"url": {
"path": [
"pets",
":petId"
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": [
{
"disabled": false,
"type": "any",
"value": "eu consectetur",
"key": "petId",
"description": "(Required) The id of the pet to retrieve"
}
]
},
"method": "GET",
"body": {}
},
"status": "Internal Server Error",
"code": 500,
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"code\": -96155831,\n \"message\": \"ex consectetur commodo\"\n}",
"cookie": [],
"_postman_previewlanguage": "json"
}
],
"event": []
}
],
"event": []
}
],
"event": [],
"variable": [
{
"type": "string",
"value": "http://petstore.swagger.io/v1",
"key": "baseUrl"
}
],
"info": {
"_postman_id": "4cf22e75-4c05-4d03-85a8-4eca00651300",
"name": "Swagger Petstore",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"description": {
"content": "",
"type": "text/plain"
}
}
}