From 01e4b2a41ad0f1ad5e7e78a2e40b077aabb086f8 Mon Sep 17 00:00:00 2001
From: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Date: Sun, 26 May 2019 16:52:10 -0700
Subject: [PATCH 1/3] Use new Microsoft.Extensions.ApiDescription.Server
package - provides document download on build and aligns with
Microsoft.Extensions.ApiDescription.Client p2p references - this feature is
off by default (though Microsoft.Extensions.ApiDescription.Server features
are normally opt-out) - can be enabled using
`true` - changes to
`$(OpenApiDocumentsDirectory)` also enable the feature - timing can be
changed using
`false`
- then, depend on the `RetrieveOpenApiDocuments` target from somewhere
else - add `GetDocumentNames()` to `IDocumentProvider` and
`AspNetCoreOpenApiDocumentGenerator` - rename `IDocumentProvider` namespace
Microsoft.Extensions.ApiDescription -> Microsoft.Extensions.ApiDescriptions
- avoid conflict with `Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription`
type - depend on Microsoft.Extensions.ApiDescription.Server package from
NSwag.AspNetCore package - restore and update the previously-unused (then
deleted) NSwag.AspNetCore.nuspec file
nits:
- remove and sort `using`s
- update remaining 13.0.0 version
- take VS suggestions in `NSwagServiceCollectionExtensions`
- add missing `NSwagServiceCollectionExtensions` copyright header
- correct spelling in `AspNetCoreOpenApiDocumentGenerator`
---
.../NSwag.ApiDescription.Client.nuspec | 2 +-
.../NSwagServiceCollectionExtensions.cs | 27 +++++---
src/NSwag.AspNetCore/IDocumentProvider.cs | 7 +-
src/NSwag.AspNetCore/NSwag.AspNetCore.csproj | 49 ++++++++++++--
src/NSwag.AspNetCore/NSwag.AspNetCore.nuspec | 63 ++++++++++++++++++
.../OpenApiDocumentProvider.cs | 19 ++++--
.../build/NSwag.AspNetCore.props | 9 +++
.../build/NSwag.AspNetCore.targets | 10 +++
.../NSwag.AspNetCore.props | 4 ++
.../NSwag.AspNetCore.targets | 4 ++
.../AspNetCoreOpenApiDocumentGenerator.cs | 2 +-
.../Processors/OperationResponseProcessor.cs | 2 +-
src/NSwag.Npm/package-lock.json | 2 +-
src/UpgradeLog.htm | Bin 87360 -> 0 bytes
14 files changed, 174 insertions(+), 26 deletions(-)
create mode 100644 src/NSwag.AspNetCore/NSwag.AspNetCore.nuspec
create mode 100644 src/NSwag.AspNetCore/build/NSwag.AspNetCore.props
create mode 100644 src/NSwag.AspNetCore/build/NSwag.AspNetCore.targets
create mode 100644 src/NSwag.AspNetCore/buildMultiTargeting/NSwag.AspNetCore.props
create mode 100644 src/NSwag.AspNetCore/buildMultiTargeting/NSwag.AspNetCore.targets
delete mode 100644 src/UpgradeLog.htm
diff --git a/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.nuspec b/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.nuspec
index acd3e416bd..6728bb87cb 100644
--- a/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.nuspec
+++ b/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.nuspec
@@ -14,7 +14,7 @@
Copyright © Rico Suter, 2019
true
-
+
diff --git a/src/NSwag.AspNetCore/Extensions/NSwagServiceCollectionExtensions.cs b/src/NSwag.AspNetCore/Extensions/NSwagServiceCollectionExtensions.cs
index 6441789691..f0f6bc1617 100644
--- a/src/NSwag.AspNetCore/Extensions/NSwagServiceCollectionExtensions.cs
+++ b/src/NSwag.AspNetCore/Extensions/NSwagServiceCollectionExtensions.cs
@@ -1,13 +1,22 @@
-using Microsoft.AspNetCore.Mvc;
+//-----------------------------------------------------------------------
+//
+// Copyright (c) Rico Suter. All rights reserved.
+//
+// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// Rico Suter, mail@rsuter.com
+//-----------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.ApiDescriptions;
using Microsoft.Extensions.Options;
using NJsonSchema;
using NSwag.AspNetCore;
using NSwag.Generation;
using NSwag.Generation.AspNetCore;
using NSwag.Generation.Processors;
-using System;
-using System.Collections.Generic;
-using System.Linq;
namespace Microsoft.Extensions.DependencyInjection
{
@@ -55,8 +64,10 @@ public static IServiceCollection AddSwaggerDocument(this IServiceCollection serv
{
serviceCollection.AddSingleton(services =>
{
- var settings = new AspNetCoreOpenApiDocumentGeneratorSettings();
- settings.SchemaType = SchemaType.Swagger2;
+ var settings = new AspNetCoreOpenApiDocumentGeneratorSettings
+ {
+ SchemaType = SchemaType.Swagger2,
+ };
configure?.Invoke(settings, services);
@@ -83,8 +94,8 @@ public static IServiceCollection AddSwaggerDocument(this IServiceCollection serv
// Used by UseDocumentProvider CLI setting
serviceCollection.AddSingleton(s => s.GetRequiredService());
- // Used by the Microsoft.Extensions.ApiDescription tool
- serviceCollection.AddSingleton(s => s.GetRequiredService());
+ // Used by the dotnet-getdocument tool from the Microsoft.Extensions.ApiDescription.Server package.
+ serviceCollection.AddSingleton(s => s.GetRequiredService());
}
return serviceCollection;
diff --git a/src/NSwag.AspNetCore/IDocumentProvider.cs b/src/NSwag.AspNetCore/IDocumentProvider.cs
index 9e7caa9c33..a0f7b424e7 100644
--- a/src/NSwag.AspNetCore/IDocumentProvider.cs
+++ b/src/NSwag.AspNetCore/IDocumentProvider.cs
@@ -6,15 +6,18 @@
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
+using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
-namespace Microsoft.Extensions.ApiDescription
+namespace Microsoft.Extensions.ApiDescriptions
{
// This service will be looked up by name from the service collection when using
- // the Microsoft.Extensions.ApiDescription tool
+ // the dotnet-getdocument tool from the Microsoft.Extensions.ApiDescription.Server package.
internal interface IDocumentProvider
{
+ IEnumerable GetDocumentNames();
+
Task GenerateAsync(string documentName, TextWriter writer);
}
}
diff --git a/src/NSwag.AspNetCore/NSwag.AspNetCore.csproj b/src/NSwag.AspNetCore/NSwag.AspNetCore.csproj
index 7562a0e9c5..a1b99f17c0 100644
--- a/src/NSwag.AspNetCore/NSwag.AspNetCore.csproj
+++ b/src/NSwag.AspNetCore/NSwag.AspNetCore.csproj
@@ -13,6 +13,19 @@
Rico Suter
https://raw.githubusercontent.com/NSwag/NSwag/master/assets/NuGetIcon.png
+ $(MSBuildProjectName).nuspec
+
+
+ $(GenerateNuspecDependsOn);PopulateNuspec
+
+ 1.0.3
+ 1.0.3
+ 1.0.2
+ 0.3.0-preview6.19307.2
+ 1.0.1
+ 1.6.1
+ 4.3.0
+ 4.0.1
bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml
@@ -23,17 +36,17 @@
-
-
-
-
+
+
+
+
-
-
+
+
@@ -41,4 +54,26 @@
-
\ No newline at end of file
+
+
+
+
+
+ id=$(PackageId);
+ authors=$(Authors);
+ configuration=$(Configuration);
+ description=$(PackageDescription);
+ version=$(PackageVersion);
+
+ microsoftAspNetCoreMvcCorePackageVersion=$(MicrosoftAspNetCoreMvcCorePackageVersion);
+ microsoftAspNetCoreMvcFormattersJsonPackageVersion=$(MicrosoftAspNetCoreMvcFormattersJsonPackageVersion);
+ microsoftAspNetCoreStaticFilesPackageVersion=$(MicrosoftAspNetCoreStaticFilesPackageVersion);
+ microsoftExtensionsApiDescriptionServerPackageVersion=$(MicrosoftExtensionsApiDescriptionServerPackageVersion);
+ microsoftExtensionsFileProvidersEmbeddedPackageVersion=$(MicrosoftExtensionsFileProvidersEmbeddedPackageVersion);
+ netStandardLibraryPackageVersion=$(NETStandardLibraryPackageVersion);
+ systemIOFileSystemPackageVersion=$(SystemIOFileSystemPackageVersion);
+ systemXmlXPathXDocumentPackageVersion=$(SystemXmlXPathXDocumentPackageVersion);
+
+
+
+
diff --git a/src/NSwag.AspNetCore/NSwag.AspNetCore.nuspec b/src/NSwag.AspNetCore/NSwag.AspNetCore.nuspec
new file mode 100644
index 0000000000..e101784317
--- /dev/null
+++ b/src/NSwag.AspNetCore/NSwag.AspNetCore.nuspec
@@ -0,0 +1,63 @@
+
+
+
+ $id$
+ $version$
+ $authors$
+ $description$
+ Swagger Documentation WebApi AspNet TypeScript CodeGen
+ https://github.com/NSwag/NSwag
+ https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://raw.githubusercontent.com/NSwag/NSwag/master/assets/NuGetIcon.png
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/NSwag.AspNetCore/OpenApiDocumentProvider.cs b/src/NSwag.AspNetCore/OpenApiDocumentProvider.cs
index 969fe5b8bb..3ebeeef884 100644
--- a/src/NSwag.AspNetCore/OpenApiDocumentProvider.cs
+++ b/src/NSwag.AspNetCore/OpenApiDocumentProvider.cs
@@ -6,14 +6,14 @@
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
-using Microsoft.Extensions.ApiDescription;
-using Microsoft.Extensions.DependencyInjection;
-using NSwag.Generation;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
+using Microsoft.Extensions.ApiDescriptions;
+using Microsoft.Extensions.DependencyInjection;
+using NSwag.Generation;
namespace NSwag.AspNetCore
{
@@ -40,7 +40,7 @@ public async Task GenerateAsync(string documentName)
if (group.Count() > 1)
{
throw new ArgumentException("The OpenAPI/Swagger document '" + group.Key + "' registered multiple times: " +
- "Explicitely set the DocumentName property in " +
+ "Explicitly set the DocumentName property in " +
nameof(NSwagServiceCollectionExtensions.AddSwaggerDocument) + "() or " +
nameof(NSwagServiceCollectionExtensions.AddOpenApiDocument) + "().");
}
@@ -56,7 +56,16 @@ public async Task GenerateAsync(string documentName)
return await document.Generator.GenerateAsync(_serviceProvider);
}
- // Called by the Microsoft.Extensions.ApiDescription tool
+ // Called by the dotnet-getdocument tool from the Microsoft.Extensions.ApiDescription.Server package.
+ IEnumerable IDocumentProvider.GetDocumentNames()
+ {
+ // DocumentName may be null. But, if it is, cannot generate the registered document.
+ return _documents
+ .Where(document => document.DocumentName != null)
+ .Select(document => document.DocumentName);
+ }
+
+ // Called by the dotnet-getdocument tool from the Microsoft.Extensions.ApiDescription.Server package.
async Task IDocumentProvider.GenerateAsync(string documentName, TextWriter writer)
{
if (documentName == null)
diff --git a/src/NSwag.AspNetCore/build/NSwag.AspNetCore.props b/src/NSwag.AspNetCore/build/NSwag.AspNetCore.props
new file mode 100644
index 0000000000..69e1637334
--- /dev/null
+++ b/src/NSwag.AspNetCore/build/NSwag.AspNetCore.props
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
diff --git a/src/NSwag.AspNetCore/build/NSwag.AspNetCore.targets b/src/NSwag.AspNetCore/build/NSwag.AspNetCore.targets
new file mode 100644
index 0000000000..75f82548cd
--- /dev/null
+++ b/src/NSwag.AspNetCore/build/NSwag.AspNetCore.targets
@@ -0,0 +1,10 @@
+
+
+
+
+ true
+
+
diff --git a/src/NSwag.AspNetCore/buildMultiTargeting/NSwag.AspNetCore.props b/src/NSwag.AspNetCore/buildMultiTargeting/NSwag.AspNetCore.props
new file mode 100644
index 0000000000..444bb3947b
--- /dev/null
+++ b/src/NSwag.AspNetCore/buildMultiTargeting/NSwag.AspNetCore.props
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/src/NSwag.AspNetCore/buildMultiTargeting/NSwag.AspNetCore.targets b/src/NSwag.AspNetCore/buildMultiTargeting/NSwag.AspNetCore.targets
new file mode 100644
index 0000000000..1ced71f051
--- /dev/null
+++ b/src/NSwag.AspNetCore/buildMultiTargeting/NSwag.AspNetCore.targets
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/src/NSwag.Generation.AspNetCore/AspNetCoreOpenApiDocumentGenerator.cs b/src/NSwag.Generation.AspNetCore/AspNetCoreOpenApiDocumentGenerator.cs
index 6dae56517e..f33e1fea97 100644
--- a/src/NSwag.Generation.AspNetCore/AspNetCoreOpenApiDocumentGenerator.cs
+++ b/src/NSwag.Generation.AspNetCore/AspNetCoreOpenApiDocumentGenerator.cs
@@ -361,4 +361,4 @@ private static string GetActionName(string actionName)
return actionName;
}
}
-}
\ No newline at end of file
+}
diff --git a/src/NSwag.Generation.AspNetCore/Processors/OperationResponseProcessor.cs b/src/NSwag.Generation.AspNetCore/Processors/OperationResponseProcessor.cs
index 021139b765..fb66c78d1a 100644
--- a/src/NSwag.Generation.AspNetCore/Processors/OperationResponseProcessor.cs
+++ b/src/NSwag.Generation.AspNetCore/Processors/OperationResponseProcessor.cs
@@ -125,4 +125,4 @@ private bool IsVoidResponse(Type returnType)
return returnType == null || returnType.FullName == "System.Void";
}
}
-}
\ No newline at end of file
+}
diff --git a/src/NSwag.Npm/package-lock.json b/src/NSwag.Npm/package-lock.json
index ae8529f413..81bc2d3ace 100644
--- a/src/NSwag.Npm/package-lock.json
+++ b/src/NSwag.Npm/package-lock.json
@@ -1,5 +1,5 @@
{
"name": "nswag",
- "version": "12.1.0",
+ "version": "13.0.3",
"lockfileVersion": 1
}
diff --git a/src/UpgradeLog.htm b/src/UpgradeLog.htm
deleted file mode 100644
index 9479f976e213b2ce7bafdd786ce4a0fac59220fb..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 87360
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
From 4e94b9d2bd558eb7bc2fa5f944b6a3ff08d62c68 Mon Sep 17 00:00:00 2001
From: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Date: Thu, 13 Jun 2019 09:39:01 -0700
Subject: [PATCH 2/3] Use latest GitHub URLs - https://github.com/NSwag and
https://github.com/RSuter just add an extra hop to
https://github.com/RicoSuter
---
CHANGELOG.md | 6 +--
README.md | 52 +++++++++----------
.../NSwag.Annotations.csproj | 2 +-
.../OpenApiExtensionDataAttribute.cs | 2 +-
src/NSwag.Annotations/OpenApiFileAttribute.cs | 2 +-
.../OpenApiIgnoreAttribute.cs | 2 +-
.../OpenApiOperationAttribute.cs | 2 +-
.../OpenApiOperationProcessorAttribute.cs | 2 +-
src/NSwag.Annotations/OpenApiTagAttribute.cs | 4 +-
src/NSwag.Annotations/OpenApiTagsAttribute.cs | 2 +-
.../ResponseTypeAttribute.cs | 2 +-
.../SwaggerDefaultResponseAttribute.cs | 2 +-
.../SwaggerResponseAttribute.cs | 2 +-
.../WillReadBodyAttribute.cs | 2 +-
.../NSwag.ApiDescription.Client.nuspec | 4 +-
.../Middlewares/OpenApiDocumentMiddleware.cs | 2 +-
.../Middlewares/RedirectToIndexMiddleware.cs | 2 +-
.../NSwag.AspNet.Owin.csproj | 2 +-
src/NSwag.AspNet.Owin/SwaggerExtensions.cs | 2 +-
.../JsonExceptionFilterAttribute.cs | 2 +-
.../NSwag.AspNet.WebApi.csproj | 2 +-
.../NSwag.AspNetCore.Launcher.x86.csproj | 2 +-
.../NSwag.AspNetCore.Launcher.csproj | 2 +-
.../NSwagServiceCollectionExtensions.cs | 2 +-
...NSwagSwaggerGeneratorSettingsExtensions.cs | 2 +-
src/NSwag.AspNetCore/HttpRequestExtension.cs | 2 +-
src/NSwag.AspNetCore/IDocumentProvider.cs | 2 +-
.../JsonExceptionFilterAttribute.cs | 4 +-
.../Middlewares/OpenApiDocumentMiddleware.cs | 2 +-
.../Middlewares/RedirectToIndexMiddleware.cs | 2 +-
src/NSwag.AspNetCore/NSwag.AspNetCore.csproj | 2 +-
src/NSwag.AspNetCore/NSwag.AspNetCore.nuspec | 4 +-
src/NSwag.AspNetCore/OAuth2ClientSettings.cs | 2 +-
.../OpenApiConfigureMvcOptions.cs | 2 +-
.../OpenApiDocumentMiddlewareSettings.cs | 8 +--
.../OpenApiDocumentProvider.cs | 2 +-
.../OpenApiDocumentRegistration.cs | 2 +-
src/NSwag.AspNetCore/ReDocSettings.cs | 2 +-
src/NSwag.AspNetCore/SwaggerSettings.cs | 2 +-
src/NSwag.AspNetCore/SwaggerUi3Settings.cs | 4 +-
src/NSwag.AspNetCore/SwaggerUiSettings.cs | 2 +-
src/NSwag.AspNetCore/SwaggerUiSettingsBase.cs | 2 +-
.../AppDomainIsolation.cs | 2 +-
.../AssemblyConfigurationFileTransformer.cs | 4 +-
src/NSwag.AssemblyLoader/AssemblyLoader.cs | 2 +-
.../CustomAssemblyLoadContext.cs | 2 +-
.../NSwag.AssemblyLoader.csproj | 2 +-
.../Utilities/PathUtilities.cs | 2 +-
.../CSharpClientGenerator.cs | 2 +-
.../CSharpClientGeneratorSettings.cs | 2 +-
.../CSharpControllerGenerator.cs | 2 +-
.../CSharpControllerGeneratorSettings.cs | 2 +-
.../CSharpGeneratorBase.cs | 2 +-
.../CSharpGeneratorBaseSettings.cs | 2 +-
.../Models/CSharpClientTemplateModel.cs | 2 +-
.../Models/CSharpControllerOperationModel.cs | 6 +--
.../CSharpControllerRouteNamingStrategy.cs | 2 +-
.../Models/CSharpControllerStyle.cs | 2 +-
.../Models/CSharpControllerTarget.cs | 2 +-
.../Models/CSharpControllerTemplateModel.cs | 2 +-
.../Models/CSharpExceptionDescriptionModel.cs | 2 +-
.../Models/CSharpFileTemplateModel.cs | 2 +-
.../Models/CSharpOperationModel.cs | 2 +-
.../Models/CSharpParameterModel.cs | 14 ++---
.../Models/CSharpResponseModel.cs | 4 +-
.../Models/CSharpTemplateModelBase.cs | 2 +-
.../NSwag.CodeGeneration.CSharp.csproj | 2 +-
.../HttpClass.cs | 4 +-
.../InjectionTokenType.cs | 2 +-
.../Models/TypeScriptClientTemplateModel.cs | 2 +-
.../Models/TypeScriptFileTemplateModel.cs | 2 +-
.../Models/TypeScriptFrameworkAngularModel.cs | 6 +--
.../Models/TypeScriptFrameworkModel.cs | 2 +-
.../Models/TypeScriptFrameworkRxJsModel.cs | 2 +-
.../Models/TypeScriptOperationModel.cs | 2 +-
.../Models/TypeScriptParameterModel.cs | 2 +-
.../Models/TypeScriptResponseModel.cs | 6 +--
.../NSwag.CodeGeneration.TypeScript.csproj | 2 +-
.../PromiseType.cs | 2 +-
.../TypeScriptClientGenerator.cs | 2 +-
.../TypeScriptClientGeneratorSettings.cs | 2 +-
.../TypeScriptTemplate.cs | 2 +-
.../TypeScriptTypeNameGenerator.cs | 2 +-
.../ClientGeneratorBase.cs | 10 ++--
.../ClientGeneratorBaseSettings.cs | 2 +-
.../ClientGeneratorOutputType.cs | 2 +-
.../ControllerGeneratorBaseSettings.cs | 2 +-
.../DefaultParameterNameGenerator.cs | 2 +-
.../DefaultTemplateFactory.cs | 4 +-
src/NSwag.CodeGeneration/IClientGenerator.cs | 2 +-
.../IParameterNameGenerator.cs | 2 +-
.../JsonSchemaExtensions.cs | 2 +-
.../Models/IOperationModel.cs | 2 +-
.../Models/OperationModelBase.cs | 4 +-
.../Models/ParameterModelBase.cs | 2 +-
.../Models/ResponseModelBase.cs | 6 +--
.../NSwag.CodeGeneration.csproj | 2 +-
.../IOperationNameGenerator.cs | 2 +-
...entsFromFirstTagAndOperationIdGenerator.cs | 2 +-
...agAndPathSegmentsOperationNameGenerator.cs | 2 +-
...tsFromOperationIdOperationNameGenerator.cs | 2 +-
...sFromPathSegmentsOperationNameGenerator.cs | 6 +--
...ntFromOperationIdOperationNameGenerator.cs | 6 +--
...tFromPathSegmentsOperationNameGenerator.cs | 6 +--
.../CodeGeneratorCommandBase.cs | 2 +-
.../JsonSchemaToCSharpCommand.cs | 2 +-
.../JsonSchemaToTypeScriptCommand.cs | 2 +-
.../OpenApiToCSharpClientCommand.cs | 2 +-
.../OpenApiToCSharpCommandBase.cs | 2 +-
.../OpenApiToCSharpControllerCommand.cs | 2 +-
.../OpenApiToTypeScriptClientCommand.cs | 2 +-
.../CodeGeneration/OperationGenerationMode.cs | 2 +-
.../Document/CreateDocumentCommand.cs | 4 +-
.../Document/ExecuteDocumentCommand.cs | 2 +-
.../AspNetCore/AspNetCoreToOpenApiCommand.cs | 2 +-
...CoreToOpenApiGeneratorCommandEntryPoint.cs | 2 +-
.../Commands/Generation/AspNetCore/Exe.cs | 2 +-
.../Generation/AspNetCore/ProjectMetadata.cs | 2 +-
.../Generation/FromDocumentCommand.cs | 2 +-
.../Commands/Generation/ListTypesCommand.cs | 2 +-
.../ListWebApiControllersCommand.cs | 2 +-
.../Generation/OpenApiGeneratorCommandBase.cs | 2 +-
.../Generation/TypesToOpenApiCommand.cs | 2 +-
.../WebApi/WebApiToOpenApiCommand.cs | 2 +-
src/NSwag.Commands/Commands/IOutputCommand.cs | 2 +-
.../Commands/InputOutputCommandBase.cs | 2 +-
.../Commands/IsolatedCommandBase.cs | 2 +-
.../IsolatedSwaggerOutputCommandBase.cs | 2 +-
.../Commands/OutputCommandBase.cs | 2 +-
.../Commands/OutputCommandExtensions.cs | 4 +-
.../Commands/Tooling/VersionCommand.cs | 2 +-
src/NSwag.Commands/NSwag.Commands.csproj | 2 +-
src/NSwag.Commands/NSwagCommandProcessor.cs | 2 +-
src/NSwag.Commands/NSwagDocument.cs | 2 +-
src/NSwag.Commands/NSwagDocumentBase.cs | 2 +-
.../OpenApiDocumentExecutionResult.cs | 2 +-
.../OperationGenerationModeConverter.cs | 2 +-
src/NSwag.Commands/Runtime.cs | 2 +-
src/NSwag.Commands/RuntimeUtilities.cs | 2 +-
.../NSwag.Console.x86.csproj | 2 +-
src/NSwag.Console/NSwag.Console.csproj | 2 +-
.../NSwag.ConsoleCore.csproj | 6 +--
src/NSwag.Core.Tests/DocumentLoadingTests.cs | 4 +-
src/NSwag.Core.Yaml/NSwag.Core.Yaml.csproj | 2 +-
src/NSwag.Core.Yaml/OpenApiYamlDocument.cs | 2 +-
src/NSwag.Core/HttpUtilities.cs | 2 +-
src/NSwag.Core/JsonExpectedSchema.cs | 2 +-
src/NSwag.Core/NSwag.Core.csproj | 2 +-
src/NSwag.Core/OpenApiCallback.cs | 2 +-
src/NSwag.Core/OpenApiComponents.cs | 2 +-
src/NSwag.Core/OpenApiContact.cs | 2 +-
.../OpenApiDocument.Serialization.cs | 2 +-
src/NSwag.Core/OpenApiDocument.cs | 6 +--
src/NSwag.Core/OpenApiEncoding.cs | 2 +-
src/NSwag.Core/OpenApiExample.cs | 2 +-
.../OpenApiExternalDocumentation.cs | 2 +-
src/NSwag.Core/OpenApiHeaders.cs | 2 +-
src/NSwag.Core/OpenApiInfo.cs | 2 +-
src/NSwag.Core/OpenApiLicense.cs | 2 +-
src/NSwag.Core/OpenApiLink.cs | 2 +-
src/NSwag.Core/OpenApiMediaType.cs | 2 +-
src/NSwag.Core/OpenApiOAuth2Flow.cs | 2 +-
src/NSwag.Core/OpenApiOAuthFlow.cs | 2 +-
src/NSwag.Core/OpenApiOAuthFlows.cs | 2 +-
src/NSwag.Core/OpenApiOperation.cs | 2 +-
src/NSwag.Core/OpenApiOperationDescription.cs | 2 +-
src/NSwag.Core/OpenApiOperationMethod.cs | 2 +-
src/NSwag.Core/OpenApiParameter.cs | 2 +-
.../OpenApiParameterCollectionFormat.cs | 2 +-
src/NSwag.Core/OpenApiParameterKind.cs | 2 +-
src/NSwag.Core/OpenApiPathItem.cs | 2 +-
src/NSwag.Core/OpenApiRequestBody.cs | 2 +-
src/NSwag.Core/OpenApiResponse.cs | 6 +--
src/NSwag.Core/OpenApiSchema.cs | 2 +-
src/NSwag.Core/OpenApiSchemaResolver.cs | 2 +-
.../OpenApiSecurityApiKeyLocation.cs | 2 +-
src/NSwag.Core/OpenApiSecurityRequirement.cs | 2 +-
src/NSwag.Core/OpenApiSecurityScheme.cs | 4 +-
src/NSwag.Core/OpenApiSecuritySchemeType.cs | 2 +-
src/NSwag.Core/OpenApiServer.cs | 2 +-
src/NSwag.Core/OpenApiServerVariable.cs | 2 +-
src/NSwag.Core/OpenApiTag.cs | 2 +-
.../AspNetCoreToSwaggerGenerationTests.cs | 2 +-
.../OperationResponseProcessorTest.cs | 2 +-
.../AspNetCoreOpenApiDocumentGenerator.cs | 2 +-
...NetCoreOpenApiDocumentGeneratorSettings.cs | 2 +-
.../AspNetCoreOperationProcessorContext.cs | 20 +++----
.../NSwag.Generation.AspNetCore.csproj | 2 +-
...pNetCoreOperationSecurityScopeProcessor.cs | 2 +-
.../AspNetCoreOperationTagsProcessor.cs | 2 +-
.../Processors/OperationParameterProcessor.cs | 2 +-
.../Processors/OperationResponseProcessor.cs | 2 +-
.../Attributes/ComplexParametersTests.cs | 4 +-
.../Attributes/RouteInheritanceTests.cs | 2 +-
.../Attributes/RouteTests.cs | 2 +-
.../SwashbuckleAnnotationsTests.cs | 2 +-
.../RouteTests.cs | 2 +-
.../Infrastructure/RouteAttributeFacade.cs | 2 +-
.../RoutePrefixAttributeFacade.cs | 2 +-
.../NSwag.Generation.WebApi.csproj | 2 +-
.../Processors/OperationConsumesProcessor.cs | 2 +-
.../Processors/OperationParameterProcessor.cs | 6 +--
.../Processors/OperationResponseProcessor.cs | 2 +-
.../WebApiOpenApiDocumentGenerator.cs | 2 +-
.../WebApiOpenApiDocumentGeneratorSettings.cs | 2 +-
.../IOpenApiDocumentGenerator.cs | 2 +-
src/NSwag.Generation/NSwag.Generation.csproj | 2 +-
.../OpenApiDocumentGenerator.cs | 2 +-
.../OpenApiDocumentGeneratorSettings.cs | 2 +-
.../OpenApiSchemaGenerator.cs | 2 +-
.../Processors/ActionDocumentProcessor.cs | 2 +-
.../Processors/ApiVersionProcessor.cs | 2 +-
.../DocumentProcessorCollection.cs | 2 +-
.../OperationProcessorCollection.cs | 2 +-
.../Contexts/DocumentProcessorContext.cs | 2 +-
.../Contexts/OperationProcessorContext.cs | 2 +-
.../DocumentExtensionDataProcessor.cs | 2 +-
.../Processors/DocumentTagsProcessor.cs | 2 +-
.../Processors/IDocumentProcessor.cs | 2 +-
.../Processors/IOperationProcessor.cs | 2 +-
.../OperationExtensionDataProcessor.cs | 2 +-
.../Processors/OperationProcessor.cs | 2 +-
.../OperationResponseDescription.cs | 2 +-
.../OperationResponseProcessorBase.cs | 4 +-
...OperationSummaryAndDescriptionProcessor.cs | 4 +-
.../Processors/OperationTagsProcessor.cs | 2 +-
.../OperationSecurityScopeProcessor.cs | 2 +-
.../Security/SecurityDefinitionAppender.cs | 2 +-
.../package.json | 2 +-
.../Controllers/PersonsController.cs | 2 +-
src/NSwag.MSBuild/NSwag.MSBuild.nuspec | 6 +--
src/NSwag.Npm/README.md | 34 ++++++------
src/NSwag.Npm/package.json | 4 +-
src/NSwagStudio.Chocolatey/LICENSE.txt | 2 +-
src/NSwagStudio.Chocolatey/NSwagStudio.nuspec | 4 +-
src/NSwagStudio/ISwaggerGeneratorView.cs | 2 +-
.../CodeGenerators/SwaggerOutputViewModel.cs | 2 +-
...SwaggerToCSharpClientGeneratorViewModel.cs | 2 +-
...gerToCSharpControllerGeneratorViewModel.cs | 2 +-
...gerToTypeScriptClientGeneratorViewModel.cs | 2 +-
src/NSwagStudio/ViewModels/MainWindowModel.cs | 2 +-
.../AspNetCoreToSwaggerGeneratorViewModel.cs | 4 +-
...AssemblyTypeToSwaggerGeneratorViewModel.cs | 2 +-
.../WebApiToSwaggerGeneratorViewModel.cs | 4 +-
src/NSwagStudio/ViewModels/ViewModelBase.cs | 2 +-
src/NSwagStudio/Views/MainWindow.xaml | 22 ++++----
246 files changed, 366 insertions(+), 366 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8fc805343c..3ebff22bf1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,12 +2,12 @@
## Release v11.3
-See https://github.com/RSuter/NSwag/releases/tag/NSwag-Build-841
+See https://github.com/RicoSuter/NSwag/releases/tag/NSwag-Build-841
## Release v11.0
-See https://github.com/NSwag/NSwag/releases/tag/NSwag-Build-829
+See https://github.com/RicoSuter/NSwag/releases/tag/NSwag-Build-829
## Release v10.0
-See https://github.com/NSwag/NSwag/releases/tag/NSwag-Build-813
+See https://github.com/RicoSuter/NSwag/releases/tag/NSwag-Build-813
diff --git a/README.md b/README.md
index 3d43bf60a1..1666aef053 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,12 @@
## NSwag: The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript
- [![NuGet Version](https://img.shields.io/nuget/v/NSwag.Core.svg)](https://www.nuget.org/packages?q=NSwag)
+[![NuGet Version](https://img.shields.io/nuget/v/NSwag.Core.svg)](https://www.nuget.org/packages?q=NSwag)
[![npm](https://img.shields.io/npm/v/nswag.svg)](https://www.npmjs.com/package/nswag)
[![Build status](https://img.shields.io/appveyor/ci/rsuter/nswag-25x6o.svg?label=build)](https://ci.appveyor.com/project/rsuter/nswag-25x6o)
[![MyGet](https://img.shields.io/myget/nswag/v/NSwag.Core.svg?label=preview%20nuget)](https://www.myget.org/feed/Packages/nswag)
[![Gitter](https://img.shields.io/badge/gitter-join%20chat-1dce73.svg)](https://gitter.im/NSwag/NSwag)
[![StackOverflow](https://img.shields.io/badge/questions-on%20StackOverflow-orange.svg?style=flat)](http://stackoverflow.com/questions/tagged/nswag)
-[![Wiki](https://img.shields.io/badge/docs-in%20wiki-orange.svg?style=flat)](https://github.com/rsuter/nswag/wiki)
+[![Wiki](https://img.shields.io/badge/docs-in%20wiki-orange.svg?style=flat)](https://github.com/RicoSuter/nswag/wiki)
[![Backers on Open Collective](https://opencollective.com/NSwag/backers/badge.svg)](#backers)
[![Sponsors on Open Collective](https://opencollective.com/NSwag/sponsors/badge.svg)](#sponsors)
@@ -30,12 +30,12 @@ The project is developed and maintained by [Rico Suter](http://rsuter.com) and o
**Ways to use the toolchain:**
-- Simple to use Windows GUI, [NSwagStudio](https://github.com/NSwag/NSwag/wiki/NSwagStudio)
-- By using the [OpenAPI or OpenAPI UI OWIN and ASP.NET Core Middlewares](https://github.com/NSwag/NSwag/wiki/Middlewares) (also serves the [Swagger UI](https://github.com/swagger-api/swagger-ui)) (recommended)
-- Via [command line](https://github.com/NSwag/NSwag/wiki/CommandLine) (Windows, Mac and Linux support through [Mono](http://www.mono-project.com/) or .NET Core console binary, also via [NPM package](https://www.npmjs.com/package/nswag))
+- Simple to use Windows GUI, [NSwagStudio](https://github.com/RicoSuter/NSwag/wiki/NSwagStudio)
+- By using the [OpenAPI or OpenAPI UI OWIN and ASP.NET Core Middlewares](https://github.com/RicoSuter/NSwag/wiki/Middlewares) (also serves the [Swagger UI](https://github.com/swagger-api/swagger-ui)) (recommended)
+- Via [command line](https://github.com/RicoSuter/NSwag/wiki/CommandLine) (Windows, Mac and Linux support through [Mono](http://www.mono-project.com/) or .NET Core console binary, also via [NPM package](https://www.npmjs.com/package/nswag))
- In your C# code, via [NuGet](https://www.nuget.org/packages?q=NSwag)
-- In your [MSBuild targets](https://github.com/NSwag/NSwag/wiki/MSBuild)
-- With [ServiceProjectReference](https://github.com/NSwag/NSwag/wiki/ServiceProjectReference) tags in your .csproj (preview)
+- In your [MSBuild targets](https://github.com/RicoSuter/NSwag/wiki/MSBuild)
+- With [ServiceProjectReference](https://github.com/RicoSuter/NSwag/wiki/ServiceProjectReference) tags in your .csproj (preview)
- In your [Azure V2 Functions](https://github.com/Jusas/NSwag.AzureFunctionsV2) (external project, might not use latest NSwag version)
**Tutorials:**
@@ -47,27 +47,27 @@ The project is developed and maintained by [Rico Suter](http://rsuter.com) and o
**OpenAPI/Swagger Generators:**
- ASP.NET Web API assembly to OpenAPI (supports .NET Core)
- - [AspNetCoreOpenApiDocumentGenerator](https://github.com/RSuter/NSwag/wiki/AspNetCoreOpenApiDocumentGenerator)
- - [WebApiOpenApiDocumentGenerator](https://github.com/NSwag/NSwag/wiki/WebApiOpenApiDocumentGenerator)
+ - [AspNetCoreOpenApiDocumentGenerator](https://github.com/RicoSuter/NSwag/wiki/AspNetCoreOpenApiDocumentGenerator)
+ - [WebApiOpenApiDocumentGenerator](https://github.com/RicoSuter/NSwag/wiki/WebApiOpenApiDocumentGenerator)
- Generates an OpenAPI specification for Web API controllers
- - [WebApiToOpenApiCommand](https://github.com/NSwag/NSwag/wiki/WebApiToOpenApiCommand)
+ - [WebApiToOpenApiCommand](https://github.com/RicoSuter/NSwag/wiki/WebApiToOpenApiCommand)
- Generates an OpenAPI specification for controllers in an external Web API assembly
- - [Also supports loading of .NET Core assemblies](https://github.com/RSuter/NSwag/wiki/Assembly-loading)
- - [TypesToOpenApiCommand](https://github.com/NSwag/NSwag/wiki/TypesToOpenApiCommand)
+ - [Also supports loading of .NET Core assemblies](https://github.com/RicoSuter/NSwag/wiki/Assembly-loading)
+ - [TypesToOpenApiCommand](https://github.com/RicoSuter/NSwag/wiki/TypesToOpenApiCommand)
- Generates an OpenAPI specification containing only types from .NET assemblies
**Code Generators:**
- **CSharp Client**
- - [CSharpClientGenerator](https://github.com/NSwag/NSwag/wiki/CSharpClientGenerator)
+ - [CSharpClientGenerator](https://github.com/RicoSuter/NSwag/wiki/CSharpClientGenerator)
- Generates C# clients from an OpenAPI specification
- Generates POCOs or classes implementing [INotifyPropertyChanged](https://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged(v=vs.110).aspx) supporting DTOs
- The generated clients can be used with full .NET, .NET Core, Xamarin and .NET Standard 1.4 in general
- **CSharp Controllers** (contract first/schema first development)
- - [CSharpControllerGenerator](https://github.com/NSwag/NSwag/wiki/CSharpControllerGenerator)
+ - [CSharpControllerGenerator](https://github.com/RicoSuter/NSwag/wiki/CSharpControllerGenerator)
- Generates Web API Controllers based on a OpenAPI specification (ASP.NET Web API and ASP.NET Core)
- **TypeScript Client**
- - [TypeScriptClientGenerator](https://github.com/NSwag/NSwag/wiki/TypeScriptClientGenerator)
+ - [TypeScriptClientGenerator](https://github.com/RicoSuter/NSwag/wiki/TypeScriptClientGenerator)
- Generates TypeScript clients from a OpenAPI specification
- Available templates/supported libraries:
- JQuery with Callbacks, `JQueryCallbacks`
@@ -93,7 +93,7 @@ The project is developed and maintained by [Rico Suter](http://rsuter.com) and o
Specification:
- **[NSwag.Core](https://www.nuget.org/packages/NSwag.Core/)** (.NET Standard 1.0 / 2.0 and .NET 4.5):
- - The OpenAPI/Swagger reader and writer classes, see [OpenApiDocument](https://github.com/RSuter/NSwag/wiki/OpenApiDocument)
+ - The OpenAPI/Swagger reader and writer classes, see [OpenApiDocument](https://github.com/RicoSuter/NSwag/wiki/OpenApiDocument)
- **[NSwag.Core.Yaml](https://www.nuget.org/packages/NSwag.Core.Yaml/)** (.NET Standard 1.3 / 2.0 and .NET 4.5):
- Extensions to read and write YAML OpenAPI specifications
- **[NSwag.Annotations](https://www.nuget.org/packages/NSwag.Annotations/)** (.NET Standard 1.0 / 2.0 and .NET 4.5):
@@ -104,7 +104,7 @@ OpenAPI generation:
- **[NSwag.Generation](https://www.nuget.org/packages/NSwag.Generation/)** (.NET Standard 1.0 / 2.0 and .NET 4.5):
- Classes to generate OpenAPI specifications
- **[NSwag.Generation.WebApi](https://www.nuget.org/packages/NSwag.Generation.WebApi/)** (.NET Standard 1.0 / 2.0 and .NET 4.5):
- - Classes to generate OpenAPI specifications from Web API controllers, see [WebApiOpenApiDocumentGenerator](https://github.com/RSuter/NSwag/wiki/WebApiOpenApiDocumentGenerator)
+ - Classes to generate OpenAPI specifications from Web API controllers, see [WebApiOpenApiDocumentGenerator](https://github.com/RicoSuter/NSwag/wiki/WebApiOpenApiDocumentGenerator)
- **[NSwag.Generation.AspNetCore](https://www.nuget.org/packages/NSwag.Generation.AspNetCore/)** (.NET Standard 1.6 / 2.0 and .NET 4.5.1):
- (Experimental) Classes to generate OpenAPI specifications from ASP.NET Core MVC controllers using the ApiExplorer
@@ -113,17 +113,17 @@ Code generation:
- **[NSwag.CodeGeneration](https://www.nuget.org/packages/NSwag.CodeGeneration/)** (.NET Standard 1.3 / 2.0 / .NET 4.5.1):
- Base classes to generate clients from OpenAPI specifications
- **[NSwag.CodeGeneration.CSharp](https://www.nuget.org/packages/NSwag.CodeGeneration.CSharp/)** (.NET Standard 1.3 and .NET 4.5.1):
- - Classes to generate C# clients from OpenAPI specifications, see [CSharpClientGenerator](https://github.com/RSuter/NSwag/wiki/CSharpClientGenerator) and [CSharpControllerGenerator](https://github.com/RSuter/NSwag/wiki/CSharpControllerGenerator)
+ - Classes to generate C# clients from OpenAPI specifications, see [CSharpClientGenerator](https://github.com/RicoSuter/NSwag/wiki/CSharpClientGenerator) and [CSharpControllerGenerator](https://github.com/RicoSuter/NSwag/wiki/CSharpControllerGenerator)
- **[NSwag.CodeGeneration.TypeScript](https://www.nuget.org/packages/NSwag.CodeGeneration.TypeScript/)** (.NET Standard 1.3 and .NET 4.5.1):
- - Classes to generate TypeScript clients from OpenAPI specifications, see [TypeScriptClientGenerator](https://github.com/RSuter/NSwag/wiki/TypeScriptClientGenerator)
+ - Classes to generate TypeScript clients from OpenAPI specifications, see [TypeScriptClientGenerator](https://github.com/RicoSuter/NSwag/wiki/TypeScriptClientGenerator)
ASP.NET and ASP.NET Core:
- **[NSwag.AspNetCore](https://www.nuget.org/packages/NSwag.AspNetCore/)** (.NET Standard 1.6 / 2.0 and .NET 4.5.1+):
- **[NSwag.AspNet.Owin](https://www.nuget.org/packages/NSwag.AspNet.Owin/)** (.NET 4.5+):
- - [ASP.NET Core/OWIN middlewares](https://github.com/NSwag/NSwag/wiki/Middlewares) for serving OpenAPI specifications and Swagger UI
+ - [ASP.NET Core/OWIN middlewares](https://github.com/RicoSuter/NSwag/wiki/Middlewares) for serving OpenAPI specifications and Swagger UI
- **[NSwag.AspNet.WebApi](https://www.nuget.org/packages/NSwag.AspNet.WebApi/)** (.NET 4.5+):
- - ASP.NET Web API filter which serializes exceptions ([JsonExceptionFilterAttribute](https://github.com/NSwag/NSwag/wiki/JsonExceptionFilterAttribute))
+ - ASP.NET Web API filter which serializes exceptions ([JsonExceptionFilterAttribute](https://github.com/RicoSuter/NSwag/wiki/JsonExceptionFilterAttribute))
Frontends:
@@ -132,7 +132,7 @@ Frontends:
- **[NSwag.Commands](https://www.nuget.org/packages/NSwag.Commands/)** (.NET Standard 1.6 / 2.0 and .NET 4.5.1+):
- Commands for the command line tool implementations and UI
- **[NSwag.MSBuild](https://www.nuget.org/packages/NSwag.MSBuild/)** (MSBuild .targets):
- - Adds a .targets file to your Visual Studio project, so that you can run the NSwag command line tool in an MSBuild target, see [MSBuild](https://github.com/RSuter/NSwag/wiki/MSBuild)
+ - Adds a .targets file to your Visual Studio project, so that you can run the NSwag command line tool in an MSBuild target, see [MSBuild](https://github.com/RicoSuter/NSwag/wiki/MSBuild)
- **[NSwag.ConsoleCore](https://www.nuget.org/packages/NSwag.ConsoleCore/)** (.NET Core 1.0, 1.1, 2.0, 2.1 and 2.2):
- Command line tool for .NET Core (`dotnet nswag`)
- **[NSwagStudio](https://chocolatey.org/packages/nswagstudio)** (Chocolatey, Windows):
@@ -146,7 +146,7 @@ The NuGet packages may require the **Microsoft.NETCore.Portable.Compatibility**
### Usage in C#
-To register the [middlewares](https://github.com/RSuter/NSwag/wiki/AspNetCoreOpenApiDocumentGenerator) to generate a OpenAPI spec and render the UI, register NSwag in `Startup.cs`:
+To register the [middlewares](https://github.com/RicoSuter/NSwag/wiki/AspNetCoreOpenApiDocumentGenerator) to generate a OpenAPI spec and render the UI, register NSwag in `Startup.cs`:
```csharp
public class Startup
@@ -187,11 +187,11 @@ var clientGenerator = new CSharpClientGenerator(document, clientSettings);
var code = clientGenerator.GenerateFile();
```
-Check out the [project Wiki](https://github.com/NSwag/NSwag/wiki) for more information.
+Check out the [project Wiki](https://github.com/RicoSuter/NSwag/wiki) for more information.
### NSwagStudio
-The generators can be used in a comfortable and simple Windows GUI called [NSwagStudio](https://github.com/NSwag/NSwag/wiki/NSwagStudio):
+The generators can be used in a comfortable and simple Windows GUI called [NSwagStudio](https://github.com/RicoSuter/NSwag/wiki/NSwagStudio):
[![](https://raw.githubusercontent.com/NSwag/NSwag/master/assets/screenshots/03_WebAPI_CSharp.png)](https://raw.githubusercontent.com/NSwag/NSwag/master/assets/screenshots/03_WebAPI_CSharp.png)
@@ -215,7 +215,7 @@ Sponsors:
## Contributors
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
-
+
## Backers
diff --git a/src/NSwag.Annotations/NSwag.Annotations.csproj b/src/NSwag.Annotations/NSwag.Annotations.csproj
index 399a5c76b1..4681bbb061 100644
--- a/src/NSwag.Annotations/NSwag.Annotations.csproj
+++ b/src/NSwag.Annotations/NSwag.Annotations.csproj
@@ -5,7 +5,7 @@
13.0.3
Swagger Documentation WebApi AspNet TypeScript CodeGen
Copyright © Rico Suter, 2019
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
http://NSwag.org
True
True
diff --git a/src/NSwag.Annotations/OpenApiExtensionDataAttribute.cs b/src/NSwag.Annotations/OpenApiExtensionDataAttribute.cs
index 383da0522f..c70b1b1eb0 100644
--- a/src/NSwag.Annotations/OpenApiExtensionDataAttribute.cs
+++ b/src/NSwag.Annotations/OpenApiExtensionDataAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Annotations/OpenApiFileAttribute.cs b/src/NSwag.Annotations/OpenApiFileAttribute.cs
index fde25afb47..8d631671c0 100644
--- a/src/NSwag.Annotations/OpenApiFileAttribute.cs
+++ b/src/NSwag.Annotations/OpenApiFileAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Annotations/OpenApiIgnoreAttribute.cs b/src/NSwag.Annotations/OpenApiIgnoreAttribute.cs
index de27a84f4d..16ffaa529e 100644
--- a/src/NSwag.Annotations/OpenApiIgnoreAttribute.cs
+++ b/src/NSwag.Annotations/OpenApiIgnoreAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Annotations/OpenApiOperationAttribute.cs b/src/NSwag.Annotations/OpenApiOperationAttribute.cs
index a9a9ca16ce..38e72e1c2c 100644
--- a/src/NSwag.Annotations/OpenApiOperationAttribute.cs
+++ b/src/NSwag.Annotations/OpenApiOperationAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Annotations/OpenApiOperationProcessorAttribute.cs b/src/NSwag.Annotations/OpenApiOperationProcessorAttribute.cs
index ed956f04c4..740323d81b 100644
--- a/src/NSwag.Annotations/OpenApiOperationProcessorAttribute.cs
+++ b/src/NSwag.Annotations/OpenApiOperationProcessorAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Annotations/OpenApiTagAttribute.cs b/src/NSwag.Annotations/OpenApiTagAttribute.cs
index ccc732065f..5b0d598976 100644
--- a/src/NSwag.Annotations/OpenApiTagAttribute.cs
+++ b/src/NSwag.Annotations/OpenApiTagAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -28,7 +28,7 @@ public class SwaggerTagAttribute : Attribute
/// Initializes a new instance of the class.
public SwaggerTagAttribute(string name)
{
- Name = name;
+ Name = name;
}
/// Gets or sets the name.
diff --git a/src/NSwag.Annotations/OpenApiTagsAttribute.cs b/src/NSwag.Annotations/OpenApiTagsAttribute.cs
index 6b4682236e..b97f04722f 100644
--- a/src/NSwag.Annotations/OpenApiTagsAttribute.cs
+++ b/src/NSwag.Annotations/OpenApiTagsAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Annotations/ResponseTypeAttribute.cs b/src/NSwag.Annotations/ResponseTypeAttribute.cs
index 543eb59995..8e5b0abb70 100644
--- a/src/NSwag.Annotations/ResponseTypeAttribute.cs
+++ b/src/NSwag.Annotations/ResponseTypeAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Annotations/SwaggerDefaultResponseAttribute.cs b/src/NSwag.Annotations/SwaggerDefaultResponseAttribute.cs
index 33884a00c1..b6d82bb875 100644
--- a/src/NSwag.Annotations/SwaggerDefaultResponseAttribute.cs
+++ b/src/NSwag.Annotations/SwaggerDefaultResponseAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Annotations/SwaggerResponseAttribute.cs b/src/NSwag.Annotations/SwaggerResponseAttribute.cs
index 686d2296ac..6be1bafb89 100644
--- a/src/NSwag.Annotations/SwaggerResponseAttribute.cs
+++ b/src/NSwag.Annotations/SwaggerResponseAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Annotations/WillReadBodyAttribute.cs b/src/NSwag.Annotations/WillReadBodyAttribute.cs
index 0b4758c840..07ac08eae9 100644
--- a/src/NSwag.Annotations/WillReadBodyAttribute.cs
+++ b/src/NSwag.Annotations/WillReadBodyAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.nuspec b/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.nuspec
index 6728bb87cb..8d4c5614db 100644
--- a/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.nuspec
+++ b/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.nuspec
@@ -6,8 +6,8 @@
Rico Suter
Rico Suter
false
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
- https://github.com/NSwag/NSwag
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag
https://raw.githubusercontent.com/NSwag/NSwag/master/assets/NuGetIcon.png
NSwag: The Swagger API toolchain for .NET and TypeScript
Swagger Documentation WebApi AspNet TypeScript CodeGen
diff --git a/src/NSwag.AspNet.Owin/Middlewares/OpenApiDocumentMiddleware.cs b/src/NSwag.AspNet.Owin/Middlewares/OpenApiDocumentMiddleware.cs
index 204c00f060..956f62d3e6 100644
--- a/src/NSwag.AspNet.Owin/Middlewares/OpenApiDocumentMiddleware.cs
+++ b/src/NSwag.AspNet.Owin/Middlewares/OpenApiDocumentMiddleware.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNet.Owin/Middlewares/RedirectToIndexMiddleware.cs b/src/NSwag.AspNet.Owin/Middlewares/RedirectToIndexMiddleware.cs
index f7763f6bc2..f32b746fbd 100644
--- a/src/NSwag.AspNet.Owin/Middlewares/RedirectToIndexMiddleware.cs
+++ b/src/NSwag.AspNet.Owin/Middlewares/RedirectToIndexMiddleware.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNet.Owin/NSwag.AspNet.Owin.csproj b/src/NSwag.AspNet.Owin/NSwag.AspNet.Owin.csproj
index ba60c36fe6..4aa4f70876 100644
--- a/src/NSwag.AspNet.Owin/NSwag.AspNet.Owin.csproj
+++ b/src/NSwag.AspNet.Owin/NSwag.AspNet.Owin.csproj
@@ -5,7 +5,7 @@
13.0.3
Swagger Documentation WebApi AspNet TypeScript CodeGen
Copyright © Rico Suter, 2019
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
http://NSwag.org
True
True
diff --git a/src/NSwag.AspNet.Owin/SwaggerExtensions.cs b/src/NSwag.AspNet.Owin/SwaggerExtensions.cs
index 4331b5e777..90992b019f 100644
--- a/src/NSwag.AspNet.Owin/SwaggerExtensions.cs
+++ b/src/NSwag.AspNet.Owin/SwaggerExtensions.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNet.WebApi/JsonExceptionFilterAttribute.cs b/src/NSwag.AspNet.WebApi/JsonExceptionFilterAttribute.cs
index 50bc91ceab..0a462752d9 100644
--- a/src/NSwag.AspNet.WebApi/JsonExceptionFilterAttribute.cs
+++ b/src/NSwag.AspNet.WebApi/JsonExceptionFilterAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NJsonSchema/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNet.WebApi/NSwag.AspNet.WebApi.csproj b/src/NSwag.AspNet.WebApi/NSwag.AspNet.WebApi.csproj
index 006ccae5a2..ddfa870bcd 100644
--- a/src/NSwag.AspNet.WebApi/NSwag.AspNet.WebApi.csproj
+++ b/src/NSwag.AspNet.WebApi/NSwag.AspNet.WebApi.csproj
@@ -5,7 +5,7 @@
13.0.3
Swagger Documentation WebApi AspNet TypeScript CodeGen
Copyright © Rico Suter, 2019
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
http://NSwag.org
True
True
diff --git a/src/NSwag.AspNetCore.Launcher.x86/NSwag.AspNetCore.Launcher.x86.csproj b/src/NSwag.AspNetCore.Launcher.x86/NSwag.AspNetCore.Launcher.x86.csproj
index 539f074f5b..97c0d90fc8 100644
--- a/src/NSwag.AspNetCore.Launcher.x86/NSwag.AspNetCore.Launcher.x86.csproj
+++ b/src/NSwag.AspNetCore.Launcher.x86/NSwag.AspNetCore.Launcher.x86.csproj
@@ -9,7 +9,7 @@
Rico Suter
NSwag: The Swagger API toolchain for .NET and TypeScript
Copyright © Rico Suter, 2019
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
http://NSwag.org
https://raw.githubusercontent.com/NSwag/NSwag/master/assets/NuGetIcon.png
Swagger Documentation WebApi AspNet TypeScript CodeGen
diff --git a/src/NSwag.AspNetCore.Launcher/NSwag.AspNetCore.Launcher.csproj b/src/NSwag.AspNetCore.Launcher/NSwag.AspNetCore.Launcher.csproj
index 8b49736eee..2d20a291a1 100644
--- a/src/NSwag.AspNetCore.Launcher/NSwag.AspNetCore.Launcher.csproj
+++ b/src/NSwag.AspNetCore.Launcher/NSwag.AspNetCore.Launcher.csproj
@@ -9,7 +9,7 @@
Rico Suter
NSwag: The Swagger API toolchain for .NET and TypeScript
Copyright © Rico Suter, 2019
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
http://NSwag.org
https://raw.githubusercontent.com/NSwag/NSwag/master/assets/NuGetIcon.png
Swagger Documentation WebApi AspNet TypeScript CodeGen
diff --git a/src/NSwag.AspNetCore/Extensions/NSwagServiceCollectionExtensions.cs b/src/NSwag.AspNetCore/Extensions/NSwagServiceCollectionExtensions.cs
index f0f6bc1617..2a1c02bf98 100644
--- a/src/NSwag.AspNetCore/Extensions/NSwagServiceCollectionExtensions.cs
+++ b/src/NSwag.AspNetCore/Extensions/NSwagServiceCollectionExtensions.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/Extensions/NSwagSwaggerGeneratorSettingsExtensions.cs b/src/NSwag.AspNetCore/Extensions/NSwagSwaggerGeneratorSettingsExtensions.cs
index fad3a8961e..2763816311 100644
--- a/src/NSwag.AspNetCore/Extensions/NSwagSwaggerGeneratorSettingsExtensions.cs
+++ b/src/NSwag.AspNetCore/Extensions/NSwagSwaggerGeneratorSettingsExtensions.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/HttpRequestExtension.cs b/src/NSwag.AspNetCore/HttpRequestExtension.cs
index 23f590505a..2ad146e42c 100644
--- a/src/NSwag.AspNetCore/HttpRequestExtension.cs
+++ b/src/NSwag.AspNetCore/HttpRequestExtension.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/IDocumentProvider.cs b/src/NSwag.AspNetCore/IDocumentProvider.cs
index a0f7b424e7..145b807b5d 100644
--- a/src/NSwag.AspNetCore/IDocumentProvider.cs
+++ b/src/NSwag.AspNetCore/IDocumentProvider.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/JsonExceptionFilterAttribute.cs b/src/NSwag.AspNetCore/JsonExceptionFilterAttribute.cs
index 67c6d04144..d901a07a2f 100644
--- a/src/NSwag.AspNetCore/JsonExceptionFilterAttribute.cs
+++ b/src/NSwag.AspNetCore/JsonExceptionFilterAttribute.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -71,7 +71,7 @@ public override void OnActionExecuted(ActionExecutedContext context)
ContentType = "application/json"
};
- // Required otherwise the framework exception handlers ignores the
+ // Required otherwise the framework exception handlers ignores the
// Result and redirects to a error page or displays in dev mode the stack trace.
context.ExceptionHandled = true;
}
diff --git a/src/NSwag.AspNetCore/Middlewares/OpenApiDocumentMiddleware.cs b/src/NSwag.AspNetCore/Middlewares/OpenApiDocumentMiddleware.cs
index 169c28c430..153fbf4b2e 100644
--- a/src/NSwag.AspNetCore/Middlewares/OpenApiDocumentMiddleware.cs
+++ b/src/NSwag.AspNetCore/Middlewares/OpenApiDocumentMiddleware.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/Middlewares/RedirectToIndexMiddleware.cs b/src/NSwag.AspNetCore/Middlewares/RedirectToIndexMiddleware.cs
index b06a80481a..d90a607fc5 100644
--- a/src/NSwag.AspNetCore/Middlewares/RedirectToIndexMiddleware.cs
+++ b/src/NSwag.AspNetCore/Middlewares/RedirectToIndexMiddleware.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/NSwag.AspNetCore.csproj b/src/NSwag.AspNetCore/NSwag.AspNetCore.csproj
index a1b99f17c0..7b9c18f7b5 100644
--- a/src/NSwag.AspNetCore/NSwag.AspNetCore.csproj
+++ b/src/NSwag.AspNetCore/NSwag.AspNetCore.csproj
@@ -5,7 +5,7 @@
13.0.3
Swagger Documentation AspNetCore NetCore TypeScript CodeGen
Copyright © Rico Suter, 2019
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
http://NSwag.org
True
True
diff --git a/src/NSwag.AspNetCore/NSwag.AspNetCore.nuspec b/src/NSwag.AspNetCore/NSwag.AspNetCore.nuspec
index e101784317..63edeef3ba 100644
--- a/src/NSwag.AspNetCore/NSwag.AspNetCore.nuspec
+++ b/src/NSwag.AspNetCore/NSwag.AspNetCore.nuspec
@@ -6,8 +6,8 @@
$authors$
$description$
Swagger Documentation WebApi AspNet TypeScript CodeGen
- https://github.com/NSwag/NSwag
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
https://raw.githubusercontent.com/NSwag/NSwag/master/assets/NuGetIcon.png
diff --git a/src/NSwag.AspNetCore/OAuth2ClientSettings.cs b/src/NSwag.AspNetCore/OAuth2ClientSettings.cs
index 0dc59bcd7e..8b6ea87b18 100644
--- a/src/NSwag.AspNetCore/OAuth2ClientSettings.cs
+++ b/src/NSwag.AspNetCore/OAuth2ClientSettings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/OpenApiConfigureMvcOptions.cs b/src/NSwag.AspNetCore/OpenApiConfigureMvcOptions.cs
index 93d3b8cbc0..76c8f17940 100644
--- a/src/NSwag.AspNetCore/OpenApiConfigureMvcOptions.cs
+++ b/src/NSwag.AspNetCore/OpenApiConfigureMvcOptions.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/OpenApiDocumentMiddlewareSettings.cs b/src/NSwag.AspNetCore/OpenApiDocumentMiddlewareSettings.cs
index 00881c64c0..024774fc06 100644
--- a/src/NSwag.AspNetCore/OpenApiDocumentMiddlewareSettings.cs
+++ b/src/NSwag.AspNetCore/OpenApiDocumentMiddlewareSettings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -27,10 +27,10 @@ public class OpenApiDocumentMiddlewareSettings
/// Gets or sets the Swagger post process action.
/// Should only be used to transform the document related to the request.
- /// Caution: This action will not be called by the CLI or NSwagStudio
+ /// Caution: This action will not be called by the CLI or NSwagStudio
/// (use PostProcess in AddSwaggerDocument instead).
public Action PostProcess { get; set; }
-
+
///
/// Should be used in a case when your application is exposed under different URLs, e.g. the application
/// is accessible from your internal network and behind a reverse-proxy. In this case, NSwag has to generate
@@ -38,7 +38,7 @@ public class OpenApiDocumentMiddlewareSettings
/// NSwag which swagger JSON document it should return by providing a unique key that matches the required
/// access point (either it's an internal network HTTP request or an HTTP request from a reverse-proxy).
/// Hint: In a case of reverse proxy, the key may include of X-Forwarded-Host/X-Forwarded-Proto header values.
- ///
+ ///
///
public Func CreateDocumentCacheKey { get; set; } = r => r.Host.ToString();
}
diff --git a/src/NSwag.AspNetCore/OpenApiDocumentProvider.cs b/src/NSwag.AspNetCore/OpenApiDocumentProvider.cs
index 3ebeeef884..04e3e0e816 100644
--- a/src/NSwag.AspNetCore/OpenApiDocumentProvider.cs
+++ b/src/NSwag.AspNetCore/OpenApiDocumentProvider.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/OpenApiDocumentRegistration.cs b/src/NSwag.AspNetCore/OpenApiDocumentRegistration.cs
index ea89deef40..88f09ecc27 100644
--- a/src/NSwag.AspNetCore/OpenApiDocumentRegistration.cs
+++ b/src/NSwag.AspNetCore/OpenApiDocumentRegistration.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/ReDocSettings.cs b/src/NSwag.AspNetCore/ReDocSettings.cs
index 9aea707e5e..fad349d2ed 100644
--- a/src/NSwag.AspNetCore/ReDocSettings.cs
+++ b/src/NSwag.AspNetCore/ReDocSettings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/SwaggerSettings.cs b/src/NSwag.AspNetCore/SwaggerSettings.cs
index e3e4b7f138..5fa858bd29 100644
--- a/src/NSwag.AspNetCore/SwaggerSettings.cs
+++ b/src/NSwag.AspNetCore/SwaggerSettings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/SwaggerUi3Settings.cs b/src/NSwag.AspNetCore/SwaggerUi3Settings.cs
index 0035c7e3cb..17f21ff30a 100644
--- a/src/NSwag.AspNetCore/SwaggerUi3Settings.cs
+++ b/src/NSwag.AspNetCore/SwaggerUi3Settings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -157,7 +157,7 @@ public SwaggerUi3Route(string name, string url)
Name = name;
Url = url;
}
-
+
/// Gets the route URL.
[JsonProperty("url")]
public string Url { get; internal set; }
diff --git a/src/NSwag.AspNetCore/SwaggerUiSettings.cs b/src/NSwag.AspNetCore/SwaggerUiSettings.cs
index a41e24c927..b96f19b84c 100644
--- a/src/NSwag.AspNetCore/SwaggerUiSettings.cs
+++ b/src/NSwag.AspNetCore/SwaggerUiSettings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AspNetCore/SwaggerUiSettingsBase.cs b/src/NSwag.AspNetCore/SwaggerUiSettingsBase.cs
index 14295e464f..9643a97f2b 100644
--- a/src/NSwag.AspNetCore/SwaggerUiSettingsBase.cs
+++ b/src/NSwag.AspNetCore/SwaggerUiSettingsBase.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AssemblyLoader/AppDomainIsolation.cs b/src/NSwag.AssemblyLoader/AppDomainIsolation.cs
index c62da18b5b..7254d4a813 100644
--- a/src/NSwag.AssemblyLoader/AppDomainIsolation.cs
+++ b/src/NSwag.AssemblyLoader/AppDomainIsolation.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AssemblyLoader/AssemblyConfigurationFileTransformer.cs b/src/NSwag.AssemblyLoader/AssemblyConfigurationFileTransformer.cs
index 022da122c9..ccecf8ce93 100644
--- a/src/NSwag.AssemblyLoader/AssemblyConfigurationFileTransformer.cs
+++ b/src/NSwag.AssemblyLoader/AssemblyConfigurationFileTransformer.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -127,7 +127,7 @@ public BindingRedirect(string name, string newVersion, string publicKeyToken)
PublicKeyToken = publicKeyToken;
}
-#if NET451
+#if NET451
public BindingRedirect(string name, Type newVersionType, string publicKeyToken)
: this(name, newVersionType.Assembly.GetName().Version.ToString(), publicKeyToken)
diff --git a/src/NSwag.AssemblyLoader/AssemblyLoader.cs b/src/NSwag.AssemblyLoader/AssemblyLoader.cs
index 1a79159fc0..11458d7d77 100644
--- a/src/NSwag.AssemblyLoader/AssemblyLoader.cs
+++ b/src/NSwag.AssemblyLoader/AssemblyLoader.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AssemblyLoader/CustomAssemblyLoadContext.cs b/src/NSwag.AssemblyLoader/CustomAssemblyLoadContext.cs
index 8eeb98c545..a747dccdcb 100644
--- a/src/NSwag.AssemblyLoader/CustomAssemblyLoadContext.cs
+++ b/src/NSwag.AssemblyLoader/CustomAssemblyLoadContext.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.AssemblyLoader/NSwag.AssemblyLoader.csproj b/src/NSwag.AssemblyLoader/NSwag.AssemblyLoader.csproj
index 5b3a4354e9..64ef0b95e4 100644
--- a/src/NSwag.AssemblyLoader/NSwag.AssemblyLoader.csproj
+++ b/src/NSwag.AssemblyLoader/NSwag.AssemblyLoader.csproj
@@ -5,7 +5,7 @@
13.0.3
Swagger Documentation WebApi AspNet TypeScript CodeGen
Copyright © Rico Suter, 2019
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
http://NSwag.org
True
True
diff --git a/src/NSwag.AssemblyLoader/Utilities/PathUtilities.cs b/src/NSwag.AssemblyLoader/Utilities/PathUtilities.cs
index b07ab8a712..bcbb8fc8b3 100644
--- a/src/NSwag.AssemblyLoader/Utilities/PathUtilities.cs
+++ b/src/NSwag.AssemblyLoader/Utilities/PathUtilities.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/CSharpClientGenerator.cs b/src/NSwag.CodeGeneration.CSharp/CSharpClientGenerator.cs
index ddddbee830..32c07f2155 100644
--- a/src/NSwag.CodeGeneration.CSharp/CSharpClientGenerator.cs
+++ b/src/NSwag.CodeGeneration.CSharp/CSharpClientGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/CSharpClientGeneratorSettings.cs b/src/NSwag.CodeGeneration.CSharp/CSharpClientGeneratorSettings.cs
index 13a7eef48f..217f03c1bc 100644
--- a/src/NSwag.CodeGeneration.CSharp/CSharpClientGeneratorSettings.cs
+++ b/src/NSwag.CodeGeneration.CSharp/CSharpClientGeneratorSettings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/CSharpControllerGenerator.cs b/src/NSwag.CodeGeneration.CSharp/CSharpControllerGenerator.cs
index 86e34cb9b8..7074ba084a 100644
--- a/src/NSwag.CodeGeneration.CSharp/CSharpControllerGenerator.cs
+++ b/src/NSwag.CodeGeneration.CSharp/CSharpControllerGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/CSharpControllerGeneratorSettings.cs b/src/NSwag.CodeGeneration.CSharp/CSharpControllerGeneratorSettings.cs
index 8f4e95f399..6e45838244 100644
--- a/src/NSwag.CodeGeneration.CSharp/CSharpControllerGeneratorSettings.cs
+++ b/src/NSwag.CodeGeneration.CSharp/CSharpControllerGeneratorSettings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/CSharpGeneratorBase.cs b/src/NSwag.CodeGeneration.CSharp/CSharpGeneratorBase.cs
index c76ca41349..1d879c69e1 100644
--- a/src/NSwag.CodeGeneration.CSharp/CSharpGeneratorBase.cs
+++ b/src/NSwag.CodeGeneration.CSharp/CSharpGeneratorBase.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/CSharpGeneratorBaseSettings.cs b/src/NSwag.CodeGeneration.CSharp/CSharpGeneratorBaseSettings.cs
index 4e5aa637c1..e09ed39910 100644
--- a/src/NSwag.CodeGeneration.CSharp/CSharpGeneratorBaseSettings.cs
+++ b/src/NSwag.CodeGeneration.CSharp/CSharpGeneratorBaseSettings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpClientTemplateModel.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpClientTemplateModel.cs
index 053e05ee3d..2c64d973f1 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpClientTemplateModel.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpClientTemplateModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerOperationModel.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerOperationModel.cs
index 9d4d50a015..2e3bfa6588 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerOperationModel.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerOperationModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -20,8 +20,8 @@ public class CSharpControllerOperationModel : CSharpOperationModel
/// The settings.
/// The generator.
/// The resolver.
- public CSharpControllerOperationModel(OpenApiOperation operation, CSharpControllerGeneratorSettings settings,
- CSharpControllerGenerator generator, CSharpTypeResolver resolver)
+ public CSharpControllerOperationModel(OpenApiOperation operation, CSharpControllerGeneratorSettings settings,
+ CSharpControllerGenerator generator, CSharpTypeResolver resolver)
: base(operation, settings, generator, resolver)
{
_settings = settings;
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerRouteNamingStrategy.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerRouteNamingStrategy.cs
index 2ddb29219b..1d05e4daee 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerRouteNamingStrategy.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerRouteNamingStrategy.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerStyle.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerStyle.cs
index 84f9f8aae7..dbc27aa926 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerStyle.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerStyle.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerTarget.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerTarget.cs
index b1c481f1dc..f1ee9540a8 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerTarget.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerTarget.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerTemplateModel.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerTemplateModel.cs
index 1e4b945322..eb330b4fca 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerTemplateModel.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpControllerTemplateModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpExceptionDescriptionModel.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpExceptionDescriptionModel.cs
index c9bf18f14e..0a08396b5b 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpExceptionDescriptionModel.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpExceptionDescriptionModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpFileTemplateModel.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpFileTemplateModel.cs
index 77d8940f25..c918c0620c 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpFileTemplateModel.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpFileTemplateModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpOperationModel.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpOperationModel.cs
index e7bb90fe47..354b311a14 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpOperationModel.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpOperationModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpParameterModel.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpParameterModel.cs
index 39b8830e71..043993317e 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpParameterModel.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpParameterModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -27,13 +27,13 @@ public class CSharpParameterModel : ParameterModelBase
/// The client generator base.
/// The type resolver.
public CSharpParameterModel(
- string parameterName,
- string variableName,
- string typeName,
+ string parameterName,
+ string variableName,
+ string typeName,
OpenApiParameter parameter,
- IList allParameters,
- CodeGeneratorSettingsBase settings,
- IClientGenerator generator,
+ IList allParameters,
+ CodeGeneratorSettingsBase settings,
+ IClientGenerator generator,
TypeResolverBase typeResolver)
: base(parameterName, variableName, typeName, parameter, allParameters, settings, generator, typeResolver)
{
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpResponseModel.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpResponseModel.cs
index 5c6e389f1d..833b9f7e24 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpResponseModel.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpResponseModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -25,7 +25,7 @@ public class CSharpResponseModel : ResponseModelBase
/// The client generator.
/// The resolver.
/// The settings.
- public CSharpResponseModel(IOperationModel operationModel, OpenApiOperation operation, string statusCode, OpenApiResponse response,
+ public CSharpResponseModel(IOperationModel operationModel, OpenApiOperation operation, string statusCode, OpenApiResponse response,
bool isPrimarySuccessResponse, JsonSchema exceptionSchema, IClientGenerator generator, TypeResolverBase resolver, CodeGeneratorSettingsBase settings)
: base(operationModel, operation, statusCode, response, isPrimarySuccessResponse, exceptionSchema, resolver, settings, generator)
{
diff --git a/src/NSwag.CodeGeneration.CSharp/Models/CSharpTemplateModelBase.cs b/src/NSwag.CodeGeneration.CSharp/Models/CSharpTemplateModelBase.cs
index d6d3422954..1b59ed1c08 100644
--- a/src/NSwag.CodeGeneration.CSharp/Models/CSharpTemplateModelBase.cs
+++ b/src/NSwag.CodeGeneration.CSharp/Models/CSharpTemplateModelBase.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.CSharp/NSwag.CodeGeneration.CSharp.csproj b/src/NSwag.CodeGeneration.CSharp/NSwag.CodeGeneration.CSharp.csproj
index 2336aad935..e3018dd1ac 100644
--- a/src/NSwag.CodeGeneration.CSharp/NSwag.CodeGeneration.CSharp.csproj
+++ b/src/NSwag.CodeGeneration.CSharp/NSwag.CodeGeneration.CSharp.csproj
@@ -5,7 +5,7 @@
13.0.3
Swagger Documentation WebApi AspNet TypeScript CodeGen
Copyright © Rico Suter, 2019
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
http://NSwag.org
True
True
diff --git a/src/NSwag.CodeGeneration.TypeScript/HttpClass.cs b/src/NSwag.CodeGeneration.TypeScript/HttpClass.cs
index 91457bc919..4fbef81e3b 100644
--- a/src/NSwag.CodeGeneration.TypeScript/HttpClass.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/HttpClass.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -12,7 +12,7 @@ namespace NSwag.CodeGeneration.TypeScript
public enum HttpClass
{
/// Use the legacy/obsolete Http class (pre Angular 4.3).
- Http,
+ Http,
/// Use the new HttpClient class (Angular 4.3+).
HttpClient
diff --git a/src/NSwag.CodeGeneration.TypeScript/InjectionTokenType.cs b/src/NSwag.CodeGeneration.TypeScript/InjectionTokenType.cs
index 4578231171..f6f3b30cb0 100644
--- a/src/NSwag.CodeGeneration.TypeScript/InjectionTokenType.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/InjectionTokenType.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptClientTemplateModel.cs b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptClientTemplateModel.cs
index 8d3166f849..cf2068e358 100644
--- a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptClientTemplateModel.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptClientTemplateModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFileTemplateModel.cs b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFileTemplateModel.cs
index 9d2448f21c..742c4ebd71 100644
--- a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFileTemplateModel.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFileTemplateModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkAngularModel.cs b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkAngularModel.cs
index 224ffe48b1..be90ad4602 100644
--- a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkAngularModel.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkAngularModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -28,11 +28,11 @@ internal TypeScriptFrameworkAngularModel(TypeScriptClientGeneratorSettings setti
public string HttpClass => UseHttpClient ? "HttpClient" : "Http";
/// Gets a value indicating whether to use HttpClient with the Angular template.
- public bool UseHttpClient => _settings.Template == TypeScriptTemplate.Angular &&
+ public bool UseHttpClient => _settings.Template == TypeScriptTemplate.Angular &&
_settings.HttpClass == TypeScript.HttpClass.HttpClient;
/// Gets a value indicating whether to use the Angular 6 Singleton Provider (Angular template only, default: false).
- public bool UseSingletonProvider => _settings.Template == TypeScriptTemplate.Angular &&
+ public bool UseSingletonProvider => _settings.Template == TypeScriptTemplate.Angular &&
_settings.UseSingletonProvider;
/// Gets whether the export keyword should be added to all classes and enums.
diff --git a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkModel.cs b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkModel.cs
index 46ef71f585..ea7b9f15bf 100644
--- a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkModel.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkRxJsModel.cs b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkRxJsModel.cs
index 0ebb934972..e966f91933 100644
--- a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkRxJsModel.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptFrameworkRxJsModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptOperationModel.cs b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptOperationModel.cs
index ac045bc9a7..990b944a26 100644
--- a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptOperationModel.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptOperationModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptParameterModel.cs b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptParameterModel.cs
index 9aa9c455ff..0df0b01ae7 100644
--- a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptParameterModel.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptParameterModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptResponseModel.cs b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptResponseModel.cs
index 84143a606c..cf91502802 100644
--- a/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptResponseModel.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/Models/TypeScriptResponseModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -28,8 +28,8 @@ public class TypeScriptResponseModel : ResponseModelBase
/// The generator.
/// The resolver.
/// The settings.
- public TypeScriptResponseModel(IOperationModel operationModel, OpenApiOperation operation, string statusCode, OpenApiResponse response, bool isPrimarySuccessResponse,
- JsonSchema exceptionSchema, IClientGenerator generator, TypeResolverBase resolver, TypeScriptClientGeneratorSettings settings)
+ public TypeScriptResponseModel(IOperationModel operationModel, OpenApiOperation operation, string statusCode, OpenApiResponse response, bool isPrimarySuccessResponse,
+ JsonSchema exceptionSchema, IClientGenerator generator, TypeResolverBase resolver, TypeScriptClientGeneratorSettings settings)
: base(operationModel, operation, statusCode, response, isPrimarySuccessResponse, exceptionSchema, resolver, settings.TypeScriptGeneratorSettings, generator)
{
_settings = settings;
diff --git a/src/NSwag.CodeGeneration.TypeScript/NSwag.CodeGeneration.TypeScript.csproj b/src/NSwag.CodeGeneration.TypeScript/NSwag.CodeGeneration.TypeScript.csproj
index c21e9d9362..f7a8d37cd1 100644
--- a/src/NSwag.CodeGeneration.TypeScript/NSwag.CodeGeneration.TypeScript.csproj
+++ b/src/NSwag.CodeGeneration.TypeScript/NSwag.CodeGeneration.TypeScript.csproj
@@ -5,7 +5,7 @@
13.0.3
Swagger Documentation WebApi AspNet TypeScript CodeGen
Copyright © Rico Suter, 2019
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
http://NSwag.org
True
True
diff --git a/src/NSwag.CodeGeneration.TypeScript/PromiseType.cs b/src/NSwag.CodeGeneration.TypeScript/PromiseType.cs
index ae86fada2c..18094a3f16 100644
--- a/src/NSwag.CodeGeneration.TypeScript/PromiseType.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/PromiseType.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.TypeScript/TypeScriptClientGenerator.cs b/src/NSwag.CodeGeneration.TypeScript/TypeScriptClientGenerator.cs
index 34b9bf2c23..0e60d64687 100644
--- a/src/NSwag.CodeGeneration.TypeScript/TypeScriptClientGenerator.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/TypeScriptClientGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.TypeScript/TypeScriptClientGeneratorSettings.cs b/src/NSwag.CodeGeneration.TypeScript/TypeScriptClientGeneratorSettings.cs
index b4dce880b0..6c7ae6b7f6 100644
--- a/src/NSwag.CodeGeneration.TypeScript/TypeScriptClientGeneratorSettings.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/TypeScriptClientGeneratorSettings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.TypeScript/TypeScriptTemplate.cs b/src/NSwag.CodeGeneration.TypeScript/TypeScriptTemplate.cs
index 5abb48186a..cb0316e30c 100644
--- a/src/NSwag.CodeGeneration.TypeScript/TypeScriptTemplate.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/TypeScriptTemplate.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration.TypeScript/TypeScriptTypeNameGenerator.cs b/src/NSwag.CodeGeneration.TypeScript/TypeScriptTypeNameGenerator.cs
index 8c1d5041a8..87330d2a92 100644
--- a/src/NSwag.CodeGeneration.TypeScript/TypeScriptTypeNameGenerator.cs
+++ b/src/NSwag.CodeGeneration.TypeScript/TypeScriptTypeNameGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/ClientGeneratorBase.cs b/src/NSwag.CodeGeneration/ClientGeneratorBase.cs
index a63fc89810..994181cbd3 100644
--- a/src/NSwag.CodeGeneration/ClientGeneratorBase.cs
+++ b/src/NSwag.CodeGeneration/ClientGeneratorBase.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -35,7 +35,7 @@ protected ClientGeneratorBase(OpenApiDocument document, CodeGeneratorSettingsBas
_document = document;
Resolver = resolver;
- settings.SchemaType = document.SchemaType; // enforce Swagger schema output
+ settings.SchemaType = document.SchemaType; // enforce Swagger schema output
}
/// Gets the base settings.
@@ -76,14 +76,14 @@ public string GenerateFile(ClientGeneratorOutputType outputType)
GenerateDtoTypes() :
Enumerable.Empty();
- clientTypes =
- outputType == ClientGeneratorOutputType.Full ? clientTypes :
+ clientTypes =
+ outputType == ClientGeneratorOutputType.Full ? clientTypes :
outputType == ClientGeneratorOutputType.Implementation ? clientTypes.Where(t => t.Category != CodeArtifactCategory.Contract) :
outputType == ClientGeneratorOutputType.Contracts ? clientTypes.Where(t => t.Category == CodeArtifactCategory.Contract) :
Enumerable.Empty();
dtoTypes =
- outputType == ClientGeneratorOutputType.Full ||
+ outputType == ClientGeneratorOutputType.Full ||
outputType == ClientGeneratorOutputType.Contracts ? dtoTypes : Enumerable.Empty();
return GenerateFile(clientTypes, dtoTypes, outputType)
diff --git a/src/NSwag.CodeGeneration/ClientGeneratorBaseSettings.cs b/src/NSwag.CodeGeneration/ClientGeneratorBaseSettings.cs
index f5158ab337..e554f45ba9 100644
--- a/src/NSwag.CodeGeneration/ClientGeneratorBaseSettings.cs
+++ b/src/NSwag.CodeGeneration/ClientGeneratorBaseSettings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/ClientGeneratorOutputType.cs b/src/NSwag.CodeGeneration/ClientGeneratorOutputType.cs
index a406eb197d..b6075a8fea 100644
--- a/src/NSwag.CodeGeneration/ClientGeneratorOutputType.cs
+++ b/src/NSwag.CodeGeneration/ClientGeneratorOutputType.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/ControllerGeneratorBaseSettings.cs b/src/NSwag.CodeGeneration/ControllerGeneratorBaseSettings.cs
index 129570c655..438ba98bcb 100644
--- a/src/NSwag.CodeGeneration/ControllerGeneratorBaseSettings.cs
+++ b/src/NSwag.CodeGeneration/ControllerGeneratorBaseSettings.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/DefaultParameterNameGenerator.cs b/src/NSwag.CodeGeneration/DefaultParameterNameGenerator.cs
index 5bb233b4bd..e02a11cd0a 100644
--- a/src/NSwag.CodeGeneration/DefaultParameterNameGenerator.cs
+++ b/src/NSwag.CodeGeneration/DefaultParameterNameGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/DefaultTemplateFactory.cs b/src/NSwag.CodeGeneration/DefaultTemplateFactory.cs
index d5f770c9bd..c78404de4e 100644
--- a/src/NSwag.CodeGeneration/DefaultTemplateFactory.cs
+++ b/src/NSwag.CodeGeneration/DefaultTemplateFactory.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -18,7 +18,7 @@ public class DefaultTemplateFactory : NJsonSchema.CodeGeneration.DefaultTemplate
/// Initializes a new instance of the class.
/// The settings.
/// The assemblies.
- public DefaultTemplateFactory(CodeGeneratorSettingsBase settings, Assembly[] assemblies)
+ public DefaultTemplateFactory(CodeGeneratorSettingsBase settings, Assembly[] assemblies)
: base(settings, assemblies)
{
}
diff --git a/src/NSwag.CodeGeneration/IClientGenerator.cs b/src/NSwag.CodeGeneration/IClientGenerator.cs
index 99bd3713b7..a8d2336c70 100644
--- a/src/NSwag.CodeGeneration/IClientGenerator.cs
+++ b/src/NSwag.CodeGeneration/IClientGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/IParameterNameGenerator.cs b/src/NSwag.CodeGeneration/IParameterNameGenerator.cs
index 50d86edcc7..becd8839f8 100644
--- a/src/NSwag.CodeGeneration/IParameterNameGenerator.cs
+++ b/src/NSwag.CodeGeneration/IParameterNameGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/JsonSchemaExtensions.cs b/src/NSwag.CodeGeneration/JsonSchemaExtensions.cs
index 4db5bc40a0..aa7c5d6d30 100644
--- a/src/NSwag.CodeGeneration/JsonSchemaExtensions.cs
+++ b/src/NSwag.CodeGeneration/JsonSchemaExtensions.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/Models/IOperationModel.cs b/src/NSwag.CodeGeneration/Models/IOperationModel.cs
index c74925c930..ddcd4942cb 100644
--- a/src/NSwag.CodeGeneration/Models/IOperationModel.cs
+++ b/src/NSwag.CodeGeneration/Models/IOperationModel.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/Models/OperationModelBase.cs b/src/NSwag.CodeGeneration/Models/OperationModelBase.cs
index 724a2693ee..dd187ac0ed 100644
--- a/src/NSwag.CodeGeneration/Models/OperationModelBase.cs
+++ b/src/NSwag.CodeGeneration/Models/OperationModelBase.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -260,7 +260,7 @@ public string Produces
return "application/json";
}
- return _operation.ActualProduces?.FirstOrDefault() ??
+ return _operation.ActualProduces?.FirstOrDefault() ??
SuccessResponse?.Produces ??
"application/json";
}
diff --git a/src/NSwag.CodeGeneration/Models/ParameterModelBase.cs b/src/NSwag.CodeGeneration/Models/ParameterModelBase.cs
index 696690d198..bfe1c3229d 100644
--- a/src/NSwag.CodeGeneration/Models/ParameterModelBase.cs
+++ b/src/NSwag.CodeGeneration/Models/ParameterModelBase.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/Models/ResponseModelBase.cs b/src/NSwag.CodeGeneration/Models/ResponseModelBase.cs
index ed9dbc4201..c6a4ae4ce7 100644
--- a/src/NSwag.CodeGeneration/Models/ResponseModelBase.cs
+++ b/src/NSwag.CodeGeneration/Models/ResponseModelBase.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -62,8 +62,8 @@ protected ResponseModelBase(IOperationModel operationModel,
public bool CheckChunkedStatusCode => IsFile && (StatusCode == "200" || StatusCode == "204");
/// Gets the type of the response.
- public string Type =>
- _response.IsBinary(_operation) ? _generator.GetBinaryResponseTypeName() :
+ public string Type =>
+ _response.IsBinary(_operation) ? _generator.GetBinaryResponseTypeName() :
_generator.GetTypeName(ActualResponseSchema, IsNullable, "Response");
/// Gets a value indicating whether the response has a type (i.e. not void).
diff --git a/src/NSwag.CodeGeneration/NSwag.CodeGeneration.csproj b/src/NSwag.CodeGeneration/NSwag.CodeGeneration.csproj
index 7d679ce894..feea1700ae 100644
--- a/src/NSwag.CodeGeneration/NSwag.CodeGeneration.csproj
+++ b/src/NSwag.CodeGeneration/NSwag.CodeGeneration.csproj
@@ -5,7 +5,7 @@
13.0.3
Swagger Documentation WebApi AspNet TypeScript CodeGen
Copyright © Rico Suter, 2019
- https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+ https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
http://NSwag.org
True
True
diff --git a/src/NSwag.CodeGeneration/OperationNameGenerators/IOperationNameGenerator.cs b/src/NSwag.CodeGeneration/OperationNameGenerators/IOperationNameGenerator.cs
index d18c6bd3fa..9215281679 100644
--- a/src/NSwag.CodeGeneration/OperationNameGenerators/IOperationNameGenerator.cs
+++ b/src/NSwag.CodeGeneration/OperationNameGenerators/IOperationNameGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromFirstTagAndOperationIdGenerator.cs b/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromFirstTagAndOperationIdGenerator.cs
index 217eddae84..f9df12a5e0 100644
--- a/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromFirstTagAndOperationIdGenerator.cs
+++ b/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromFirstTagAndOperationIdGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromFirstTagAndPathSegmentsOperationNameGenerator.cs b/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromFirstTagAndPathSegmentsOperationNameGenerator.cs
index 8be6136d63..0a74d51426 100644
--- a/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromFirstTagAndPathSegmentsOperationNameGenerator.cs
+++ b/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromFirstTagAndPathSegmentsOperationNameGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromOperationIdOperationNameGenerator.cs b/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromOperationIdOperationNameGenerator.cs
index d6ccd3373e..a7d3df5ae7 100644
--- a/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromOperationIdOperationNameGenerator.cs
+++ b/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromOperationIdOperationNameGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromPathSegmentsOperationNameGenerator.cs b/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromPathSegmentsOperationNameGenerator.cs
index 63c59215d4..eac4d298df 100644
--- a/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromPathSegmentsOperationNameGenerator.cs
+++ b/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromPathSegmentsOperationNameGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -44,8 +44,8 @@ public virtual string GetOperationName(OpenApiDocument document, string path, st
var hasNameConflict = document.Paths
.SelectMany(pair => pair.Value.Select(p => new { Path = pair.Key.Trim('/'), HttpMethod = p.Key, Operation = p.Value }))
- .Where(op =>
- GetClientName(document, op.Path, op.HttpMethod, op.Operation) == GetClientName(document, path, httpMethod, operation) &&
+ .Where(op =>
+ GetClientName(document, op.Path, op.HttpMethod, op.Operation) == GetClientName(document, path, httpMethod, operation) &&
ConvertPathToName(op.Path) == operationName
).ToList()
.Count > 1;
diff --git a/src/NSwag.CodeGeneration/OperationNameGenerators/SingleClientFromOperationIdOperationNameGenerator.cs b/src/NSwag.CodeGeneration/OperationNameGenerators/SingleClientFromOperationIdOperationNameGenerator.cs
index 372913c3af..72f7bc64c9 100644
--- a/src/NSwag.CodeGeneration/OperationNameGenerators/SingleClientFromOperationIdOperationNameGenerator.cs
+++ b/src/NSwag.CodeGeneration/OperationNameGenerators/SingleClientFromOperationIdOperationNameGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -10,7 +10,7 @@ namespace NSwag.CodeGeneration.OperationNameGenerators
{
/// Generates the client and operation name based on the Swagger operation ID.
public class SingleClientFromOperationIdOperationNameGenerator : IOperationNameGenerator
- {
+ {
/// Gets a value indicating whether the generator supports multiple client classes.
public bool SupportsMultipleClients { get; } = true;
@@ -33,7 +33,7 @@ public virtual string GetClientName(OpenApiDocument document, string path, strin
/// The client name.
public virtual string GetOperationName(OpenApiDocument document, string path, string httpMethod, OpenApiOperation operation)
{
- return operation.OperationId;
+ return operation.OperationId;
}
}
}
\ No newline at end of file
diff --git a/src/NSwag.CodeGeneration/OperationNameGenerators/SingleClientFromPathSegmentsOperationNameGenerator.cs b/src/NSwag.CodeGeneration/OperationNameGenerators/SingleClientFromPathSegmentsOperationNameGenerator.cs
index c7373fb637..1081477ee8 100644
--- a/src/NSwag.CodeGeneration/OperationNameGenerators/SingleClientFromPathSegmentsOperationNameGenerator.cs
+++ b/src/NSwag.CodeGeneration/OperationNameGenerators/SingleClientFromPathSegmentsOperationNameGenerator.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -39,8 +39,8 @@ public virtual string GetOperationName(OpenApiDocument document, string path, st
var operationName = ConvertPathToName(path);
var hasNameConflict = document.Paths
.SelectMany(pair => pair.Value.Select(p => new { Path = pair.Key.Trim('/'), HttpMethod = p.Key, Operation = p.Value }))
- .Where(op =>
- GetClientName(document, op.Path, op.HttpMethod, op.Operation) == GetClientName(document, path, httpMethod, operation) &&
+ .Where(op =>
+ GetClientName(document, op.Path, op.HttpMethod, op.Operation) == GetClientName(document, path, httpMethod, operation) &&
ConvertPathToName(op.Path) == operationName
)
.ToList().Count > 1;
diff --git a/src/NSwag.Commands/Commands/CodeGeneration/CodeGeneratorCommandBase.cs b/src/NSwag.Commands/Commands/CodeGeneration/CodeGeneratorCommandBase.cs
index d0f39056bc..42e003e7ee 100644
--- a/src/NSwag.Commands/Commands/CodeGeneration/CodeGeneratorCommandBase.cs
+++ b/src/NSwag.Commands/Commands/CodeGeneration/CodeGeneratorCommandBase.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Commands/Commands/CodeGeneration/JsonSchemaToCSharpCommand.cs b/src/NSwag.Commands/Commands/CodeGeneration/JsonSchemaToCSharpCommand.cs
index 07884522b6..b86d8a0059 100644
--- a/src/NSwag.Commands/Commands/CodeGeneration/JsonSchemaToCSharpCommand.cs
+++ b/src/NSwag.Commands/Commands/CodeGeneration/JsonSchemaToCSharpCommand.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Commands/Commands/CodeGeneration/JsonSchemaToTypeScriptCommand.cs b/src/NSwag.Commands/Commands/CodeGeneration/JsonSchemaToTypeScriptCommand.cs
index bb0cef53c6..64c8e7be54 100644
--- a/src/NSwag.Commands/Commands/CodeGeneration/JsonSchemaToTypeScriptCommand.cs
+++ b/src/NSwag.Commands/Commands/CodeGeneration/JsonSchemaToTypeScriptCommand.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpClientCommand.cs b/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpClientCommand.cs
index 0679429b82..36a777c201 100644
--- a/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpClientCommand.cs
+++ b/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpClientCommand.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpCommandBase.cs b/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpCommandBase.cs
index 4d8e82df55..276d71ac41 100644
--- a/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpCommandBase.cs
+++ b/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpCommandBase.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpControllerCommand.cs b/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpControllerCommand.cs
index 9b7fc9422b..eaa11973c8 100644
--- a/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpControllerCommand.cs
+++ b/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToCSharpControllerCommand.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToTypeScriptClientCommand.cs b/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToTypeScriptClientCommand.cs
index 397cde3d4b..28dad80585 100644
--- a/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToTypeScriptClientCommand.cs
+++ b/src/NSwag.Commands/Commands/CodeGeneration/OpenApiToTypeScriptClientCommand.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Commands/Commands/CodeGeneration/OperationGenerationMode.cs b/src/NSwag.Commands/Commands/CodeGeneration/OperationGenerationMode.cs
index 280c061a7e..296aac9d1c 100644
--- a/src/NSwag.Commands/Commands/CodeGeneration/OperationGenerationMode.cs
+++ b/src/NSwag.Commands/Commands/CodeGeneration/OperationGenerationMode.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
diff --git a/src/NSwag.Commands/Commands/Document/CreateDocumentCommand.cs b/src/NSwag.Commands/Commands/Document/CreateDocumentCommand.cs
index 1f2d88b848..9c7c7a93e0 100644
--- a/src/NSwag.Commands/Commands/Document/CreateDocumentCommand.cs
+++ b/src/NSwag.Commands/Commands/Document/CreateDocumentCommand.cs
@@ -2,7 +2,7 @@
//
// Copyright (c) Rico Suter. All rights reserved.
//
-// https://github.com/NSwag/NSwag/blob/master/LICENSE.md
+// https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md
// Rico Suter, mail@rsuter.com
//-----------------------------------------------------------------------
@@ -30,7 +30,7 @@ public async Task