Some checks failed
Node.js CI / build (push) Failing after 2s
Node.js CI / e2e-tests (+(a11y|security|bugs)/**/*cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/!(o|d|m)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/+(o|d)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/m*.cy.js) (push) Failing after 2s
CodeQL / Analyze (javascript) (push) Failing after 1m15s
Security scan for docker image / build (push) Failing after 46s
44 lines
1.2 KiB
YAML
Executable File
44 lines
1.2 KiB
YAML
Executable File
swagger: "2.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, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `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"
|
|
host: "petstore.swagger.io"
|
|
basePath: "/v2"
|
|
produces:
|
|
- application/json
|
|
- application/xml
|
|
- text/csv
|
|
consumes:
|
|
- application/json
|
|
- application/xml
|
|
- text/csv
|
|
schemes:
|
|
- "https"
|
|
- "http"
|
|
paths:
|
|
/pet:
|
|
post:
|
|
tags:
|
|
- "pet"
|
|
summary: "Add a new pet to the store"
|
|
description: ""
|
|
operationId: "addPet"
|
|
parameters:
|
|
- in: "body"
|
|
name: "body"
|
|
description: "Pet object that needs to be added to the store"
|
|
required: true
|
|
schema:
|
|
$ref: "#/definitions/Pet"
|
|
responses:
|
|
405:
|
|
description: "Invalid input"
|
|
/pet/findByStatus:
|
|
$ref: "status.yaml#/paths/findByStatus" |