From 8a20cf059d2aefae32d3368a4a1cc23937c90a41 Mon Sep 17 00:00:00 2001 From: Vilius Pranckaitis Date: Fri, 13 Dec 2019 09:21:44 +0000 Subject: [PATCH] swagger-ui-dist: Change `layout` field to accept any string (#41005) --- types/swagger-ui-dist/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/swagger-ui-dist/index.d.ts b/types/swagger-ui-dist/index.d.ts index cdc48b7b74..273cce0ea8 100644 --- a/types/swagger-ui-dist/index.d.ts +++ b/types/swagger-ui-dist/index.d.ts @@ -74,7 +74,7 @@ export interface SwaggerConfigs { /** * The name of a component available via the plugin system to use as the top-level layout for Swagger UI. */ - layout?: 'BaseLayout'; + layout?: string; /** * Controls the default expansion setting for the operations and tags. It can be 'list' (expands only the tags), 'full' (expands the tags and operations) or 'none' (expands nothing).