From 7b8220e443a737b1d8e1d407c335881f1902ef76 Mon Sep 17 00:00:00 2001 From: Alexander Batishchev Date: Tue, 8 Aug 2017 15:48:26 -0700 Subject: [PATCH 1/3] Fixing typo: paramter -> parameter --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7548e44c9..d7e1589d9 100644 --- a/README.md +++ b/README.md @@ -452,7 +452,7 @@ Use this option to control how the Operation listing is displayed. It can be set #### SupportedSubmitMethods #### -Specify which HTTP operations will have the 'Try it out!' option. An empty paramter list disables it for all operations. +Specify which HTTP operations will have the 'Try it out!' option. An empty parameter list disables it for all operations. ### Provide your own "index" file ### From 6a52f9cd48a5f16b48ab2904c4e6dd4e86d9b405 Mon Sep 17 00:00:00 2001 From: Alexander Batishchev Date: Tue, 8 Aug 2017 15:49:44 -0700 Subject: [PATCH 2/3] Update SwaggerConfig.cs.pp --- Swashbuckle.WebHost/Nuget/Content/App_Start/SwaggerConfig.cs.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Swashbuckle.WebHost/Nuget/Content/App_Start/SwaggerConfig.cs.pp b/Swashbuckle.WebHost/Nuget/Content/App_Start/SwaggerConfig.cs.pp index e5f1703c3..4c3527a68 100644 --- a/Swashbuckle.WebHost/Nuget/Content/App_Start/SwaggerConfig.cs.pp +++ b/Swashbuckle.WebHost/Nuget/Content/App_Start/SwaggerConfig.cs.pp @@ -214,7 +214,7 @@ // //c.DocExpansion(DocExpansion.List); - // Specify which HTTP operations will have the 'Try it out!' option. An empty paramter list disables + // Specify which HTTP operations will have the 'Try it out!' option. An empty parameter list disables // it for all operations. // //c.SupportedSubmitMethods("GET", "HEAD"); From 031d507cd9a020856fb04285e42c53bf114c4ff6 Mon Sep 17 00:00:00 2001 From: Alexander Batishchev Date: Tue, 8 Aug 2017 15:50:51 -0700 Subject: [PATCH 3/3] Update SwaggerConfig.cs --- Swashbuckle.Dummy.Core/App_Start/SwaggerConfig.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Swashbuckle.Dummy.Core/App_Start/SwaggerConfig.cs b/Swashbuckle.Dummy.Core/App_Start/SwaggerConfig.cs index 91377c72d..4794eae36 100644 --- a/Swashbuckle.Dummy.Core/App_Start/SwaggerConfig.cs +++ b/Swashbuckle.Dummy.Core/App_Start/SwaggerConfig.cs @@ -224,7 +224,7 @@ public static void Register(HttpConfiguration httpConfig) // c.DocExpansion(DocExpansion.List); - // Specify which HTTP operations will have the 'Try it out!' option. An empty paramter list disables + // Specify which HTTP operations will have the 'Try it out!' option. An empty parameter list disables // it for all operations. // //c.SupportedSubmitMethods("GET", "HEAD"); @@ -278,4 +278,4 @@ public static bool ResolveVersionSupportByRouteConstraint(ApiDescription apiDesc : versionConstraint.Pattern.Split('|').Contains(targetApiVersion); } } -} \ No newline at end of file +}