{"items":[{"type":"link","label":"Swagger Petstore","link":"/petstore","routeSlug":"/petstore","content":{"contentType":"overview","meta":{"name":"Swagger Petstore"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"petstore.json","url":"/_bundle/petstore.json?download"},{"kind":"download","label":"petstore.yaml","url":"/_bundle/petstore.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"externallink","title":"URL","titleTranslationKey":"info.contact.url","label":"https://github.com/Redocly/redoc","url":"https://github.com/Redocly/redoc"},{"kind":"email","title":"API Support","email":"apiteam@swagger.io","label":"apiteam@swagger.io","withCopyButton":true,"copyContent":"apiteam@swagger.io"},{"kind":"externallink","title":"License","titleTranslationKey":"info.license","label":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},{"kind":"externallink","label":"Terms of Service","labelTranslationKey":"info.termsOfService","url":"http://swagger.io/terms/"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Swagger Petstore (1.0.0)","showPageActions":true},{"nodeType":"markdoc","content":"My lovely API"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This is a sample server Petstore server."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can find out more about Swagger at"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"http://swagger.io"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"http://swagger.io"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or on "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"http://swagger.io/irc/"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"irc.freenode.net, #swagger"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For this sample, you can use the api key "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"special-key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to test the authorization filters."},"children":[]}]}]}]}],"sectionId":"/petstore"},{"nodeType":"external-docs","url":"https://github.com/Rebilly/generator-openapi-repo","description":"Find out how to create Github repo for your OpenAPI spec."}],"sectionId":"/petstore"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":1,"id":"section/introduction"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Introduction"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This API is documented in "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"OpenAPI format"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and is based on"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"http://petstore.swagger.io/"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Petstore sample"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" provided by "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"http://swagger.io"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"swagger.io"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" team."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It was "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"extended"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to illustrate features of "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://github.com/Rebilly/generator-openapi-repo"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"generator-openapi-repo"},"children":[]}]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"tool and "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://github.com/Redocly/redoc"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ReDoc"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" documentation. In addition to standard"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"OpenAPI syntax we use a few "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://github.com/Redocly/redoc/blob/main/docs/redoc-vendor-extensions.md"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"vendor extensions"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"sectionId":"/petstore/section/introduction"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":1,"id":"section/openapi-specification"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"OpenAPI Specification"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This API is documented in "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"OpenAPI format"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and is based on"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"http://petstore.swagger.io/"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Petstore sample"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" provided by "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"http://swagger.io"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"swagger.io"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" team."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It was "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"extended"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to illustrate features of "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://github.com/Rebilly/generator-openapi-repo"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"generator-openapi-repo"},"children":[]}]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"tool and "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://github.com/Redocly/redoc"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ReDoc"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" documentation. In addition to standard"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"OpenAPI syntax we use a few "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://github.com/Redocly/redoc/blob/main/docs/redoc-vendor-extensions.md"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"vendor extensions"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"sectionId":"/petstore/section/openapi-specification"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":1,"id":"section/cross-origin-resource-sharing"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Cross-Origin Resource Sharing"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with  "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://www.w3.org/TR/cors/"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"W3C spec"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"And that allows cross-domain communication from the browser."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site."},"children":[]}]}]}]}],"sectionId":"/petstore/section/cross-origin-resource-sharing"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":1,"id":"section/authentication"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Petstore offers two forms of authentication:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API Key"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"OAuth2"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"OAuth2 - an open protocol to allow secure authorization in a simple"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"and standard method from web, mobile and desktop applications."},"children":[]}]}]}]}]}],"sectionId":"/petstore/section/authentication"}]}]}},{"type":"link","label":"Introduction","link":"/petstore/section/introduction","routeSlug":"/petstore/section/introduction","content":null},{"type":"link","label":"OpenAPI Specification","link":"/petstore/section/openapi-specification","routeSlug":"/petstore/section/openapi-specification","content":null},{"type":"link","label":"Cross-Origin Resource Sharing","link":"/petstore/section/cross-origin-resource-sharing","routeSlug":"/petstore/section/cross-origin-resource-sharing","content":null},{"type":"link","label":"Authentication","link":"/petstore/section/authentication","routeSlug":"/petstore/section/authentication","content":null},{"type":"separator","label":"General","content":null},{"type":"group","label":"pet","link":"/petstore/pet","routeSlug":"/petstore/pet","items":[{"label":"Add a new pet to the store","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/pet/addpet","routeSlug":"/petstore/pet/addpet","metadata":{"seo":{"title":"Add a new pet to the store","description":"Add new pet to the store inventory."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"addPet","name":"Add a new pet to the store","isWebhook":false,"pointer":"/paths/~1pet/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Add a new pet to the store","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Add new pet to the store inventory."},{"nodeType":"security","requirements":[{"schemes":[{"name":"petstore_auth","scopes":["write:pets","read:pets"],"type":"oauth2","description":"Get access to data while protecting your account credentials.\nOAuth2 is also a safer and more secure way to give you access.\n","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}]}]},{"nodeType":"item-content","variant":"cookies","label":"Cookies","labelTranslationKey":"cookie","parameters":[{"name":"cookieParam","in":"cookie","schemaId":"schema_77","description":"Some cookie","required":true}],"pointer":"/paths/~1pet/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_78","description":"The language you prefer for messages. Supported values are en-AU, en-CA, en-GB, en-US","example":"en-US"}],"pointer":"/paths/~1pet/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json","application/xml"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"schema_79"}},"schemaId":"components/schemas/Pet","pointer":"/paths/~1pet/post/requestBody","description":"Pet object that needs to be added to the store"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pet","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":false,"example":"en-US","schemaId":"schema_78"}],"cookie":[{"name":"cookieParam","in":"cookie","required":true,"schemaId":"schema_77"}]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}],"scopes":["write:pets","read:pets"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"schema_79"}},"responseCodes":["405"],"pointer":"/pet","href":"pet/addpet","openApiOperationId":"addPet","summary":"Add a new pet to the store"},"definitionSamples":[{"lang":"C#","source":"PetStore.v1.Pet pet = new PetStore.v1.Pet();\npet.setApiKey(\"your api key\");\npet.petType = PetStore.v1.Pet.TYPE_DOG;\npet.name = \"Rex\";\n// set other fields\nPetStoreResponse response = pet.create();\nif (response.statusCode == HttpStatusCode.Created)\n{\n  // Successfully created\n}\nelse\n{\n  // Something wrong -- check response for errors\n  Console.WriteLine(response.getRawResponse());\n}\n"},{"lang":"PHP","source":"$form = new \\PetStore\\Entities\\Pet();\n$form->setPetType(\"Dog\");\n$form->setName(\"Rex\");\n// set other fields\ntry {\n    $pet = $client->pets()->create($form);\n} catch (UnprocessableEntityException $e) {\n    var_dump($e->getErrors());\n}\n"}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"schemaId":"components/schemas/Pet","mediaTypes":["application/json","application/xml"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"schema_79"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"405","description":"Invalid input"}],"pointer":"/paths/~1pet/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/addpet"}],"panels":[]}]},"httpPath":"/pet"},{"label":"Update an existing pet","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/pet/updatepet","routeSlug":"/petstore/pet/updatepet","metadata":{"seo":{"title":"Update an existing pet","description":"Update an existing pet"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updatePet","name":"Update an existing pet","isWebhook":false,"pointer":"/paths/~1pet/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update an existing pet","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"petstore_auth","scopes":["write:pets","read:pets"],"type":"oauth2","description":"Get access to data while protecting your account credentials.\nOAuth2 is also a safer and more secure way to give you access.\n","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}]}]},{"nodeType":"item-content","variant":"cookies","label":"Cookies","labelTranslationKey":"cookie","parameters":[{"name":"cookieParam","in":"cookie","schemaId":"schema_77","description":"Some cookie","required":true}],"pointer":"/paths/~1pet/put/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_78","description":"The language you prefer for messages. Supported values are en-AU, en-CA, en-GB, en-US","example":"en-US"}],"pointer":"/paths/~1pet/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json","application/xml"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"schema_79"}},"schemaId":"components/schemas/Pet","pointer":"/paths/~1pet/put/requestBody","description":"Pet object that needs to be added to the store"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/pet","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":false,"example":"en-US","schemaId":"schema_78"}],"cookie":[{"name":"cookieParam","in":"cookie","required":true,"schemaId":"schema_77"}]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}],"scopes":["write:pets","read:pets"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"schema_79"}},"responseCodes":["400","404","405"],"pointer":"/pet","href":"pet/updatepet","openApiOperationId":"updatePet","summary":"Update an existing pet"},"definitionSamples":[{"lang":"PHP","source":"$form = new \\PetStore\\Entities\\Pet();\n$form->setPetId(1);\n$form->setPetType(\"Dog\");\n$form->setName(\"Rex\");\n// set other fields\ntry {\n    $pet = $client->pets()->update($form);\n} catch (UnprocessableEntityException $e) {\n    var_dump($e->getErrors());\n}\n"}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"schemaId":"components/schemas/Pet","mediaTypes":["application/json","application/xml"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"schema_79"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"400","description":"Invalid ID supplied"},{"code":"404","description":"Pet not found"},{"code":"405","description":"Validation exception"}],"pointer":"/paths/~1pet/put/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/updatepet"}],"panels":[]}]},"httpPath":"/pet"},{"label":"OperationId with quotes","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/pet/deletepetby\"id","routeSlug":"/petstore/pet/deletepetby\"id","metadata":{"seo":{"title":"OperationId with quotes","description":"OperationId with quotes"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deletePetBy\"Id","name":"OperationId with quotes","isWebhook":false,"pointer":"/paths/~1pet/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"OperationId with quotes","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"cookies","label":"Cookies","labelTranslationKey":"cookie","parameters":[{"name":"cookieParam","in":"cookie","schemaId":"schema_77","description":"Some cookie","required":true}],"pointer":"/paths/~1pet/delete/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_78","description":"The language you prefer for messages. Supported values are en-AU, en-CA, en-GB, en-US","example":"en-US"}],"pointer":"/paths/~1pet/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/pet","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":false,"example":"en-US","schemaId":"schema_78"}],"cookie":[{"name":"cookieParam","in":"cookie","required":true,"schemaId":"schema_77"}]},"security":[],"pointer":"/pet","href":"pet/deletepetby\"id","openApiOperationId":"deletePetBy\"Id","summary":"OperationId with quotes"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/deletepetby\"id"}],"panels":[]}]},"httpPath":"/pet"},{"label":"OperationId with backslash","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/pet/delete%5cpetbyid","routeSlug":"/petstore/pet/delete%5cpetbyid","metadata":{"seo":{"title":"OperationId with backslash","description":"OperationId with backslash"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"delete\\PetById","name":"OperationId with backslash","isWebhook":false,"pointer":"/paths/~1pet/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"OperationId with backslash","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"cookies","label":"Cookies","labelTranslationKey":"cookie","parameters":[{"name":"cookieParam","in":"cookie","schemaId":"schema_77","description":"Some cookie","required":true}],"pointer":"/paths/~1pet/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_78","description":"The language you prefer for messages. Supported values are en-AU, en-CA, en-GB, en-US","example":"en-US"}],"pointer":"/paths/~1pet/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pet","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":false,"example":"en-US","schemaId":"schema_78"}],"cookie":[{"name":"cookieParam","in":"cookie","required":true,"schemaId":"schema_77"}]},"security":[],"pointer":"/pet","href":"pet/delete%5cpetbyid","openApiOperationId":"delete\\PetById","summary":"OperationId with backslash"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/delete%5cpetbyid"}],"panels":[]}]},"httpPath":"/pet"},{"label":"Find pet by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/pet/getpetbyid","routeSlug":"/petstore/pet/getpetbyid","metadata":{"seo":{"title":"Find pet by ID","description":"Returns a single pet"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getPetById","name":"Find pet by ID","isWebhook":false,"pointer":"/paths/~1pet~1{petId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Find pet by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns a single pet"},{"nodeType":"security","requirements":[{"schemes":[{"name":"api_key","scopes":[],"type":"apiKey","in":"header","paramName":"api_key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For this sample, you can use the api key "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"special-key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to test the authorization filters."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"petId","in":"path","schemaId":"schema_77","description":"ID of pet to return","required":true,"deprecated":true}],"pointer":"/paths/~1pet~1{petId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pet/{petId}","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[{"name":"petId","in":"path","required":true,"schemaId":"schema_77"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"api_key","type":"apiKey","name":"api_key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","404"],"pointer":"/pet/{petId}","href":"pet/getpetbyid","openApiOperationId":"getPetById","summary":"Find pet by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"successful operation","mediaType":"application/json","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"components/schemas/Pet"}},"schemaId":"components/schemas/Pet"},{"code":"400","description":"Invalid ID supplied"},{"code":"404","description":"Pet not found"}],"pointer":"/paths/~1pet~1{petId}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/Pet","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"components/schemas/Pet"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/getpetbyid"}],"panels":[]}]},"httpPath":"/pet/{petId}"},{"label":"Updates a pet in the store with form data","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/pet/updatepetwithform","routeSlug":"/petstore/pet/updatepetwithform","metadata":{"seo":{"title":"Updates a pet in the store with form data","description":"Updates a pet in the store with form data"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updatePetWithForm","name":"Updates a pet in the store with form data","isWebhook":false,"pointer":"/paths/~1pet~1{petId}/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Updates a pet in the store with form data","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"petstore_auth","scopes":["write:pets","read:pets"],"type":"oauth2","description":"Get access to data while protecting your account credentials.\nOAuth2 is also a safer and more secure way to give you access.\n","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"petId","in":"path","schemaId":"schema_77","description":"ID of pet that needs to be updated","required":true}],"pointer":"/paths/~1pet~1{petId}/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"schema_80"}},"schemaId":"schema_80","pointer":"/paths/~1pet~1{petId}/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pet/{petId}","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[{"name":"petId","in":"path","required":true,"schemaId":"schema_77"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}],"scopes":["write:pets","read:pets"]}],"requestBody":{"application/x-www-form-urlencoded":{"schemaId":"schema_80"}},"responseCodes":["405"],"pointer":"/pet/{petId}","href":"pet/updatepetwithform","openApiOperationId":"updatePetWithForm","summary":"Updates a pet in the store with form data"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"schemaId":"schema_80","mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"schema_80"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"405","description":"Invalid input"}],"pointer":"/paths/~1pet~1{petId}/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/updatepetwithform"}],"panels":[]}]},"httpPath":"/pet/{petId}"},{"label":"Deletes a pet","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/pet/deletepet","routeSlug":"/petstore/pet/deletepet","metadata":{"seo":{"title":"Deletes a pet","description":"Deletes a pet"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deletePet","name":"Deletes a pet","isWebhook":false,"pointer":"/paths/~1pet~1{petId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Deletes a pet","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"petstore_auth","scopes":["write:pets","read:pets"],"type":"oauth2","description":"Get access to data while protecting your account credentials.\nOAuth2 is also a safer and more secure way to give you access.\n","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"petId","in":"path","schemaId":"schema_77","description":"Pet id to delete","required":true}],"pointer":"/paths/~1pet~1{petId}/delete/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"api_key","in":"header","schemaId":"schema_81","example":"Bearer <TOKEN>"}],"pointer":"/paths/~1pet~1{petId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/pet/{petId}","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[{"name":"petId","in":"path","required":true,"schemaId":"schema_77"}],"query":[],"querystring":[],"header":[{"name":"api_key","in":"header","required":false,"example":"Bearer <TOKEN>","schemaId":"schema_81"}],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}],"scopes":["write:pets","read:pets"]}],"responseCodes":["400"],"pointer":"/pet/{petId}","href":"pet/deletepet","openApiOperationId":"deletePet","summary":"Deletes a pet"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"400","description":"Invalid pet value"}],"pointer":"/paths/~1pet~1{petId}/delete/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/deletepet"}],"panels":[]}]},"httpPath":"/pet/{petId}"},{"label":"uploads an image","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/pet/uploadfile","routeSlug":"/petstore/pet/uploadfile","metadata":{"seo":{"title":"uploads an image","description":"uploads an image"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"uploadFile","name":"uploads an image","isWebhook":false,"pointer":"/paths/~1pet~1{petId}~1uploadImage/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"uploads an image","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"petstore_auth","scopes":["write:pets","read:pets"],"type":"oauth2","description":"Get access to data while protecting your account credentials.\nOAuth2 is also a safer and more secure way to give you access.\n","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"petId","in":"path","schemaId":"schema_77","description":"ID of pet to update","required":true}],"pointer":"/paths/~1pet~1{petId}~1uploadImage/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/octet-stream"],"mediaTypeSchemas":{"application/octet-stream":{"schemaId":"schema_82"}},"schemaId":"schema_82","pointer":"/paths/~1pet~1{petId}~1uploadImage/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pet/{petId}/uploadImage","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[{"name":"petId","in":"path","required":true,"schemaId":"schema_77"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}],"scopes":["write:pets","read:pets"]}],"requestBody":{"application/octet-stream":{"schemaId":"schema_82"}},"responseCodes":["200"],"pointer":"/pet/{petId}/uploadImage","href":"pet/uploadfile","openApiOperationId":"uploadFile","summary":"uploads an image"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"schemaId":"schema_82","mediaTypes":["application/octet-stream"],"mediaTypeSchemas":{"application/octet-stream":{"schemaId":"schema_82"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponse"}},"schemaId":"components/schemas/ApiResponse"}],"pointer":"/paths/~1pet~1{petId}~1uploadImage/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/uploadfile"}],"panels":[]}]},"httpPath":"/pet/{petId}/uploadImage"},{"label":"Finds Pets by status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/pet/findpetsbystatus","routeSlug":"/petstore/pet/findpetsbystatus","metadata":{"seo":{"title":"Finds Pets by status","description":"Multiple status values can be provided with comma separated strings"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"findPetsByStatus","name":"Finds Pets by status","isWebhook":false,"pointer":"/paths/~1pet~1findByStatus/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Finds Pets by status","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Multiple status values can be provided with comma separated strings"},{"nodeType":"security","requirements":[{"schemes":[{"name":"petstore_auth","scopes":["write:pets","read:pets"],"type":"oauth2","description":"Get access to data while protecting your account credentials.\nOAuth2 is also a safer and more secure way to give you access.\n","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"status","in":"query","schemaId":"schema_83","description":"Status values that need to be considered for filter","required":true}],"pointer":"/paths/~1pet~1findByStatus/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pet/findByStatus","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[{"name":"status","in":"query","required":true,"schemaId":"schema_83","style":"form"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}],"scopes":["write:pets","read:pets"]}],"responseCodes":["200","400"],"pointer":"/pet/findByStatus","href":"pet/findpetsbystatus","openApiOperationId":"findPetsByStatus","summary":"Finds Pets by status"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"successful operation","mediaType":"application/json","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"schema_84"},"application/xml":{"schemaId":"schema_84"}},"schemaId":"schema_84"},{"code":"400","description":"Invalid status value"}],"pointer":"/paths/~1pet~1findByStatus/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_84","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"schema_84"},"application/xml":{"schemaId":"schema_84"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/findpetsbystatus"}],"panels":[]}]},"httpPath":"/pet/findByStatus"},{"label":"Finds Pets by tags","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/pet/findpetsbytags","routeSlug":"/petstore/pet/findpetsbytags","metadata":{"seo":{"title":"Finds Pets by tags","description":"Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"findPetsByTags","name":"Finds Pets by tags","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pet~1findByTags/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Finds Pets by tags","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."},{"nodeType":"security","requirements":[{"schemes":[{"name":"petstore_auth","scopes":["write:pets","read:pets"],"type":"oauth2","description":"Get access to data while protecting your account credentials.\nOAuth2 is also a safer and more secure way to give you access.\n","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"tags","in":"query","schemaId":"schema_85","description":"Tags to filter by","required":true}],"pointer":"/paths/~1pet~1findByTags/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pet/findByTags","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[{"name":"tags","in":"query","required":true,"schemaId":"schema_85","style":"form"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}}],"scopes":["write:pets","read:pets"]}],"responseCodes":["200","400"],"pointer":"/pet/findByTags","href":"pet/findpetsbytags","openApiOperationId":"findPetsByTags","summary":"Finds Pets by tags"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"successful operation","mediaType":"application/json","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"schema_84"},"application/xml":{"schemaId":"schema_84"}},"schemaId":"schema_84"},{"code":"400","description":"Invalid tag value"}],"pointer":"/paths/~1pet~1findByTags/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_84","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"schema_84"},"application/xml":{"schemaId":"schema_84"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/findpetsbytags"}],"panels":[]}]},"httpPath":"/pet/findByTags"}],"content":{"contentType":"group","meta":{"name":"pet"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"pet","showPageActions":true},{"nodeType":"markdoc","content":"Everything about your Pets"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/pet","summary":"Add a new pet to the store","prefix":{"name":"post","color":"post"},"badges":[],"link":"/pet/addpet","deprecated":false},{"title":"/pet","summary":"Update an existing pet","prefix":{"name":"put","color":"put"},"badges":[],"link":"/pet/updatepet","deprecated":false},{"title":"/pet","summary":"OperationId with quotes","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/pet/deletepetby\"id","deprecated":false},{"title":"/pet","summary":"OperationId with backslash","prefix":{"name":"get","color":"get"},"badges":[],"link":"/pet/delete%5cpetbyid","deprecated":false},{"title":"/pet/{petId}","summary":"Find pet by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/pet/getpetbyid","deprecated":false},{"title":"/pet/{petId}","summary":"Updates a pet in the store with form data","prefix":{"name":"post","color":"post"},"badges":[],"link":"/pet/updatepetwithform","deprecated":false},{"title":"/pet/{petId}","summary":"Deletes a pet","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/pet/deletepet","deprecated":false},{"title":"/pet/{petId}/uploadImage","summary":"uploads an image","prefix":{"name":"post","color":"post"},"badges":[],"link":"/pet/uploadfile","deprecated":false},{"title":"/pet/findByStatus","summary":"Finds Pets by status","prefix":{"name":"get","color":"get"},"badges":[],"link":"/pet/findpetsbystatus","deprecated":false},{"title":"/pet/findByTags","summary":"Finds Pets by tags","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/pet/findpetsbytags","deprecated":true}]}]}]}]}},{"type":"group","label":"store","link":"/petstore/store","routeSlug":"/petstore/store","items":[{"label":"Returns pet inventories by status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/store/getinventory","routeSlug":"/petstore/store/getinventory","metadata":{"seo":{"title":"Returns pet inventories by status","description":"Returns a map of status codes to quantities"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getInventory","name":"Returns pet inventories by status","isWebhook":false,"pointer":"/paths/~1store~1inventory/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Returns pet inventories by status","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns a map of status codes to quantities"},{"nodeType":"security","requirements":[{"schemes":[{"name":"api_key","scopes":[],"type":"apiKey","in":"header","paramName":"api_key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For this sample, you can use the api key "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"special-key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to test the authorization filters."},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/store/inventory","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"api_key","type":"apiKey","name":"api_key","in":"header"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/store/inventory","href":"store/getinventory","openApiOperationId":"getInventory","summary":"Returns pet inventories by status"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_86"}},"schemaId":"schema_86"}],"pointer":"/paths/~1store~1inventory/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_86","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_86"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/store/getinventory"}],"panels":[]}]},"httpPath":"/store/inventory"},{"label":"Place an order for a pet","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/store/placeorder","routeSlug":"/petstore/store/placeorder","metadata":{"seo":{"title":"Place an order for a pet","description":"Place an order for a pet"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"placeOrder","name":"Place an order for a pet","isWebhook":false,"pointer":"/paths/~1store~1order/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Place an order for a pet","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Order"}},"schemaId":"components/schemas/Order","pointer":"/paths/~1store~1order/post/requestBody","description":"order placed for purchasing the pet"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/store/order","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/Order"}},"responseCodes":["200","400"],"pointer":"/store/order","href":"store/placeorder","openApiOperationId":"placeOrder","summary":"Place an order for a pet"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"schemaId":"components/schemas/Order","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Order"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"successful operation","mediaType":"application/json","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Order"},"application/xml":{"schemaId":"components/schemas/Order"}},"schemaId":"components/schemas/Order"},{"code":"400","description":"Invalid Order","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"exampleIds":["paths/~1store~1order/post/responses/400/content/application~1json/example"]}},"exampleIds":["paths/~1store~1order/post/responses/400/content/application~1json/example"]}],"pointer":"/paths/~1store~1order/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/Order","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Order"},"application/xml":{"schemaId":"components/schemas/Order"}}},{"code":"400","exampleIds":["paths/~1store~1order/post/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"exampleIds":["paths/~1store~1order/post/responses/400/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/store/placeorder"}],"panels":[]}]},"httpPath":"/store/order"},{"label":"Find purchase order by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/store/getorderbyid","routeSlug":"/petstore/store/getorderbyid","metadata":{"seo":{"title":"Find purchase order by ID","description":"For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getOrderById","name":"Find purchase order by ID","isWebhook":false,"pointer":"/paths/~1store~1order~1{orderId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Find purchase order by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions"},"children":[]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"orderId","in":"path","schemaId":"schema_87","description":"ID of pet that needs to be fetched","required":true}],"pointer":"/paths/~1store~1order~1{orderId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/store/order/{orderId}","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[{"name":"orderId","in":"path","required":true,"schemaId":"schema_87"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","404"],"pointer":"/store/order/{orderId}","href":"store/getorderbyid","openApiOperationId":"getOrderById","summary":"Find purchase order by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"successful operation","mediaType":"application/json","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Order"},"application/xml":{"schemaId":"components/schemas/Order"}},"schemaId":"components/schemas/Order"},{"code":"400","description":"Invalid ID supplied"},{"code":"404","description":"Order not found"}],"pointer":"/paths/~1store~1order~1{orderId}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/Order","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Order"},"application/xml":{"schemaId":"components/schemas/Order"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/store/getorderbyid"}],"panels":[]}]},"httpPath":"/store/order/{orderId}"},{"label":"Delete purchase order by ID","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/store/deleteorder","routeSlug":"/petstore/store/deleteorder","metadata":{"seo":{"title":"Delete purchase order by ID","description":"For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteOrder","name":"Delete purchase order by ID","isWebhook":false,"pointer":"/paths/~1store~1order~1{orderId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete purchase order by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors"},"children":[]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"orderId","in":"path","schemaId":"schema_88","description":"ID of the order that needs to be deleted","required":true}],"pointer":"/paths/~1store~1order~1{orderId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/store/order/{orderId}","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[{"name":"orderId","in":"path","required":true,"schemaId":"schema_88"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["400","404"],"pointer":"/store/order/{orderId}","href":"store/deleteorder","openApiOperationId":"deleteOrder","summary":"Delete purchase order by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"400","description":"Invalid ID supplied"},{"code":"404","description":"Order not found"}],"pointer":"/paths/~1store~1order~1{orderId}/delete/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/store/deleteorder"}],"panels":[]}]},"httpPath":"/store/order/{orderId}"},{"label":"Subscribe to the Store events","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/store/paths/~1store~1subscribe/post","routeSlug":"/petstore/store/paths/~1store~1subscribe/post","metadata":{"seo":{"title":"Subscribe to the Store events","description":"Add subscription for a store events"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"name":"Subscribe to the Store events","isWebhook":false,"pointer":"/paths/~1store~1subscribe/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Subscribe to the Store events","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Add subscription for a store events"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_89"}},"schemaId":"schema_89","pointer":"/paths/~1store~1subscribe/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/store/subscribe","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"schema_89"}},"responseCodes":["200","201"],"pointer":"/store/subscribe","href":"store/paths/~1store~1subscribe/post","summary":"Subscribe to the Store events"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"schemaId":"schema_89","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_89"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_90"}},"schemaId":"schema_90"},{"code":"201","description":"Subscription added","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_91"}},"schemaId":"schema_91"}],"pointer":"/paths/~1store~1subscribe/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_90","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_90"}}},{"code":"201","schemaId":"schema_91","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_91"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Callbacks","labelTranslationKey":"callbacks","deepLinkSuffix":"callbacks"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"item-content","variant":"callback","callback":{"httpVerb":"post","pathName":"{$request.body#/callbackUrl}?event={$request.body#/eventName}","summary":"Order in Progress (Summary)","description":"A callback triggered every time an Order is updated status to \"inProgress\" (Description)","callbackName":"orderInProgress","callbackId":"orderInProgress/post","externalDocs":{"url":"https://more-details.com/demo","description":"Find out more"},"contentChildren":[{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json","application/xml"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_92"},"application/xml":{"schemaId":"schema_93","exampleIds":["paths/~1store~1subscribe/post/callbacks/orderInProgress/post/requestBody/content/application~1xml/example"]}},"schemaId":"schema_92","pointer":"/paths/~1store~1subscribe/post/callbacks/orderInProgress/post/requestBody"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Callback successfully processed and no retries will be performed","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_94"}},"schemaId":"schema_94"},{"code":"299","description":"Response for cancelling subscription"},{"code":"500","description":"Callback processing failed and retries will be performed"}],"pointer":"/paths/~1store~1subscribe/post/callbacks/orderInProgress/post/responses"}]},"pointer":"/paths/~1store~1subscribe/post/callbacks"}],"panels":[{"children":[{"kind":"callback-payload","callbackName":"orderInProgress/post","path":"{$request.body#/callbackUrl}?event={$request.body#/eventName}","httpVerb":"post","servers":[{"url":"//callback-url.path-level/v1","description":"Path level server 1"},{"url":"//callback-url.path-level/v2","description":"Path level server 2"}],"definitionSamples":[{"lang":"C#","source":"PetStore.v1.Pet pet = new PetStore.v1.Pet();\npet.setApiKey(\"your api key\");\npet.petType = PetStore.v1.Pet.TYPE_DOG;\npet.name = \"Rex\";\n// set other fields\nPetStoreResponse response = pet.create();\nif (response.statusCode == HttpStatusCode.Created)\n{\n  // Successfully created\n}\nelse\n{\n  // Something wrong -- check response for errors\n  Console.WriteLine(response.getRawResponse());\n}\n"},{"lang":"PHP","source":"$form = new \\PetStore\\Entities\\Pet();\n$form->setPetType(\"Dog\");\n$form->setName(\"Rex\");\n// set other fields\ntry {\n    $pet = $client->pets()->create($form);\n} catch (UnprocessableEntityException $e) {\n    var_dump($e->getErrors());\n}\n"}],"mediaTypes":["application/json","application/xml"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_92"},"application/xml":{"schemaId":"schema_93","exampleIds":["paths/~1store~1subscribe/post/callbacks/orderInProgress/post/requestBody/content/application~1xml/example"]}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"item-content","variant":"callback","callback":{"httpVerb":"put","pathName":"{$request.body#/callbackUrl}?event={$request.body#/eventName}","description":"Order in Progress (Only Description)","callbackName":"orderInProgress","callbackId":"orderInProgress/put","contentChildren":[{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json","application/xml"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_92"},"application/xml":{"schemaId":"schema_93","exampleIds":["paths/~1store~1subscribe/post/callbacks/orderInProgress/put/requestBody/content/application~1xml/example"]}},"schemaId":"schema_92","pointer":"/paths/~1store~1subscribe/post/callbacks/orderInProgress/put/requestBody"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Callback successfully processed and no retries will be performed","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_94"}},"schemaId":"schema_94"}],"pointer":"/paths/~1store~1subscribe/post/callbacks/orderInProgress/put/responses"}]},"pointer":"/paths/~1store~1subscribe/post/callbacks"}],"panels":[{"children":[{"kind":"callback-payload","callbackName":"orderInProgress/put","path":"{$request.body#/callbackUrl}?event={$request.body#/eventName}","httpVerb":"put","servers":[{"url":"//callback-url.operation-level/v1","description":"Operation level server 1 (Operation override)"},{"url":"//callback-url.operation-level/v2","description":"Operation level server 2 (Operation override)"}],"mediaTypes":["application/json","application/xml"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_92"},"application/xml":{"schemaId":"schema_93","exampleIds":["paths/~1store~1subscribe/post/callbacks/orderInProgress/put/requestBody/content/application~1xml/example"]}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"item-content","variant":"callback","callback":{"httpVerb":"post","pathName":"{$request.body#/callbackUrl}?event={$request.body#/eventName}","description":"Very long description\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor\nincididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis\nnostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\nDuis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu\nfugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in\nculpa qui officia deserunt mollit anim id est laborum.\n","callbackName":"orderShipped","callbackId":"orderShipped/post","contentChildren":[{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_95"}},"schemaId":"schema_95","pointer":"/paths/~1store~1subscribe/post/callbacks/orderShipped/post/requestBody"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Callback successfully processed and no retries will be performed"}],"pointer":"/paths/~1store~1subscribe/post/callbacks/orderShipped/post/responses"}]},"pointer":"/paths/~1store~1subscribe/post/callbacks"}],"panels":[{"children":[{"kind":"callback-payload","callbackName":"orderShipped/post","path":"{$request.body#/callbackUrl}?event={$request.body#/eventName}","httpVerb":"post","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_95"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"item-content","variant":"callback","callback":{"httpVerb":"post","pathName":"http://notificationServer.com?url={$request.body#/callbackUrl}&event={$request.body#/eventName}","summary":"Order delivered","description":"A callback triggered every time an Order is delivered to the recipient","deprecated":true,"callbackName":"orderDelivered","callbackId":"orderDelivered/post","contentChildren":[{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_96"}},"schemaId":"schema_96","pointer":"/paths/~1store~1subscribe/post/callbacks/orderDelivered/post/requestBody"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Callback successfully processed and no retries will be performed"}],"pointer":"/paths/~1store~1subscribe/post/callbacks/orderDelivered/post/responses"}]},"pointer":"/paths/~1store~1subscribe/post/callbacks"}],"panels":[{"children":[{"kind":"callback-payload","callbackName":"orderDelivered/post","path":"http://notificationServer.com?url={$request.body#/callbackUrl}&event={$request.body#/eventName}","httpVerb":"post","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_96"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/store/paths/~1store~1subscribe/post"}],"panels":[]}]},"httpPath":"/store/subscribe"}],"content":{"contentType":"group","meta":{"name":"store"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"store","showPageActions":true},{"nodeType":"markdoc","content":"Access to Petstore orders"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/store/inventory","summary":"Returns pet inventories by status","prefix":{"name":"get","color":"get"},"badges":[],"link":"/store/getinventory","deprecated":false},{"title":"/store/order","summary":"Place an order for a pet","prefix":{"name":"post","color":"post"},"badges":[],"link":"/store/placeorder","deprecated":false},{"title":"/store/order/{orderId}","summary":"Find purchase order by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/store/getorderbyid","deprecated":false},{"title":"/store/order/{orderId}","summary":"Delete purchase order by ID","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/store/deleteorder","deprecated":false},{"title":"/store/subscribe","summary":"Subscribe to the Store events","prefix":{"name":"post","color":"post"},"badges":[],"link":"/store/paths/~1store~1subscribe/post","deprecated":false}]}]}]}]}},{"type":"group","label":"webhooks","link":"/petstore/webhooks","routeSlug":"/petstore/webhooks","items":[{"label":"New pet","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/petstore/webhooks/newpet","routeSlug":"/petstore/webhooks/newpet","metadata":{"seo":{"title":"New pet","description":"Information about a new pet in the systems"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"newPet","name":"New pet","isWebhook":true,"pointer":"/paths/newPet/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"New pet","isWebhook":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Information about a new pet in the systems"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Pet"}},"schemaId":"components/schemas/Pet","pointer":"/paths/newPet/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"webhook","method":"POST","path":"newPet","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/Pet"}},"responseCodes":["200"],"pointer":"newPet","href":"webhooks/newpet","openApiOperationId":"newPet","summary":"New pet"},"isWebhook":true,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"schemaId":"components/schemas/Pet","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Pet"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Return a 200 status to indicate that the data was received successfully"}],"pointer":"/paths/newPet/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhooks/newpet"}],"panels":[]}]},"httpPath":"newPet"}],"content":{"contentType":"group","meta":{"name":"webhooks"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"webhooks","showPageActions":true},{"nodeType":"markdoc","content":"Everything about your Webhooks"}],"panels":[{"children":[{"kind":"group-items","title":"Webhooks","titleTranslationKey":"webhooks","items":[{"title":"newPet","summary":"New pet","prefix":{"name":"post","color":"post"},"badges":[],"link":"/webhooks/newpet","deprecated":false}]}]}]}]}},{"type":"separator","label":"User Management","content":null},{"type":"group","label":"user","link":"/petstore/user","routeSlug":"/petstore/user","items":[{"label":"Create user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/user/createuser","routeSlug":"/petstore/user/createuser","metadata":{"seo":{"title":"Create user","description":"This can only be done by the logged in user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createUser","name":"Create user","isWebhook":false,"pointer":"/paths/~1user/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This can only be done by the logged in user."},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/User"}},"schemaId":"components/schemas/User","pointer":"/paths/~1user/post/requestBody","description":"Created user object"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/user","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/User"}},"responseCodes":["default"],"pointer":"/user","href":"user/createuser","openApiOperationId":"createUser","summary":"Create user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"schemaId":"components/schemas/User","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/User"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"default","description":"successful operation"}],"pointer":"/paths/~1user/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/createuser"}],"panels":[]}]},"httpPath":"/user"},{"label":"Get user by user name","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/user/getuserbyname","routeSlug":"/petstore/user/getuserbyname","metadata":{"seo":{"title":"Get user by user name","description":"Get user by user name"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUserByName","name":"Get user by user name","isWebhook":false,"pointer":"/paths/~1user~1{username}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user by user name","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"username","in":"path","schemaId":"schema_81","description":"The name that needs to be fetched. Use user1 for testing. ","required":true}],"pointer":"/paths/~1user~1{username}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/user/{username}","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[{"name":"username","in":"path","required":true,"schemaId":"schema_81"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","404"],"pointer":"/user/{username}","href":"user/getuserbyname","openApiOperationId":"getUserByName","summary":"Get user by user name"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"successful operation","mediaType":"application/json","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/User"},"application/xml":{"schemaId":"components/schemas/User"}},"schemaId":"components/schemas/User"},{"code":"400","description":"Invalid username supplied"},{"code":"404","description":"User not found"}],"pointer":"/paths/~1user~1{username}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/User","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/User"},"application/xml":{"schemaId":"components/schemas/User"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/getuserbyname"}],"panels":[]}]},"httpPath":"/user/{username}"},{"label":"Updated user","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/user/updateuser","routeSlug":"/petstore/user/updateuser","metadata":{"seo":{"title":"Updated user","description":"This can only be done by the logged in user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateUser","name":"Updated user","isWebhook":false,"pointer":"/paths/~1user~1{username}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Updated user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This can only be done by the logged in user."},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"username","in":"path","schemaId":"schema_81","description":"name that need to be updated","required":true}],"pointer":"/paths/~1user~1{username}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/User"}},"schemaId":"components/schemas/User","pointer":"/paths/~1user~1{username}/put/requestBody","description":"Updated user object"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/user/{username}","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[{"name":"username","in":"path","required":true,"schemaId":"schema_81"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/User"}},"responseCodes":["200","400","404"],"pointer":"/user/{username}","href":"user/updateuser","openApiOperationId":"updateUser","summary":"Updated user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"schemaId":"components/schemas/User","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/User"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"User is updated successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/User"}},"schemaId":"components/schemas/User"},{"code":"400","description":"Invalid user supplied"},{"code":"404","description":"User not found"}],"pointer":"/paths/~1user~1{username}/put/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/User","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/User"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/updateuser"}],"panels":[]}]},"httpPath":"/user/{username}"},{"label":"Delete user","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/user/deleteuser","routeSlug":"/petstore/user/deleteuser","metadata":{"seo":{"title":"Delete user","description":"This can only be done by the logged in user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteUser","name":"Delete user","isWebhook":false,"pointer":"/paths/~1user~1{username}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This can only be done by the logged in user."},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"username","in":"path","schemaId":"schema_81","description":"The name that needs to be deleted","required":true}],"pointer":"/paths/~1user~1{username}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/user/{username}","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[{"name":"username","in":"path","required":true,"schemaId":"schema_81"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["204","400","404"],"pointer":"/user/{username}","href":"user/deleteuser","openApiOperationId":"deleteUser","summary":"Delete user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"User is deleted"},{"code":"400","description":"Invalid username supplied"},{"code":"404","description":"User not found"}],"pointer":"/paths/~1user~1{username}/delete/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/deleteuser"}],"panels":[]}]},"httpPath":"/user/{username}"},{"label":"Creates list of users with given input array","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/user/createuserswitharrayinput","routeSlug":"/petstore/user/createuserswitharrayinput","metadata":{"seo":{"title":"Creates list of users with given input array","description":"Creates list of users with given input array"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createUsersWithArrayInput","name":"Creates list of users with given input array","isWebhook":false,"pointer":"/paths/~1user~1createWithArray/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Creates list of users with given input array","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_97"}},"schemaId":"schema_97","pointer":"/paths/~1user~1createWithArray/post/requestBody","description":"List of user object"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/user/createWithArray","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"schema_97"}},"responseCodes":["default"],"pointer":"/user/createWithArray","href":"user/createuserswitharrayinput","openApiOperationId":"createUsersWithArrayInput","summary":"Creates list of users with given input array"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"schemaId":"schema_97","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_97"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"default","description":"successful operation"}],"pointer":"/paths/~1user~1createWithArray/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/createuserswitharrayinput"}],"panels":[]}]},"httpPath":"/user/createWithArray"},{"label":"Creates list of users with given input array","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/user/createuserswithlistinput","routeSlug":"/petstore/user/createuserswithlistinput","metadata":{"seo":{"title":"Creates list of users with given input array","description":"Creates list of users with given input array"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createUsersWithListInput","name":"Creates list of users with given input array","isWebhook":false,"pointer":"/paths/~1user~1createWithList/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Creates list of users with given input array","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_97"}},"schemaId":"schema_97","pointer":"/paths/~1user~1createWithList/post/requestBody","description":"List of user object"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/user/createWithList","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"schema_97"}},"responseCodes":["default"],"pointer":"/user/createWithList","href":"user/createuserswithlistinput","openApiOperationId":"createUsersWithListInput","summary":"Creates list of users with given input array"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"schemaId":"schema_97","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_97"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"default","description":"successful operation"}],"pointer":"/paths/~1user~1createWithList/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/createuserswithlistinput"}],"panels":[]}]},"httpPath":"/user/createWithList"},{"label":"Logs user into the system","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/user/loginuser","routeSlug":"/petstore/user/loginuser","metadata":{"seo":{"title":"Logs user into the system","description":"Logs user into the system"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"loginUser","name":"Logs user into the system","isWebhook":false,"pointer":"/paths/~1user~1login/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Logs user into the system","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"username","in":"query","schemaId":"schema_81","description":"The user name for login","required":true},{"name":"password","in":"query","schemaId":"schema_81","description":"The password for login in clear text","required":true}],"pointer":"/paths/~1user~1login/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/user/login","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[{"name":"username","in":"query","required":true,"schemaId":"schema_81"},{"name":"password","in":"query","required":true,"schemaId":"schema_81"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400"],"pointer":"/user/login","href":"user/loginuser","openApiOperationId":"loginUser","summary":"Logs user into the system"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"successful operation","mediaType":"application/json","mediaTypes":["application/json","application/xml","text/plain"],"mediaTypeContent":{"application/json":{"schemaId":"schema_81","exampleIds":["paths/~1user~1login/get/responses/200/content/application~1json/examples/response"]},"application/xml":{"schemaId":"schema_81","exampleIds":["paths/~1user~1login/get/responses/200/content/application~1xml/examples/response"]},"text/plain":{"exampleIds":["paths/~1user~1login/get/responses/200/content/text~1plain/examples/response"]}},"schemaId":"schema_81","exampleIds":["paths/~1user~1login/get/responses/200/content/application~1json/examples/response"],"headers":{"X-Rate-Limit":{"description":"calls per hour allowed by the user","schema":{"type":"integer","format":"int32"}},"X-Expires-After":{"description":"date in UTC when token expires","schema":{"type":"string","format":"date-time"}}},"headerSchemaId":"schema_98"},{"code":"400","description":"Invalid username/password supplied"}],"pointer":"/paths/~1user~1login/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_81","exampleIds":["paths/~1user~1login/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json","application/xml","text/plain"],"mediaTypeContent":{"application/json":{"schemaId":"schema_81","exampleIds":["paths/~1user~1login/get/responses/200/content/application~1json/examples/response"]},"application/xml":{"schemaId":"schema_81","exampleIds":["paths/~1user~1login/get/responses/200/content/application~1xml/examples/response"]},"text/plain":{"exampleIds":["paths/~1user~1login/get/responses/200/content/text~1plain/examples/response"]}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/loginuser"}],"panels":[]}]},"httpPath":"/user/login"},{"label":"Logs out current logged in user session","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/petstore/user/logoutuser","routeSlug":"/petstore/user/logoutuser","metadata":{"seo":{"title":"Logs out current logged in user session","description":"Logs out current logged in user session"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"logoutUser","name":"Logs out current logged in user session","isWebhook":false,"pointer":"/paths/~1user~1logout/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Logs out current logged in user session","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"empty-message","label":"No request data","labelTranslationKey":"noRequestData"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/user/logout","servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["default"],"pointer":"/user/logout","href":"user/logoutuser","openApiOperationId":"logoutUser","summary":"Logs out current logged in user session"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/petstore","description":"Mock server","isMockServer":true},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"default","description":"successful operation"}],"pointer":"/paths/~1user~1logout/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/logoutuser"}],"panels":[]}]},"httpPath":"/user/logout"}],"content":{"contentType":"group","meta":{"name":"user"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"user","showPageActions":true},{"nodeType":"markdoc","content":"Operations about user"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/user","summary":"Create user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user/createuser","deprecated":false},{"title":"/user/{username}","summary":"Get user by user name","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user/getuserbyname","deprecated":false},{"title":"/user/{username}","summary":"Updated user","prefix":{"name":"put","color":"put"},"badges":[],"link":"/user/updateuser","deprecated":false},{"title":"/user/{username}","summary":"Delete user","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/user/deleteuser","deprecated":false},{"title":"/user/createWithArray","summary":"Creates list of users with given input array","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user/createuserswitharrayinput","deprecated":false},{"title":"/user/createWithList","summary":"Creates list of users with given input array","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user/createuserswithlistinput","deprecated":false},{"title":"/user/login","summary":"Logs user into the system","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user/loginuser","deprecated":false},{"title":"/user/logout","summary":"Logs out current logged in user session","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user/logoutuser","deprecated":false}]}]}]}]}},{"type":"separator","label":"Models","content":null},{"type":"group","label":"The Pet Model","link":"/petstore/pet_model","routeSlug":"/petstore/pet_model","items":[],"content":{"contentType":"group","meta":{"name":"pet_model"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"The Pet Model","showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet_model"}],"panels":[]}]}},{"type":"group","label":"The Order Model","link":"/petstore/store_model","routeSlug":"/petstore/store_model","items":[],"content":{"contentType":"group","meta":{"name":"store_model"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"The Order Model","showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/store_model"}],"panels":[]}]}}],"store":{"schemaStore":{"components/schemas/ApiResponse":{"id":"components/schemas/ApiResponse","kind":"json-schema","title":"ApiResponse","data":{"type":"object","patternProperties":{"^S_\\\\w+\\\\.[1-9]{2,4}$":{"description":"The measured skill for hunting","if":{"x-displayName":"fieldName === 'status'"},"else":{"minLength":1,"maxLength":10},"then":{"format":"url","type":"string","enum":["success","failed"]}},"^O_\\\\w+\\\\.[1-9]{2,4}$":{"type":"object","properties":{"nestedProperty":{"type":["string","boolean"],"description":"The measured skill for hunting","default":"lazy","example":"adventurous","enum":["clueless","lazy","adventurous","aggressive"]}}}},"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"components/schemas/Cat":{"id":"components/schemas/Cat","kind":"json-schema","title":"Cat","data":{"description":"A representation of a cat","allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"huntingSkill":{"type":["string","boolean"],"description":"The measured skill for hunting","default":"lazy","example":"adventurous","enum":["clueless","lazy","adventurous","aggressive"]}},"required":["huntingSkill"]}]}},"components/schemas/Category":{"id":"components/schemas/Category","kind":"json-schema","title":"Category","data":{"type":"object","properties":{"id":{"description":"Category ID","$ref":"#/components/schemas/Id"},"name":{"description":"Category name","type":"string","minLength":1},"sub":{"description":"Test Sub Category","type":"object","properties":{"prop1":{"type":"string","description":"Dumb Property"}}}},"xml":{"name":"Category"}}},"components/schemas/Dog":{"id":"components/schemas/Dog","kind":"json-schema","title":"Dog","data":{"description":"A representation of a dog","allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"packSize":{"type":"integer","format":"int32","description":"The size of the pack the dog is from","default":1,"minimum":1}},"required":["packSize"]}]}},"components/schemas/HoneyBee":{"id":"components/schemas/HoneyBee","kind":"json-schema","title":"HoneyBee","data":{"description":"A representation of a honey bee","allOf":[{"$ref":"#/components/schemas/Pet"},{"type":"object","properties":{"honeyPerDay":{"type":"number","description":"Average amount of honey produced per day in ounces","example":3.14,"multipleOf":0.01}},"required":["honeyPerDay"]}]}},"components/schemas/Id":{"id":"components/schemas/Id","kind":"json-schema","title":"Id","data":{"type":"integer","format":"int64","readOnly":true}},"components/schemas/Order":{"id":"components/schemas/Order","kind":"json-schema","title":"Order","data":{"type":"object","properties":{"id":{"description":"Order ID","$ref":"#/components/schemas/Id"},"petId":{"description":"Pet ID","$ref":"#/components/schemas/Id"},"quantity":{"type":"integer","format":"int32","minimum":1,"default":1},"shipDate":{"description":"Estimated ship date","type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"]},"complete":{"description":"Indicates whenever order was completed or not","type":"boolean","default":false,"readOnly":true},"requestId":{"description":"Unique Request Id","type":"string","writeOnly":true}},"xml":{"name":"Order"}}},"components/schemas/Pet":{"id":"components/schemas/Pet","kind":"json-schema","title":"Pet","data":{"type":"object","required":["name","photoUrls"],"discriminator":{"propertyName":"petType","mapping":{"cat":"#/components/schemas/Cat","dog":"#/components/schemas/Dog","bee":"#/components/schemas/HoneyBee"}},"properties":{"id":{"externalDocs":{"description":"Find more info here","url":"https://example.com"},"description":"Pet ID","$ref":"#/components/schemas/Id"},"category":{"description":"Categories this pet belongs to","$ref":"#/components/schemas/Category"},"name":{"description":"The name given to a pet","type":"string","example":"Guru"},"photoUrls":{"description":"The list of URL to a cute photos featuring pet","type":["string","integer","null"],"minItems":1,"maxItems":10,"default":[],"xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string","format":"url"},"if":{"x-displayName":"isString","type":"string"},"then":{"minItems":1,"maxItems":15},"else":{"x-displayName":"notString","type":["integer","null"],"minItems":1,"maxItems":20}},"friend":{"$ref":"#/components/schemas/Pet"},"tags":{"description":"Tags attached to the pet","type":"array","exclusiveMaximum":100,"exclusiveMinimum":0,"xml":{"name":"tag","wrapped":true},"items":{"$ref":"#/components/schemas/Tag"}},"status":{"type":"string","description":"Pet status in the store","enum":["available","pending","sold"],"default":"pending"},"petType":{"description":"Type of a pet","type":"string"},"huntingSkill":{"type":["integer"],"enum":[0,1,2]}},"xml":{"name":"Pet"}}},"components/schemas/Tag":{"id":"components/schemas/Tag","kind":"json-schema","title":"Tag","data":{"type":"object","properties":{"id":{"type":"number","description":"Tag ID","$ref":"#/components/schemas/Id"},"name":{"description":"Tag name","type":"string","minLength":1}},"xml":{"name":"Tag"}}},"components/schemas/User":{"id":"components/schemas/User","kind":"json-schema","title":"User","data":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Id"},"pet":{"oneOf":[{"$ref":"#/components/schemas/Pet","title":"Pettie"},{"$ref":"#/components/schemas/Tag"}]},"username":{"description":"User supplied username","type":"string","minLength":4,"example":"John78"},"firstName":{"description":"User first name","type":"string","minLength":1,"example":"John"},"lastName":{"description":"User last name","type":"string","minLength":1,"example":"Smith"},"email":{"description":"User email address","type":"string","format":"email","example":"john.smith@example.com"},"password":{"type":"string","description":"User password, MUST contain a mix of upper and lower case letters, as well as digits","format":"password","minLength":8,"pattern":"/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])/","example":"drowssaP123"},"phone":{"description":"User phone number in international format","type":"string","pattern":"/^\\+(?:[0-9]-?){6,14}[0-9]$/","example":"+1-202-555-0192"},"userStatus":{"description":"User status","type":"integer","format":"int32"},"image":{"description":"User image","type":"string","contentEncoding":"base64","contentMediaType":"image/png"},"addresses":{"type":"array","minItems":0,"maxLength":10,"prefixItems":[{"type":"object","properties":{"city":{"type":"string","minLength":0},"country":{"type":"string","minLength":0},"street":{"description":"includes build/apartment number","type":"string","minLength":0}}},{"type":"number"}],"items":{"type":"string"}}},"if":{"title":"userStatus === 10","properties":{"userStatus":{"enum":[10]}}},"then":{"required":["phone"]},"else":{"required":[]},"xml":{"name":"User"}}},"schema_77":{"kind":"json-schema","data":{"type":"integer","format":"int64"},"id":"schema_77"},"schema_78":{"kind":"json-schema","data":{"type":"string","default":"en-AU"},"id":"schema_78"},"schema_79":{"kind":"json-schema","data":{"type":"object","properties":{"name":{"type":"string","description":"hooray"}}},"id":"schema_79"},"schema_80":{"kind":"json-schema","data":{"type":"object","properties":{"name":{"description":"Updated name of the pet","type":"string"},"status":{"description":"Updated status of the pet","type":"string"}}},"id":"schema_80"},"schema_81":{"kind":"json-schema","data":{"type":"string"},"id":"schema_81"},"schema_82":{"kind":"json-schema","data":{"type":"string","format":"binary"},"id":"schema_82"},"schema_83":{"kind":"json-schema","data":{"type":"array","minItems":1,"maxItems":3,"items":{"type":"string","enum":["available","pending","sold"],"default":"available"}},"id":"schema_83"},"schema_84":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}},"id":"schema_84"},"schema_85":{"kind":"json-schema","data":{"type":"array","items":{"type":"string"}},"id":"schema_85"},"schema_86":{"kind":"json-schema","data":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}},"id":"schema_86"},"schema_87":{"kind":"json-schema","data":{"type":"integer","format":"int64","minimum":1,"maximum":5},"id":"schema_87"},"schema_88":{"kind":"json-schema","data":{"type":"string","minimum":1},"id":"schema_88"},"schema_89":{"kind":"json-schema","data":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","description":"This URL will be called by the server when the desired event will occur","example":"https://myserver.com/send/callback/here"},"eventName":{"type":"string","description":"Event name for the subscription","enum":["orderInProgress","orderShipped","orderDelivered"],"example":"orderInProgress"}},"required":["callbackUrl","eventName"]},"id":"schema_89"},"schema_90":{"kind":"json-schema","data":{"type":"array","maxItems":999,"minItems":0,"items":{"type":"array","maxItems":777,"minItems":111,"items":{"type":"number"}}},"id":"schema_90"},"schema_91":{"kind":"json-schema","data":{"type":"object","properties":{"subscriptionId":{"type":"string","example":"AAA-123-BBB-456"}}},"id":"schema_91"},"schema_92":{"kind":"json-schema","data":{"type":"object","properties":{"orderId":{"type":"string","example":"123"},"timestamp":{"type":"string","format":"date-time","example":"2018-10-19T16:46:45Z"},"status":{"type":"string","example":"inProgress"}}},"id":"schema_92"},"schema_93":{"kind":"json-schema","data":{"type":"object","properties":{"orderId":{"type":"string","example":"123"}}},"id":"schema_93"},"schema_94":{"kind":"json-schema","data":{"type":"object","properties":{"someProp":{"type":"string","example":"123"}}},"id":"schema_94"},"schema_95":{"kind":"json-schema","data":{"type":"object","properties":{"orderId":{"type":"string","example":"123"},"timestamp":{"type":"string","format":"date-time","example":"2018-10-19T16:46:45Z"},"estimatedDeliveryDate":{"type":"string","format":"date-time","example":"2018-11-11T16:00:00Z"}}},"id":"schema_95"},"schema_96":{"kind":"json-schema","data":{"type":"object","properties":{"orderId":{"type":"string","example":"123"},"timestamp":{"type":"string","format":"date-time","example":"2018-10-19T16:46:45Z"}}},"id":"schema_96"},"schema_97":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"id":"schema_97"},"schema_98":{"kind":"json-schema","data":{"type":"object","properties":{"X-Rate-Limit":{"type":"integer","format":"int32","description":"calls per hour allowed by the user"},"X-Expires-After":{"type":"string","format":"date-time","description":"date in UTC when token expires"}}},"id":"schema_98"}},"exampleStore":{"components/examples/Order":{"id":"components/examples/Order","value":{"quantity":1,"shipDate":"2018-10-19T16:46:45Z","status":"placed","complete":false}},"paths/~1store~1order/post/responses/400/content/application~1json/example":{"value":{"status":400,"message":"Invalid Order"},"id":"paths/~1store~1order/post/responses/400/content/application~1json/example"},"paths/~1store~1subscribe/post/callbacks/orderInProgress/post/requestBody/content/application~1xml/example":{"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<root>\n  <orderId>123</orderId>\n  <status>inProgress</status>\n  <timestamp>2018-10-19T16:46:45Z</timestamp>\n</root>\n","id":"paths/~1store~1subscribe/post/callbacks/orderInProgress/post/requestBody/content/application~1xml/example"},"paths/~1store~1subscribe/post/callbacks/orderInProgress/put/requestBody/content/application~1xml/example":{"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<root>\n  <orderId>123</orderId>\n  <status>inProgress</status>\n  <timestamp>2018-10-19T16:46:45Z</timestamp>\n</root>\n","id":"paths/~1store~1subscribe/post/callbacks/orderInProgress/put/requestBody/content/application~1xml/example"},"paths/~1user~1login/get/responses/200/content/application~1json/examples/response":{"value":"OK","key":"response","summary":"response","id":"paths/~1user~1login/get/responses/200/content/application~1json/examples/response"},"paths/~1user~1login/get/responses/200/content/application~1xml/examples/response":{"value":"<Message> OK </Message>","key":"response","summary":"response","id":"paths/~1user~1login/get/responses/200/content/application~1xml/examples/response"},"paths/~1user~1login/get/responses/200/content/text~1plain/examples/response":{"value":"OK","key":"response","summary":"response","id":"paths/~1user~1login/get/responses/200/content/text~1plain/examples/response"}},"securitySchemeStore":{"petstore_auth":{"id":"petstore_auth","type":"oauth2","description":"Get access to data while protecting your account credentials.\nOAuth2 is also a safer and more secure way to give you access.\n","flows":{"implicit":{"authorizationUrl":"http://petstore.swagger.io/api/oauth/dialog","scopes":{"write:pets":"modify pets in your account","read:pets":"read your pets"}}}},"api_key":{"id":"api_key","type":"apiKey","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For this sample, you can use the api key "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"special-key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to test the authorization filters."},"children":[]}]}]}],"in":"header","paramName":"api_key"}},"servers":[{"url":"/_mock/petstore","isMockServer":true,"description":"Mock server"},{"url":"https://petstore.swagger.io/v2","description":"Default server"},{"url":"https://petstore.swagger.io/sandbox","description":"Sandbox server"}],"logo":{"imageUrl":"https://redocly.github.io/redoc/petstore-logo.png","href":"https://github.com/Redocly/redoc","altText":"Petstore logo"}},"options":{"feedback":{"type":"rating","settings":{"label":"Rate this section"}},"hideSidebar":true,"mockServer":{"url":"/_mock/petstore","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/petstore.json?download"},{"url":"/_bundle/petstore.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Swagger Petstore","description":"This is a sample server Petstore server.\nYou can find out more about Swagger at\n[http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/).\nFor this sample, you can use the api key `special-key` to test the authorization filters.\n\n# Introduction\nThis API is documented in **OpenAPI format** and is based on\n[Petstore sample](http://petstore.swagger.io/) provided by [swagger.io](http://swagger.io) team.\nIt was **extended** to illustrate features of [generator-openapi-repo](https://github.com/Rebilly/generator-openapi-repo)\ntool and [ReDoc](https://github.com/Redocly/redoc) documentation. In addition to standard\nOpenAPI syntax we use a few [vendor extensions](https://github.com/Redocly/redoc/blob/main/docs/redoc-vendor-extensions.md).\n\n# OpenAPI Specification\nThis API is documented in **OpenAPI format** and is based on\n[Petstore sample](http://petstore.swagger.io/) provided by [swagger.io](http://swagger.io) team.\nIt was **extended** to illustrate features of [generator-openapi-repo](https://github.com/Rebilly/generator-openapi-repo)\ntool and [ReDoc](https://github.com/Redocly/redoc) documentation. In addition to standard\nOpenAPI syntax we use a few [vendor extensions](https://github.com/Redocly/redoc/blob/main/docs/redoc-vendor-extensions.md).\n\n# Cross-Origin Resource Sharing\nThis API features Cross-Origin Resource Sharing (CORS) implemented in compliance with  [W3C spec](https://www.w3.org/TR/cors/).\nAnd that allows cross-domain communication from the browser.\nAll responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.\n\n# Authentication\n\nPetstore offers two forms of authentication:\n  - API Key\n  - OAuth2\nOAuth2 - an open protocol to allow secure authorization in a simple\nand standard method from web, mobile and desktop applications.\n","summary":"My lovely API"}},"baseSlug":"/petstore","routesMapping":{}}