From 8c9bf61fe4c557704a79bfbd76ee1fad87ee8884 Mon Sep 17 00:00:00 2001 From: Sergey Shandar Date: Tue, 13 Nov 2018 17:03:10 -0800 Subject: [PATCH] According to Swagger 2.0, `responses` is required. (#59) --- index.d.ts | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index 86260d0..55b988c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -99,7 +99,7 @@ interface OperationObject { parameters?: ReadonlyArray consumes?: string[] produces?: string[] - responses?: ResponsesObject + responses: ResponsesObject } interface ResponsesObject { diff --git a/package-lock.json b/package-lock.json index c5ce710..93fee77 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "yasway", - "version": "1.2.0", + "version": "1.3.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3f7b164..17d215a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yasway", - "version": "1.2.0", + "version": "1.3.0", "description": "A library that simplifies Swagger integrations.", "main": "index.js", "types": "index.d.ts",