Convert to JSON
Save + View
openapi: 3.0.0 info: description: |- This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, `special-key` to test the authorization filters. version: 1.0.0 title: Swagger Petstore termsOfService: 'http://swagger.io/terms/' contact: email: apiteam@swagger.io license: name: Apache 2.0 url: 'http://www.apache.org/licenses/LICENSE-2.0.html' paths: /pet: post: tags: - pet summary: Add a new pet to the store description: '' operationId: addPet requestBody: content: application/json: schema: $ref: '#/components/schemas/Pet' description: Pet object that needs to be added to the store required: true responses: '405': description: Invalid input externalDocs: description: Find out more about Swagger url: 'http://swagger.io' servers: - url: 'http://petstore.swagger.io/v2' components: schemas: Pet: type: object required: - name properties: name: type: string example: - Kanad - doggie
Explore