mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 09:03:44 +03:00
31 lines
877 B
JSON
31 lines
877 B
JSON
{
|
|
"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",
|
|
"schemes": ["http"],
|
|
"paths": {
|
|
"/pet": {
|
|
"post": {
|
|
"tags": ["tag1"],
|
|
"summary": "tag1"
|
|
},
|
|
"put": {
|
|
"tags": ["tag1", "traitTag"],
|
|
"summary": "two tags",
|
|
}
|
|
}
|
|
}
|
|
}
|