зеркало из https://github.com/Azure/sway.git
According to Swagger 2.0, `responses` is required. (#59)
This commit is contained in:
Родитель
202d214951
Коммит
8c9bf61fe4
|
@ -99,7 +99,7 @@ interface OperationObject {
|
||||||
parameters?: ReadonlyArray<ParameterObject>
|
parameters?: ReadonlyArray<ParameterObject>
|
||||||
consumes?: string[]
|
consumes?: string[]
|
||||||
produces?: string[]
|
produces?: string[]
|
||||||
responses?: ResponsesObject
|
responses: ResponsesObject
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ResponsesObject {
|
interface ResponsesObject {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "yasway",
|
"name": "yasway",
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "yasway",
|
"name": "yasway",
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"description": "A library that simplifies Swagger integrations.",
|
"description": "A library that simplifies Swagger integrations.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"types": "index.d.ts",
|
"types": "index.d.ts",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче