mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-30 04:23:44 +03:00
42 lines
762 B
JSON
42 lines
762 B
JSON
{
|
|
"swagger": "2.0",
|
|
"info": {
|
|
},
|
|
"host": "petstore.swagger.io",
|
|
"basePath": "/v2/",
|
|
"tags": [{
|
|
"name": "traitTag",
|
|
"x-traitTag": true,
|
|
"description": "description1"
|
|
},{
|
|
"name": "tag1",
|
|
"description": "tag1",
|
|
}],
|
|
"schemes": ["http"],
|
|
"paths": {
|
|
"/test1": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "successful operation",
|
|
"schema": {
|
|
"$ref": "#/definitions/def1"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "successful operation",
|
|
"schema": {
|
|
"$ref": "#/definitions/def1"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"definitions": {
|
|
"def1": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|