openapi: 3.0.0 info: version: 1.0.0 title: Swagger Petstore license: name: MIT servers: - url: 'http://petstore.swagger.io/v1' paths: '/pets/{petId}': get: summary: Info for a specific pet operationId: showPetById tags: - pets parameters: - name: petId in: path required: true description: The id of the pet to retrieve schema: type: string responses: '200': description: Expected response to a valid request content: application/json: schema: title: Pet description: A single pet. type: object x-tags: - Pets properties: photoUrls: type: array items: type: string status: type: string description: pet status in the store enum: - available - pending - sold required: - photoUrls