swagger-ui-dist: Change layout field to accept any string (#41005)

This commit is contained in:
Vilius Pranckaitis
2019-12-13 09:21:44 +00:00
committed by Orta
parent 7f6e442b7e
commit 8a20cf059d

View File

@@ -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).