From 82cbc886fe304103d46afa414868a7c22ec99392 Mon Sep 17 00:00:00 2001 From: KEC79 <60673655+KEC79@users.noreply.github.com> Date: Sat, 23 May 2020 05:07:02 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#45000=20Added=20's?= =?UTF-8?q?upportedSubmitMethods'=20missing=20type=20definition=20to=20'sw?= =?UTF-8?q?agger-ui-react'=20package=20by=20@KEC79?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/swagger-ui-react/index.d.ts | 1 + types/swagger-ui-react/swagger-ui-react-tests.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/types/swagger-ui-react/index.d.ts b/types/swagger-ui-react/index.d.ts index c6552eb27b..916f791c2e 100644 --- a/types/swagger-ui-react/index.d.ts +++ b/types/swagger-ui-react/index.d.ts @@ -28,6 +28,7 @@ export interface SwaggerUIProps { docExpansion?: 'list' | 'full' | 'none'; defaultModelExpandDepth?: number; plugins?: Plugin[]; + supportedSubmitMethods?: string[]; } declare class SwaggerUI extends React.PureComponent {} diff --git a/types/swagger-ui-react/swagger-ui-react-tests.tsx b/types/swagger-ui-react/swagger-ui-react-tests.tsx index abbf59e26a..37bf418c11 100644 --- a/types/swagger-ui-react/swagger-ui-react-tests.tsx +++ b/types/swagger-ui-react/swagger-ui-react-tests.tsx @@ -17,5 +17,6 @@ import SwaggerUI from 'swagger-ui-react'; }, }, ]} + supportedSubmitMethods={[]} /> ;