From 8f1957d054671202fa83cfbe0fbb81ec61f70457 Mon Sep 17 00:00:00 2001 From: Markus Ziller Date: Fri, 19 Feb 2016 09:21:08 +0100 Subject: [PATCH 1/2] Adds disableAllOfResolving to README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index df3f0cdbe0d..abe25e6b0b9 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,7 @@ supportedSubmitMethods | An array of of the HTTP operations that will have the ' oauth2RedirectUrl | OAuth redirect URL showRequestHeaders | Whether or not to show the headers that were sent when making a request via the 'Try it out!' option. Defaults to `false`. jsonEditor | Enables a graphical view for editing complex bodies. Defaults to `false`. +disableAllOfResolving | Disables the resolving of `allOf` tags, which can be very slow. If you don't use `allOf` in your spec, this can speed up the initial loading of Swagger UI significantly while not affecting functionality. Defaults to `false`. * All other parameters are explained in greater detail below From cb146bb921411bc9dfc39318c3ecf2ee11a80ed0 Mon Sep 17 00:00:00 2001 From: Markus Ziller Date: Fri, 19 Feb 2016 11:05:16 +0100 Subject: [PATCH 2/2] Adds disableAllOfResolvin: false as a default to index.html --- src/main/html/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/html/index.html b/src/main/html/index.html index 787762c6b6e..1610ce04bca 100644 --- a/src/main/html/index.html +++ b/src/main/html/index.html @@ -72,7 +72,8 @@ jsonEditor: false, apisSorter: "alpha", defaultModelRendering: 'schema', - showRequestHeaders: false + showRequestHeaders: false, + disableAllOfResolving: false }); function addApiKeyAuthorization(){