{"items":[{"type":"link","label":"Swagger Petstore - OpenAPI 3.0","link":"/catalog/api-showdown/api-hub/pet-store/openapi","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi","content":{"contentType":"overview","meta":{"name":"Swagger Petstore - OpenAPI 3.0"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"openapi.json","url":"/_bundle/catalog/api-showdown/api-hub/Pet Store/openapi.json?download"},{"kind":"download","label":"openapi.yaml","url":"/_bundle/catalog/api-showdown/api-hub/Pet Store/openapi.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"email","title":"E-mail","titleTranslationKey":"info.contact.name","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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Swagger Petstore - OpenAPI 3.0 (1.0.20-SNAPSHOT)","showPageActions":true},{"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 Pet Store Server based on the OpenAPI 3.0 specification.  You can find out more about"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Swagger at "},"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":". In the third iteration of a pet store, we've switched to the design first approach!"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can now help us improve the API whether it's by making changes to the definition itself or to the code."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"That way, with time, we can improve the API in general, and expose some of the new features in OAS3."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Some useful links:"},"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":"link","inline":true,"attributes":{"href":"https://github.com/swagger-api/swagger-petstore"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Pet Store repository"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The source API definition for the Pet Store"},"children":[]}]}]}]}]}]}],"sectionId":"/catalog/api-showdown/api-hub/pet-store/openapi"},{"nodeType":"external-docs","url":"http://swagger.io","description":"Find out more about Swagger"}],"sectionId":"/catalog/api-showdown/api-hub/pet-store/openapi"}]}]}},{"type":"group","label":"pet","link":"/catalog/api-showdown/api-hub/pet-store/openapi/pet","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/pet","items":[{"label":"Add a new pet to the store","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/addpet","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/addpet","metadata":{"seo":{"title":"Add a new pet to the store","description":"Add a new pet to the store"}},"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 a new pet to the store"},{"nodeType":"security","requirements":[{"schemes":[{"name":"petstore_auth","scopes":["write:pet","read:pet"],"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json","application/xml","application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"components/schemas/Pet"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/Pet"}},"schemaId":"components/schemas/Pet","pointer":"/paths/~1pet/post/requestBody","description":"Create a new pet in the store"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pet","servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}],"scopes":["write:pet","read:pet"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"components/schemas/Pet"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/Pet"}},"responseCodes":["200","405"],"pointer":"/pet","href":"pet/addpet","openApiOperationId":"addPet","summary":"Add a new pet to the store"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"schemaId":"components/schemas/Pet","mediaTypes":["application/json","application/xml","application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"components/schemas/Pet"},"application/x-www-form-urlencoded":{"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":"Successful operation","mediaType":"application/xml","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/Pet"},"application/json":{"schemaId":"components/schemas/Pet"}},"schemaId":"components/schemas/Pet"},{"code":"405","description":"Invalid input"}],"pointer":"/paths/~1pet/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/Pet","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/Pet"},"application/json":{"schemaId":"components/schemas/Pet"}}},{"code":"405"}],"examples":[]}]}]},{"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":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/updatepet","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/updatepet","metadata":{"seo":{"title":"Update an existing pet","description":"Update an existing pet by Id"}},"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":"markdoc","content":"Update an existing pet by Id"},{"nodeType":"security","requirements":[{"schemes":[{"name":"petstore_auth","scopes":["write:pet","read:pet"],"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json","application/xml","application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"components/schemas/Pet"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/Pet"}},"schemaId":"components/schemas/Pet","pointer":"/paths/~1pet/put/requestBody","description":"Update an existent pet in the store"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/pet","servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}],"scopes":["write:pet","read:pet"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"components/schemas/Pet"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/Pet"}},"responseCodes":["200","400","404","405"],"pointer":"/pet","href":"pet/updatepet","openApiOperationId":"updatePet","summary":"Update an existing pet"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"schemaId":"components/schemas/Pet","mediaTypes":["application/json","application/xml","application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Pet"},"application/xml":{"schemaId":"components/schemas/Pet"},"application/x-www-form-urlencoded":{"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":"Successful operation","mediaType":"application/xml","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/Pet"},"application/json":{"schemaId":"components/schemas/Pet"}},"schemaId":"components/schemas/Pet"},{"code":"400","description":"Invalid ID supplied"},{"code":"404","description":"Pet not found"},{"code":"405","description":"Validation exception"}],"pointer":"/paths/~1pet/put/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/Pet","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/Pet"},"application/json":{"schemaId":"components/schemas/Pet"}}},{"code":"400"},{"code":"404"},{"code":"405"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/updatepet"}],"panels":[]}]},"httpPath":"/pet"},{"label":"Finds Pet by status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/findpetsbystatus","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/findpetsbystatus","metadata":{"seo":{"title":"Finds Pet by status","description":"Multiple status values can be provided with comma separated strings"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"findPetsByStatus","name":"Finds Pet by status","isWebhook":false,"pointer":"/paths/~1pet~1findByStatus/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Finds Pet 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:pet","read:pet"],"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"status","in":"query","schemaId":"schema_115","description":"Status values that need to be considered for filter"}],"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[],"query":[{"name":"status","in":"query","required":false,"schemaId":"schema_115","explode":true}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}],"scopes":["write:pet","read:pet"]}],"responseCodes":["200","400"],"pointer":"/pet/findByStatus","href":"pet/findpetsbystatus","openApiOperationId":"findPetsByStatus","summary":"Finds Pet by status"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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/xml","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_116"},"application/json":{"schemaId":"schema_116"}},"schemaId":"schema_116"},{"code":"400","description":"Invalid status value"}],"pointer":"/paths/~1pet~1findByStatus/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_116","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_116"},"application/json":{"schemaId":"schema_116"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/findpetsbystatus"}],"panels":[]}]},"httpPath":"/pet/findByStatus"},{"label":"Finds Pet by tags","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/findpetsbytags","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/findpetsbytags","metadata":{"seo":{"title":"Finds Pet 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 Pet by tags","isWebhook":false,"pointer":"/paths/~1pet~1findByTags/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Finds Pet by tags","isWebhook":false,"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:pet","read:pet"],"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"tags","in":"query","schemaId":"schema_117","description":"Tags to filter by"}],"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[],"query":[{"name":"tags","in":"query","required":false,"schemaId":"schema_117","explode":true}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}],"scopes":["write:pet","read:pet"]}],"responseCodes":["200","400"],"pointer":"/pet/findByTags","href":"pet/findpetsbytags","openApiOperationId":"findPetsByTags","summary":"Finds Pet by tags"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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/xml","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_116"},"application/json":{"schemaId":"schema_116"}},"schemaId":"schema_116"},{"code":"400","description":"Invalid tag value"}],"pointer":"/paths/~1pet~1findByTags/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_116","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_116"},"application/json":{"schemaId":"schema_116"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pet/findpetsbytags"}],"panels":[]}]},"httpPath":"/pet/findByTags"},{"label":"Find pet by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/getpetbyid","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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"}]},{"schemes":[{"name":"petstore_auth","scopes":["write:pet","read:pet"],"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"petId","in":"path","schemaId":"schema_118","description":"ID of pet to return","required":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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[{"name":"petId","in":"path","required":true,"schemaId":"schema_118"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"api_key","type":"apiKey","name":"api_key","in":"header"}],"scopes":[]},{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}],"scopes":["write:pet","read:pet"]}],"responseCodes":["200","400","404"],"pointer":"/pet/{petId}","href":"pet/getpetbyid","openApiOperationId":"getPetById","summary":"Find pet by ID","securityGroups":[{"api_key":[]},{"petstore_auth":["write:pet","read:pet"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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/xml","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/Pet"},"application/json":{"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/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/Pet"},"application/json":{"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":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/updatepetwithform","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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":false},"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:pet","read:pet"],"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"petId","in":"path","schemaId":"schema_118","description":"ID of pet that needs to be updated","required":true}],"pointer":"/paths/~1pet~1{petId}/post/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"name","in":"query","schemaId":"schema_119","description":"Name of pet that needs to be updated"},{"name":"status","in":"query","schemaId":"schema_119","description":"Status of pet that needs to be updated"}],"pointer":"/paths/~1pet~1{petId}/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pet/{petId}","servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[{"name":"petId","in":"path","required":true,"schemaId":"schema_118"}],"query":[{"name":"name","in":"query","schemaId":"schema_119"},{"name":"status","in":"query","schemaId":"schema_119"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}],"scopes":["write:pet","read:pet"]}],"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/deletepet","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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:pet","read:pet"],"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"petId","in":"path","schemaId":"schema_118","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_119","description":""}],"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[{"name":"petId","in":"path","required":true,"schemaId":"schema_118"}],"query":[],"querystring":[],"header":[{"name":"api_key","in":"header","required":false,"schemaId":"schema_119"}],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}],"scopes":["write:pet","read:pet"]}],"responseCodes":["400"],"pointer":"/pet/{petId}","href":"pet/deletepet","openApiOperationId":"deletePet","summary":"Deletes a pet"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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":"/catalog/api-showdown/api-hub/pet-store/openapi/pet/uploadfile","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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:pet","read:pet"],"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"petId","in":"path","schemaId":"schema_118","description":"ID of pet to update","required":true}],"pointer":"/paths/~1pet~1{petId}~1uploadImage/post/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"additionalMetadata","in":"query","schemaId":"schema_119","description":"Additional Metadata"}],"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_120"}},"schemaId":"schema_120","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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[{"name":"petId","in":"path","required":true,"schemaId":"schema_118"}],"query":[{"name":"additionalMetadata","in":"query","required":false,"schemaId":"schema_119"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}}],"scopes":["write:pet","read:pet"]}],"requestBody":{"application/octet-stream":{"schemaId":"schema_120"}},"responseCodes":["200"],"pointer":"/pet/{petId}/uploadImage","href":"pet/uploadfile","openApiOperationId":"uploadFile","summary":"uploads an image"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"schemaId":"schema_120","mediaTypes":["application/octet-stream"],"mediaTypeSchemas":{"application/octet-stream":{"schemaId":"schema_120"}},"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"}],"content":{"contentType":"group","meta":{"name":"pet"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"pet","showPageActions":true},{"nodeType":"markdoc","content":"Everything about your Pet"},{"nodeType":"external-docs","url":"http://swagger.io","description":"Find out more"}],"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/findByStatus","summary":"Finds Pet by status","prefix":{"name":"get","color":"get"},"badges":[],"link":"/pet/findpetsbystatus","deprecated":false},{"title":"/pet/findByTags","summary":"Finds Pet by tags","prefix":{"name":"get","color":"get"},"badges":[],"link":"/pet/findpetsbytags","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}]}]}]}]}},{"type":"group","label":"store","link":"/catalog/api-showdown/api-hub/pet-store/openapi/store","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/store","items":[{"label":"Returns pet inventories by status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/api-hub/pet-store/openapi/store/getinventory","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/store/inventory","servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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_121"}},"schemaId":"schema_121"}],"pointer":"/paths/~1store~1inventory/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_121","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_121"}}}],"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":"/catalog/api-showdown/api-hub/pet-store/openapi/store/placeorder","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/store/placeorder","metadata":{"seo":{"title":"Place an order for a pet","description":"Place a new order in the store"}},"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":"markdoc","content":"Place a new order in the store"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json","application/xml","application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Order"},"application/xml":{"schemaId":"components/schemas/Order"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/Order"}},"schemaId":"components/schemas/Order","pointer":"/paths/~1store~1order/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/store/order","servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/Order"},"application/xml":{"schemaId":"components/schemas/Order"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/Order"}},"responseCodes":["200","405"],"pointer":"/store/order","href":"store/placeorder","openApiOperationId":"placeOrder","summary":"Place an order for a pet"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"schemaId":"components/schemas/Order","mediaTypes":["application/json","application/xml","application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Order"},"application/xml":{"schemaId":"components/schemas/Order"},"application/x-www-form-urlencoded":{"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"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Order"}},"schemaId":"components/schemas/Order"},{"code":"405","description":"Invalid input"}],"pointer":"/paths/~1store~1order/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/Order","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Order"}}},{"code":"405"}],"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":"/catalog/api-showdown/api-hub/pet-store/openapi/store/getorderbyid","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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 generate 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 generate exceptions."},"children":[]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"orderId","in":"path","schemaId":"schema_118","description":"ID of order 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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[{"name":"orderId","in":"path","required":true,"schemaId":"schema_118"}],"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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/xml","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/Order"},"application/json":{"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/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/Order"},"application/json":{"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":"/catalog/api-showdown/api-hub/pet-store/openapi/store/deleteorder","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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_118","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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[{"name":"orderId","in":"path","required":true,"schemaId":"schema_118"}],"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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}"}],"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"},{"nodeType":"external-docs","url":"http://swagger.io","description":"Find out more about our store"}],"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}]}]}]}]}},{"type":"group","label":"user","link":"/catalog/api-showdown/api-hub/pet-store/openapi/user","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/user","items":[{"label":"Create user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/api-hub/pet-store/openapi/user/createuser","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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","mediaTypes":["application/json","application/xml","application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/User"},"application/xml":{"schemaId":"components/schemas/User"},"application/x-www-form-urlencoded":{"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/User"},"application/xml":{"schemaId":"components/schemas/User"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/User"}},"responseCodes":["default"],"pointer":"/user","href":"user/createuser","openApiOperationId":"createUser","summary":"Create user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"schemaId":"components/schemas/User","mediaTypes":["application/json","application/xml","application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/User"},"application/xml":{"schemaId":"components/schemas/User"},"application/x-www-form-urlencoded":{"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","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"}],"pointer":"/paths/~1user/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"default","schemaId":"components/schemas/User","mediaTypes":["application/json","application/xml"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/User"},"application/xml":{"schemaId":"components/schemas/User"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/createuser"}],"panels":[]}]},"httpPath":"/user"},{"label":"Creates list of users with given input array","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/api-hub/pet-store/openapi/user/createuserswithlistinput","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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":"markdoc","content":"Creates list of users with given input array"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_122"}},"schemaId":"schema_122","pointer":"/paths/~1user~1createWithList/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/user/createWithList","servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"schema_122"}},"responseCodes":["200","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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"schemaId":"schema_122","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_122"}},"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/xml","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/User"},"application/json":{"schemaId":"components/schemas/User"}},"schemaId":"components/schemas/User"},{"code":"default","description":"successful operation"}],"pointer":"/paths/~1user~1createWithList/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/User","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/User"},"application/json":{"schemaId":"components/schemas/User"}}},{"code":"default"}],"examples":[]}]}]},{"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":"/catalog/api-showdown/api-hub/pet-store/openapi/user/loginuser","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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_119","description":"The user name for login"},{"name":"password","in":"query","schemaId":"schema_119","description":"The password for login in clear text"}],"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[],"query":[{"name":"username","in":"query","required":false,"schemaId":"schema_119"},{"name":"password","in":"query","required":false,"schemaId":"schema_119"}],"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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/xml","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_119"},"application/json":{"schemaId":"schema_119"}},"schemaId":"schema_119","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_123"},{"code":"400","description":"Invalid username/password supplied"}],"pointer":"/paths/~1user~1login/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_119","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_119"},"application/json":{"schemaId":"schema_119"}}},{"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":"/catalog/api-showdown/api-hub/pet-store/openapi/user/logoutuser","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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"},{"label":"Get user by user name","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/api-hub/pet-store/openapi/user/getuserbyname","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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_119","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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[{"name":"username","in":"path","required":true,"schemaId":"schema_119"}],"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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"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/xml","mediaTypes":["application/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/User"},"application/json":{"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/xml","application/json"],"mediaTypeContent":{"application/xml":{"schemaId":"components/schemas/User"},"application/json":{"schemaId":"components/schemas/User"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/getuserbyname"}],"panels":[]}]},"httpPath":"/user/{username}"},{"label":"Update user","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/catalog/api-showdown/api-hub/pet-store/openapi/user/updateuser","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/user/updateuser","metadata":{"seo":{"title":"Update user","description":"This can only be done by the logged in user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateUser","name":"Update user","isWebhook":false,"pointer":"/paths/~1user~1{username}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update 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_119","description":"name that needs to be updated","required":true}],"pointer":"/paths/~1user~1{username}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json","application/xml","application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/User"},"application/xml":{"schemaId":"components/schemas/User"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/User"}},"schemaId":"components/schemas/User","pointer":"/paths/~1user~1{username}/put/requestBody","description":"Update an existent user in the store"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/user/{username}","servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[{"name":"username","in":"path","required":true,"schemaId":"schema_119"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/User"},"application/xml":{"schemaId":"components/schemas/User"},"application/x-www-form-urlencoded":{"schemaId":"components/schemas/User"}},"responseCodes":["default"],"pointer":"/user/{username}","href":"user/updateuser","openApiOperationId":"updateUser","summary":"Update user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"schemaId":"components/schemas/User","mediaTypes":["application/json","application/xml","application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/User"},"application/xml":{"schemaId":"components/schemas/User"},"application/x-www-form-urlencoded":{"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~1{username}/put/responses"}],"panels":[]},{"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":"/catalog/api-showdown/api-hub/pet-store/openapi/user/deleteuser","routeSlug":"/catalog/api-showdown/api-hub/pet-store/openapi/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_119","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/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"parameters":{"path":[{"name":"username","in":"path","required":true,"schemaId":"schema_119"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["400","404"],"pointer":"/user/{username}","href":"user/deleteuser","openApiOperationId":"deleteUser","summary":"Delete user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","description":"Mock server","isMockServer":true},{"url":"/v3"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"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}"}],"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/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},{"title":"/user/{username}","summary":"Get user by user name","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user/getuserbyname","deprecated":false},{"title":"/user/{username}","summary":"Update 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}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/Order":{"id":"components/schemas/Order","kind":"json-schema","title":"Order","data":{"x-swagger-router-model":"io.swagger.petstore.model.Order","properties":{"id":{"type":"integer","format":"int64","example":10},"petId":{"type":"integer","format":"int64","example":198772},"quantity":{"type":"integer","format":"int32","example":7},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":["placed","approved","delivered"],"example":"approved"},"complete":{"type":"boolean"}},"xml":{"name":"order"},"type":"object"}},"components/schemas/Customer":{"id":"components/schemas/Customer","kind":"json-schema","title":"Customer","data":{"properties":{"id":{"type":"integer","format":"int64","example":100000},"username":{"type":"string","example":"fehguy"},"address":{"type":"array","items":{"$ref":"#/components/schemas/Address"},"xml":{"wrapped":true,"name":"addresses"}}},"xml":{"name":"customer"},"type":"object"}},"components/schemas/Address":{"id":"components/schemas/Address","kind":"json-schema","title":"Address","data":{"properties":{"street":{"type":"string","example":"437 Lytton"},"city":{"type":"string","example":"Palo Alto"},"state":{"type":"string","example":"CA"},"zip":{"type":"string","example":94301}},"xml":{"name":"address"},"type":"object"}},"components/schemas/Category":{"id":"components/schemas/Category","kind":"json-schema","title":"Category","data":{"x-swagger-router-model":"io.swagger.petstore.model.Category","properties":{"id":{"type":"integer","format":"int64","example":1},"name":{"type":"string","example":"Dogs"}},"xml":{"name":"category"},"type":"object"}},"components/schemas/User":{"id":"components/schemas/User","kind":"json-schema","title":"User","data":{"x-swagger-router-model":"io.swagger.petstore.model.User","properties":{"id":{"type":"integer","format":"int64","example":10},"username":{"type":"string","example":"theUser"},"firstName":{"type":"string","example":"John"},"lastName":{"type":"string","example":"James"},"email":{"type":"string","example":"john@email.com"},"password":{"type":"string","example":12345},"phone":{"type":"string","example":12345},"userStatus":{"type":"integer","format":"int32","example":1,"description":"User Status"}},"xml":{"name":"user"},"type":"object"}},"components/schemas/Tag":{"id":"components/schemas/Tag","kind":"json-schema","title":"Tag","data":{"x-swagger-router-model":"io.swagger.petstore.model.Tag","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"tag"},"type":"object"}},"components/schemas/Pet":{"id":"components/schemas/Pet","kind":"json-schema","title":"Pet","data":{"x-swagger-router-model":"io.swagger.petstore.model.Pet","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64","example":10},"name":{"type":"string","example":"doggie"},"category":{"$ref":"#/components/schemas/Category"},"photoUrls":{"type":"array","xml":{"wrapped":true},"items":{"type":"string","xml":{"name":"photoUrl"}}},"tags":{"type":"array","xml":{"wrapped":true},"items":{"$ref":"#/components/schemas/Tag","xml":{"name":"tag"}}},"status":{"type":"string","description":"pet status in the store","enum":["available","pending","sold"]}},"xml":{"name":"pet"},"type":"object"}},"components/schemas/ApiResponse":{"id":"components/schemas/ApiResponse","kind":"json-schema","title":"ApiResponse","data":{"properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}},"xml":{"name":"##default"},"type":"object"}},"schema_115":{"kind":"json-schema","data":{"type":"string","enum":["available","pending","sold"],"default":"available"},"id":"schema_115"},"schema_116":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/Pet"}},"id":"schema_116"},"schema_117":{"kind":"json-schema","data":{"type":"array","items":{"type":"string"}},"id":"schema_117"},"schema_118":{"kind":"json-schema","data":{"type":"integer","format":"int64"},"id":"schema_118"},"schema_119":{"kind":"json-schema","data":{"type":"string"},"id":"schema_119"},"schema_120":{"kind":"json-schema","data":{"type":"string","format":"binary"},"id":"schema_120"},"schema_121":{"kind":"json-schema","data":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}},"id":"schema_121"},"schema_122":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"id":"schema_122"},"schema_123":{"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_123"}},"exampleStore":{},"securitySchemeStore":{"petstore_auth":{"id":"petstore_auth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://petstore.swagger.io/oauth/authorize","scopes":{"write:pet":"modify pet in your account","read:pet":"read your pet"}}}},"api_key":{"id":"api_key","type":"apiKey","in":"header","paramName":"api_key"}},"servers":[{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","isMockServer":true,"description":"Mock server"},{"url":"/v3"}]},"options":{"hideSidebar":true,"mockServer":{"url":"/_mock/catalog/api-showdown/api-hub/pet-store/openapi","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/catalog/api-showdown/api-hub/Pet Store/openapi.json?download"},{"url":"/_bundle/catalog/api-showdown/api-hub/Pet Store/openapi.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Swagger Petstore - OpenAPI 3.0","description":"This is a sample Pet Store Server based on the OpenAPI 3.0 specification.  You can find out more about\nSwagger at [http://swagger.io](http://swagger.io). In the third iteration of a pet store, we've switched to the design first approach!\nYou can now help us improve the API whether it's by making changes to the definition itself or to the code.\nThat way, with time, we can improve the API in general, and expose some of the new features in OAS3.\n\nSome useful links:\n- [The Pet Store repository](https://github.com/swagger-api/swagger-petstore)\n- [The source API definition for the Pet Store](https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml)"}},"baseSlug":"/catalog/api-showdown/api-hub/pet-store/openapi","routesMapping":{}}