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] 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 RunAsync(CommandLineProcessor processor, IConsoleHost host.WriteMessage("nswag.json already exists."); } - return null; + return null; } private async Task CreateDocumentAsync(string filePath) diff --git a/src/NSwag.Commands/Commands/Document/ExecuteDocumentCommand.cs b/src/NSwag.Commands/Commands/Document/ExecuteDocumentCommand.cs index 9125cd5c53..6914ceb972 100644 --- a/src/NSwag.Commands/Commands/Document/ExecuteDocumentCommand.cs +++ b/src/NSwag.Commands/Commands/Document/ExecuteDocumentCommand.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/Generation/AspNetCore/AspNetCoreToOpenApiCommand.cs b/src/NSwag.Commands/Commands/Generation/AspNetCore/AspNetCoreToOpenApiCommand.cs index ccb2294126..06cdacaa6b 100644 --- a/src/NSwag.Commands/Commands/Generation/AspNetCore/AspNetCoreToOpenApiCommand.cs +++ b/src/NSwag.Commands/Commands/Generation/AspNetCore/AspNetCoreToOpenApiCommand.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 //----------------------------------------------------------------------- #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member diff --git a/src/NSwag.Commands/Commands/Generation/AspNetCore/AspNetCoreToOpenApiGeneratorCommandEntryPoint.cs b/src/NSwag.Commands/Commands/Generation/AspNetCore/AspNetCoreToOpenApiGeneratorCommandEntryPoint.cs index c9a2349b47..4e3bef104f 100644 --- a/src/NSwag.Commands/Commands/Generation/AspNetCore/AspNetCoreToOpenApiGeneratorCommandEntryPoint.cs +++ b/src/NSwag.Commands/Commands/Generation/AspNetCore/AspNetCoreToOpenApiGeneratorCommandEntryPoint.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/Generation/AspNetCore/Exe.cs b/src/NSwag.Commands/Commands/Generation/AspNetCore/Exe.cs index dc874eafb9..3a5552ed92 100644 --- a/src/NSwag.Commands/Commands/Generation/AspNetCore/Exe.cs +++ b/src/NSwag.Commands/Commands/Generation/AspNetCore/Exe.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/Generation/AspNetCore/ProjectMetadata.cs b/src/NSwag.Commands/Commands/Generation/AspNetCore/ProjectMetadata.cs index c3d54252f4..f96222eda4 100644 --- a/src/NSwag.Commands/Commands/Generation/AspNetCore/ProjectMetadata.cs +++ b/src/NSwag.Commands/Commands/Generation/AspNetCore/ProjectMetadata.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/Generation/FromDocumentCommand.cs b/src/NSwag.Commands/Commands/Generation/FromDocumentCommand.cs index 90b13d172b..c84c0b2f22 100644 --- a/src/NSwag.Commands/Commands/Generation/FromDocumentCommand.cs +++ b/src/NSwag.Commands/Commands/Generation/FromDocumentCommand.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/Generation/ListTypesCommand.cs b/src/NSwag.Commands/Commands/Generation/ListTypesCommand.cs index 377cd81eb6..9ca1a81c48 100644 --- a/src/NSwag.Commands/Commands/Generation/ListTypesCommand.cs +++ b/src/NSwag.Commands/Commands/Generation/ListTypesCommand.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/Generation/ListWebApiControllersCommand.cs b/src/NSwag.Commands/Commands/Generation/ListWebApiControllersCommand.cs index c6c701ff0c..6fe3bcfdaa 100644 --- a/src/NSwag.Commands/Commands/Generation/ListWebApiControllersCommand.cs +++ b/src/NSwag.Commands/Commands/Generation/ListWebApiControllersCommand.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/Generation/OpenApiGeneratorCommandBase.cs b/src/NSwag.Commands/Commands/Generation/OpenApiGeneratorCommandBase.cs index 0fd9c61573..cec22f68a6 100644 --- a/src/NSwag.Commands/Commands/Generation/OpenApiGeneratorCommandBase.cs +++ b/src/NSwag.Commands/Commands/Generation/OpenApiGeneratorCommandBase.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 //----------------------------------------------------------------------- #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member diff --git a/src/NSwag.Commands/Commands/Generation/TypesToOpenApiCommand.cs b/src/NSwag.Commands/Commands/Generation/TypesToOpenApiCommand.cs index 29c4aec716..7b2739f993 100644 --- a/src/NSwag.Commands/Commands/Generation/TypesToOpenApiCommand.cs +++ b/src/NSwag.Commands/Commands/Generation/TypesToOpenApiCommand.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/Generation/WebApi/WebApiToOpenApiCommand.cs b/src/NSwag.Commands/Commands/Generation/WebApi/WebApiToOpenApiCommand.cs index 2726f676b1..917f46f2be 100644 --- a/src/NSwag.Commands/Commands/Generation/WebApi/WebApiToOpenApiCommand.cs +++ b/src/NSwag.Commands/Commands/Generation/WebApi/WebApiToOpenApiCommand.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 //----------------------------------------------------------------------- #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member diff --git a/src/NSwag.Commands/Commands/IOutputCommand.cs b/src/NSwag.Commands/Commands/IOutputCommand.cs index 153cdeab16..6909158f01 100644 --- a/src/NSwag.Commands/Commands/IOutputCommand.cs +++ b/src/NSwag.Commands/Commands/IOutputCommand.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/InputOutputCommandBase.cs b/src/NSwag.Commands/Commands/InputOutputCommandBase.cs index 73b20afc34..3ffb551862 100644 --- a/src/NSwag.Commands/Commands/InputOutputCommandBase.cs +++ b/src/NSwag.Commands/Commands/InputOutputCommandBase.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/IsolatedCommandBase.cs b/src/NSwag.Commands/Commands/IsolatedCommandBase.cs index 2e379f88eb..d6f5dc6c10 100644 --- a/src/NSwag.Commands/Commands/IsolatedCommandBase.cs +++ b/src/NSwag.Commands/Commands/IsolatedCommandBase.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/IsolatedSwaggerOutputCommandBase.cs b/src/NSwag.Commands/Commands/IsolatedSwaggerOutputCommandBase.cs index ab6c1c54ef..fa47580726 100644 --- a/src/NSwag.Commands/Commands/IsolatedSwaggerOutputCommandBase.cs +++ b/src/NSwag.Commands/Commands/IsolatedSwaggerOutputCommandBase.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 //----------------------------------------------------------------------- #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member diff --git a/src/NSwag.Commands/Commands/OutputCommandBase.cs b/src/NSwag.Commands/Commands/OutputCommandBase.cs index efc81d9abd..2ee7a745af 100644 --- a/src/NSwag.Commands/Commands/OutputCommandBase.cs +++ b/src/NSwag.Commands/Commands/OutputCommandBase.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/OutputCommandExtensions.cs b/src/NSwag.Commands/Commands/OutputCommandExtensions.cs index 5ffca1b4da..174957d5ce 100644 --- a/src/NSwag.Commands/Commands/OutputCommandExtensions.cs +++ b/src/NSwag.Commands/Commands/OutputCommandExtensions.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 //----------------------------------------------------------------------- @@ -48,7 +48,7 @@ public static async Task TryWriteFileOutputAsync(this IOutputCommand comma { host?.WriteMessage("Code has been successfully generated but not written to file (no change detected).\n"); } - return true; + return true; } return false; } diff --git a/src/NSwag.Commands/Commands/Tooling/VersionCommand.cs b/src/NSwag.Commands/Commands/Tooling/VersionCommand.cs index 9da3b26669..b486205e19 100644 --- a/src/NSwag.Commands/Commands/Tooling/VersionCommand.cs +++ b/src/NSwag.Commands/Commands/Tooling/VersionCommand.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/NSwag.Commands.csproj b/src/NSwag.Commands/NSwag.Commands.csproj index 2147457f85..4caf61ad4e 100644 --- a/src/NSwag.Commands/NSwag.Commands.csproj +++ b/src/NSwag.Commands/NSwag.Commands.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.Commands/NSwagCommandProcessor.cs b/src/NSwag.Commands/NSwagCommandProcessor.cs index 7f7a8da37f..bb43e710cf 100644 --- a/src/NSwag.Commands/NSwagCommandProcessor.cs +++ b/src/NSwag.Commands/NSwagCommandProcessor.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/NSwagDocument.cs b/src/NSwag.Commands/NSwagDocument.cs index 977ccf9be0..cfa22795da 100644 --- a/src/NSwag.Commands/NSwagDocument.cs +++ b/src/NSwag.Commands/NSwagDocument.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/NSwagDocumentBase.cs b/src/NSwag.Commands/NSwagDocumentBase.cs index f77564eeef..1d862fcb8b 100644 --- a/src/NSwag.Commands/NSwagDocumentBase.cs +++ b/src/NSwag.Commands/NSwagDocumentBase.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/OpenApiDocumentExecutionResult.cs b/src/NSwag.Commands/OpenApiDocumentExecutionResult.cs index b319e2e8c6..e634626ee7 100644 --- a/src/NSwag.Commands/OpenApiDocumentExecutionResult.cs +++ b/src/NSwag.Commands/OpenApiDocumentExecutionResult.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/OperationGenerationModeConverter.cs b/src/NSwag.Commands/OperationGenerationModeConverter.cs index df08bbfa56..b6fc74bd71 100644 --- a/src/NSwag.Commands/OperationGenerationModeConverter.cs +++ b/src/NSwag.Commands/OperationGenerationModeConverter.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/Runtime.cs b/src/NSwag.Commands/Runtime.cs index f7544bf45f..90ee15c4cb 100644 --- a/src/NSwag.Commands/Runtime.cs +++ b/src/NSwag.Commands/Runtime.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/RuntimeUtilities.cs b/src/NSwag.Commands/RuntimeUtilities.cs index e4f03eb17a..8111bae1b7 100644 --- a/src/NSwag.Commands/RuntimeUtilities.cs +++ b/src/NSwag.Commands/RuntimeUtilities.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.Console.x86/NSwag.Console.x86.csproj b/src/NSwag.Console.x86/NSwag.Console.x86.csproj index 1f5ec7aaa5..548795eb87 100644 --- a/src/NSwag.Console.x86/NSwag.Console.x86.csproj +++ b/src/NSwag.Console.x86/NSwag.Console.x86.csproj @@ -8,7 +8,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 False Rico Suter diff --git a/src/NSwag.Console/NSwag.Console.csproj b/src/NSwag.Console/NSwag.Console.csproj index 7ef0f8d81e..63c10019dc 100644 --- a/src/NSwag.Console/NSwag.Console.csproj +++ b/src/NSwag.Console/NSwag.Console.csproj @@ -8,7 +8,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 False Rico Suter diff --git a/src/NSwag.ConsoleCore/NSwag.ConsoleCore.csproj b/src/NSwag.ConsoleCore/NSwag.ConsoleCore.csproj index 1b27604cc5..27e7ad8e37 100644 --- a/src/NSwag.ConsoleCore/NSwag.ConsoleCore.csproj +++ b/src/NSwag.ConsoleCore/NSwag.ConsoleCore.csproj @@ -6,7 +6,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 Rico Suter @@ -15,7 +15,7 @@ dotnet-nswag NSwag.ConsoleCore - + @@ -41,7 +41,7 @@ - + diff --git a/src/NSwag.Core.Tests/DocumentLoadingTests.cs b/src/NSwag.Core.Tests/DocumentLoadingTests.cs index ac8d12a643..655996da99 100644 --- a/src/NSwag.Core.Tests/DocumentLoadingTests.cs +++ b/src/NSwag.Core.Tests/DocumentLoadingTests.cs @@ -59,7 +59,7 @@ public async Task When_json_has_extension_data_then_it_is_loaded() [Fact] public async Task When_locale_is_not_english_then_types_are_correctly_serialized() { - // https://github.com/NSwag/NSwag/issues/518 + // https://github.com/RicoSuter/NSwag/issues/518 //// Arrange CultureInfo ci = new CultureInfo("tr-TR"); @@ -78,7 +78,7 @@ public async Task When_locale_is_not_english_then_types_are_correctly_serialized Assert.Equal(JsonObjectType.Integer, document.Definitions["Pet"].Properties["id"].Type); } - private string _sampleServiceCode = + private string _sampleServiceCode = @"{ ""swagger"": ""2.0"", ""info"": { diff --git a/src/NSwag.Core.Yaml/NSwag.Core.Yaml.csproj b/src/NSwag.Core.Yaml/NSwag.Core.Yaml.csproj index 68e049d60d..376f92a9c1 100644 --- a/src/NSwag.Core.Yaml/NSwag.Core.Yaml.csproj +++ b/src/NSwag.Core.Yaml/NSwag.Core.Yaml.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 Rico Suter diff --git a/src/NSwag.Core.Yaml/OpenApiYamlDocument.cs b/src/NSwag.Core.Yaml/OpenApiYamlDocument.cs index a19c3e0b35..86a5dffffb 100644 --- a/src/NSwag.Core.Yaml/OpenApiYamlDocument.cs +++ b/src/NSwag.Core.Yaml/OpenApiYamlDocument.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.Core/HttpUtilities.cs b/src/NSwag.Core/HttpUtilities.cs index a0ee10c0c6..2bb356ee4a 100644 --- a/src/NSwag.Core/HttpUtilities.cs +++ b/src/NSwag.Core/HttpUtilities.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.Core/JsonExpectedSchema.cs b/src/NSwag.Core/JsonExpectedSchema.cs index aa9026863b..d6f980d086 100644 --- a/src/NSwag.Core/JsonExpectedSchema.cs +++ b/src/NSwag.Core/JsonExpectedSchema.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.Core/NSwag.Core.csproj b/src/NSwag.Core/NSwag.Core.csproj index a5cf751892..2179233fcd 100644 --- a/src/NSwag.Core/NSwag.Core.csproj +++ b/src/NSwag.Core/NSwag.Core.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.Core/OpenApiCallback.cs b/src/NSwag.Core/OpenApiCallback.cs index 7e126edfca..d56c00ad2e 100644 --- a/src/NSwag.Core/OpenApiCallback.cs +++ b/src/NSwag.Core/OpenApiCallback.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.Core/OpenApiComponents.cs b/src/NSwag.Core/OpenApiComponents.cs index f6950ced42..fb832db975 100644 --- a/src/NSwag.Core/OpenApiComponents.cs +++ b/src/NSwag.Core/OpenApiComponents.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.Core/OpenApiContact.cs b/src/NSwag.Core/OpenApiContact.cs index 5a2fe5f212..54aa2e9478 100644 --- a/src/NSwag.Core/OpenApiContact.cs +++ b/src/NSwag.Core/OpenApiContact.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.Core/OpenApiDocument.Serialization.cs b/src/NSwag.Core/OpenApiDocument.Serialization.cs index 8f39ac284b..9214e061df 100644 --- a/src/NSwag.Core/OpenApiDocument.Serialization.cs +++ b/src/NSwag.Core/OpenApiDocument.Serialization.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.Core/OpenApiDocument.cs b/src/NSwag.Core/OpenApiDocument.cs index 52ab405450..c82dd0ef10 100644 --- a/src/NSwag.Core/OpenApiDocument.cs +++ b/src/NSwag.Core/OpenApiDocument.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 //----------------------------------------------------------------------- @@ -254,8 +254,8 @@ public void GenerateOperationIds() { // Append "All" if possible var arrayResponseOperation = operations.FirstOrDefault( - o => o.Operation.ActualResponses.Any(r => - HttpUtilities.IsSuccessStatusCode(r.Key) && + o => o.Operation.ActualResponses.Any(r => + HttpUtilities.IsSuccessStatusCode(r.Key) && r.Value.Schema?.ActualSchema.Type == JsonObjectType.Array)); if (arrayResponseOperation != null) diff --git a/src/NSwag.Core/OpenApiEncoding.cs b/src/NSwag.Core/OpenApiEncoding.cs index 2db9af7167..7a90322cf0 100644 --- a/src/NSwag.Core/OpenApiEncoding.cs +++ b/src/NSwag.Core/OpenApiEncoding.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.Core/OpenApiExample.cs b/src/NSwag.Core/OpenApiExample.cs index 8bf5355deb..12409696d8 100644 --- a/src/NSwag.Core/OpenApiExample.cs +++ b/src/NSwag.Core/OpenApiExample.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.Core/OpenApiExternalDocumentation.cs b/src/NSwag.Core/OpenApiExternalDocumentation.cs index e948d08fd1..d6c12e8a68 100644 --- a/src/NSwag.Core/OpenApiExternalDocumentation.cs +++ b/src/NSwag.Core/OpenApiExternalDocumentation.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.Core/OpenApiHeaders.cs b/src/NSwag.Core/OpenApiHeaders.cs index 4c44252a09..36766fdb28 100644 --- a/src/NSwag.Core/OpenApiHeaders.cs +++ b/src/NSwag.Core/OpenApiHeaders.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.Core/OpenApiInfo.cs b/src/NSwag.Core/OpenApiInfo.cs index 5b3c8df5f3..b04f3fec91 100644 --- a/src/NSwag.Core/OpenApiInfo.cs +++ b/src/NSwag.Core/OpenApiInfo.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.Core/OpenApiLicense.cs b/src/NSwag.Core/OpenApiLicense.cs index be68794787..6691df40d4 100644 --- a/src/NSwag.Core/OpenApiLicense.cs +++ b/src/NSwag.Core/OpenApiLicense.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.Core/OpenApiLink.cs b/src/NSwag.Core/OpenApiLink.cs index bd8fb6d0c7..3d363bb410 100644 --- a/src/NSwag.Core/OpenApiLink.cs +++ b/src/NSwag.Core/OpenApiLink.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.Core/OpenApiMediaType.cs b/src/NSwag.Core/OpenApiMediaType.cs index 8475396ec4..bf16abfb08 100644 --- a/src/NSwag.Core/OpenApiMediaType.cs +++ b/src/NSwag.Core/OpenApiMediaType.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.Core/OpenApiOAuth2Flow.cs b/src/NSwag.Core/OpenApiOAuth2Flow.cs index 4dfc90c84e..edf7b0ad9d 100644 --- a/src/NSwag.Core/OpenApiOAuth2Flow.cs +++ b/src/NSwag.Core/OpenApiOAuth2Flow.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.Core/OpenApiOAuthFlow.cs b/src/NSwag.Core/OpenApiOAuthFlow.cs index c488eee29b..26e8bda6b1 100644 --- a/src/NSwag.Core/OpenApiOAuthFlow.cs +++ b/src/NSwag.Core/OpenApiOAuthFlow.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.Core/OpenApiOAuthFlows.cs b/src/NSwag.Core/OpenApiOAuthFlows.cs index 748d95daa5..0cad85e3fd 100644 --- a/src/NSwag.Core/OpenApiOAuthFlows.cs +++ b/src/NSwag.Core/OpenApiOAuthFlows.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.Core/OpenApiOperation.cs b/src/NSwag.Core/OpenApiOperation.cs index e21fb9c02a..d240d174bd 100644 --- a/src/NSwag.Core/OpenApiOperation.cs +++ b/src/NSwag.Core/OpenApiOperation.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.Core/OpenApiOperationDescription.cs b/src/NSwag.Core/OpenApiOperationDescription.cs index fa6e820847..27fa19cdf2 100644 --- a/src/NSwag.Core/OpenApiOperationDescription.cs +++ b/src/NSwag.Core/OpenApiOperationDescription.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.Core/OpenApiOperationMethod.cs b/src/NSwag.Core/OpenApiOperationMethod.cs index f755f42977..3cdb5fef67 100644 --- a/src/NSwag.Core/OpenApiOperationMethod.cs +++ b/src/NSwag.Core/OpenApiOperationMethod.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.Core/OpenApiParameter.cs b/src/NSwag.Core/OpenApiParameter.cs index f63ff3fcd1..8000bd6eb9 100644 --- a/src/NSwag.Core/OpenApiParameter.cs +++ b/src/NSwag.Core/OpenApiParameter.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.Core/OpenApiParameterCollectionFormat.cs b/src/NSwag.Core/OpenApiParameterCollectionFormat.cs index f984e3bb5e..2bba2271df 100644 --- a/src/NSwag.Core/OpenApiParameterCollectionFormat.cs +++ b/src/NSwag.Core/OpenApiParameterCollectionFormat.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.Core/OpenApiParameterKind.cs b/src/NSwag.Core/OpenApiParameterKind.cs index eb88f19eae..f4e3c69cc9 100644 --- a/src/NSwag.Core/OpenApiParameterKind.cs +++ b/src/NSwag.Core/OpenApiParameterKind.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.Core/OpenApiPathItem.cs b/src/NSwag.Core/OpenApiPathItem.cs index a44ceef558..7525d8c8cc 100644 --- a/src/NSwag.Core/OpenApiPathItem.cs +++ b/src/NSwag.Core/OpenApiPathItem.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.Core/OpenApiRequestBody.cs b/src/NSwag.Core/OpenApiRequestBody.cs index c6e85b83dc..27cf0d34a3 100644 --- a/src/NSwag.Core/OpenApiRequestBody.cs +++ b/src/NSwag.Core/OpenApiRequestBody.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.Core/OpenApiResponse.cs b/src/NSwag.Core/OpenApiResponse.cs index 49d4a7986c..b8f5326c21 100644 --- a/src/NSwag.Core/OpenApiResponse.cs +++ b/src/NSwag.Core/OpenApiResponse.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 //----------------------------------------------------------------------- @@ -122,7 +122,7 @@ public bool IsBinary(OpenApiOperation operation) if (ActualResponse.Content.Any()) { var contentIsBinary = - ActualResponse.Content.All(c => c.Value.Schema?.ActualSchema.IsAnyType != false || + ActualResponse.Content.All(c => c.Value.Schema?.ActualSchema.IsAnyType != false || c.Value.Schema?.ActualSchema.IsBinary != false) && // is binary only if there is no JSON schema defined !ActualResponse.Content.Keys.Any(p => p.Contains("*/*")) && // supports json !ActualResponse.Content.Keys.Any(p => p.Contains("application/json")) && @@ -139,7 +139,7 @@ public bool IsBinary(OpenApiOperation operation) if (actualProduces?.Any() == true) { var producesIsBinary = - (Schema?.ActualSchema.IsAnyType != false || + (Schema?.ActualSchema.IsAnyType != false || Schema?.ActualSchema.IsBinary != false) && // is binary only if there is no JSON schema defined actualProduces?.Any(p => p.Contains("*/*")) != true && // supports json actualProduces?.Any(p => p.Contains("application/json")) != true && diff --git a/src/NSwag.Core/OpenApiSchema.cs b/src/NSwag.Core/OpenApiSchema.cs index 123340d211..a5c75a218e 100644 --- a/src/NSwag.Core/OpenApiSchema.cs +++ b/src/NSwag.Core/OpenApiSchema.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.Core/OpenApiSchemaResolver.cs b/src/NSwag.Core/OpenApiSchemaResolver.cs index 37fd9fdc4f..4455fc5db8 100644 --- a/src/NSwag.Core/OpenApiSchemaResolver.cs +++ b/src/NSwag.Core/OpenApiSchemaResolver.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.Core/OpenApiSecurityApiKeyLocation.cs b/src/NSwag.Core/OpenApiSecurityApiKeyLocation.cs index b09bd239b1..8a1a10988d 100644 --- a/src/NSwag.Core/OpenApiSecurityApiKeyLocation.cs +++ b/src/NSwag.Core/OpenApiSecurityApiKeyLocation.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.Core/OpenApiSecurityRequirement.cs b/src/NSwag.Core/OpenApiSecurityRequirement.cs index 7b27297e50..2409e64f2e 100644 --- a/src/NSwag.Core/OpenApiSecurityRequirement.cs +++ b/src/NSwag.Core/OpenApiSecurityRequirement.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.Core/OpenApiSecurityScheme.cs b/src/NSwag.Core/OpenApiSecurityScheme.cs index 012fd04345..416d002086 100644 --- a/src/NSwag.Core/OpenApiSecurityScheme.cs +++ b/src/NSwag.Core/OpenApiSecurityScheme.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 //----------------------------------------------------------------------- @@ -105,7 +105,7 @@ internal OpenApiSecuritySchemeType TypeRaw } } - // Swagger only: + // Swagger only: /// Gets or sets the used by the OAuth2 security scheme (Swagger only). [JsonProperty(PropertyName = "flow", DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)] diff --git a/src/NSwag.Core/OpenApiSecuritySchemeType.cs b/src/NSwag.Core/OpenApiSecuritySchemeType.cs index 35aaabd5f3..f47f3adf47 100644 --- a/src/NSwag.Core/OpenApiSecuritySchemeType.cs +++ b/src/NSwag.Core/OpenApiSecuritySchemeType.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.Core/OpenApiServer.cs b/src/NSwag.Core/OpenApiServer.cs index c1076ddee3..ca29dc6bc1 100644 --- a/src/NSwag.Core/OpenApiServer.cs +++ b/src/NSwag.Core/OpenApiServer.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.Core/OpenApiServerVariable.cs b/src/NSwag.Core/OpenApiServerVariable.cs index 535e81e068..31b8a73d1a 100644 --- a/src/NSwag.Core/OpenApiServerVariable.cs +++ b/src/NSwag.Core/OpenApiServerVariable.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.Core/OpenApiTag.cs b/src/NSwag.Core/OpenApiTag.cs index 70ed3be2b4..fed037f497 100644 --- a/src/NSwag.Core/OpenApiTag.cs +++ b/src/NSwag.Core/OpenApiTag.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.Generation.AspNetCore.Tests/AspNetCoreToSwaggerGenerationTests.cs b/src/NSwag.Generation.AspNetCore.Tests/AspNetCoreToSwaggerGenerationTests.cs index 564ee6fb4e..12c7ac7bfb 100644 --- a/src/NSwag.Generation.AspNetCore.Tests/AspNetCoreToSwaggerGenerationTests.cs +++ b/src/NSwag.Generation.AspNetCore.Tests/AspNetCoreToSwaggerGenerationTests.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.Generation.AspNetCore.Tests/Processors/OperationResponseProcessorTest.cs b/src/NSwag.Generation.AspNetCore.Tests/Processors/OperationResponseProcessorTest.cs index 934737afac..e875d42c4f 100644 --- a/src/NSwag.Generation.AspNetCore.Tests/Processors/OperationResponseProcessorTest.cs +++ b/src/NSwag.Generation.AspNetCore.Tests/Processors/OperationResponseProcessorTest.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.Generation.AspNetCore/AspNetCoreOpenApiDocumentGenerator.cs b/src/NSwag.Generation.AspNetCore/AspNetCoreOpenApiDocumentGenerator.cs index f33e1fea97..82fa6f5f41 100644 --- a/src/NSwag.Generation.AspNetCore/AspNetCoreOpenApiDocumentGenerator.cs +++ b/src/NSwag.Generation.AspNetCore/AspNetCoreOpenApiDocumentGenerator.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.Generation.AspNetCore/AspNetCoreOpenApiDocumentGeneratorSettings.cs b/src/NSwag.Generation.AspNetCore/AspNetCoreOpenApiDocumentGeneratorSettings.cs index 7ec01125df..327604e37d 100644 --- a/src/NSwag.Generation.AspNetCore/AspNetCoreOpenApiDocumentGeneratorSettings.cs +++ b/src/NSwag.Generation.AspNetCore/AspNetCoreOpenApiDocumentGeneratorSettings.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.Generation.AspNetCore/AspNetCoreOperationProcessorContext.cs b/src/NSwag.Generation.AspNetCore/AspNetCoreOperationProcessorContext.cs index b39086fe67..3fd302ff7c 100644 --- a/src/NSwag.Generation.AspNetCore/AspNetCoreOperationProcessorContext.cs +++ b/src/NSwag.Generation.AspNetCore/AspNetCoreOperationProcessorContext.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 //----------------------------------------------------------------------- @@ -31,15 +31,15 @@ public class AspNetCoreOperationProcessorContext : OperationProcessorContext /// All operation descriptions. /// The schema generator. public AspNetCoreOperationProcessorContext( - OpenApiDocument document, - OpenApiOperationDescription operationDescription, - Type controllerType, - MethodInfo methodInfo, - OpenApiDocumentGenerator swaggerGenerator, - JsonSchemaGenerator schemaGenerator, - JsonSchemaResolver schemaResolver, - OpenApiDocumentGeneratorSettings settings, - IList allOperationDescriptions) + OpenApiDocument document, + OpenApiOperationDescription operationDescription, + Type controllerType, + MethodInfo methodInfo, + OpenApiDocumentGenerator swaggerGenerator, + JsonSchemaGenerator schemaGenerator, + JsonSchemaResolver schemaResolver, + OpenApiDocumentGeneratorSettings settings, + IList allOperationDescriptions) : base(document, operationDescription, controllerType, methodInfo, swaggerGenerator, schemaGenerator, schemaResolver, settings, allOperationDescriptions) { } diff --git a/src/NSwag.Generation.AspNetCore/NSwag.Generation.AspNetCore.csproj b/src/NSwag.Generation.AspNetCore/NSwag.Generation.AspNetCore.csproj index 94a00fb971..fb7ec8b61e 100644 --- a/src/NSwag.Generation.AspNetCore/NSwag.Generation.AspNetCore.csproj +++ b/src/NSwag.Generation.AspNetCore/NSwag.Generation.AspNetCore.csproj @@ -5,7 +5,7 @@ 13.0.3 Swagger Documentation AspNetCore 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.Generation.AspNetCore/Processors/AspNetCoreOperationSecurityScopeProcessor.cs b/src/NSwag.Generation.AspNetCore/Processors/AspNetCoreOperationSecurityScopeProcessor.cs index 214da92cca..b433f9d42f 100644 --- a/src/NSwag.Generation.AspNetCore/Processors/AspNetCoreOperationSecurityScopeProcessor.cs +++ b/src/NSwag.Generation.AspNetCore/Processors/AspNetCoreOperationSecurityScopeProcessor.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.Generation.AspNetCore/Processors/AspNetCoreOperationTagsProcessor.cs b/src/NSwag.Generation.AspNetCore/Processors/AspNetCoreOperationTagsProcessor.cs index abd97478fb..d6f4f1dc0f 100644 --- a/src/NSwag.Generation.AspNetCore/Processors/AspNetCoreOperationTagsProcessor.cs +++ b/src/NSwag.Generation.AspNetCore/Processors/AspNetCoreOperationTagsProcessor.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.Generation.AspNetCore/Processors/OperationParameterProcessor.cs b/src/NSwag.Generation.AspNetCore/Processors/OperationParameterProcessor.cs index cd391e0a79..508165757b 100644 --- a/src/NSwag.Generation.AspNetCore/Processors/OperationParameterProcessor.cs +++ b/src/NSwag.Generation.AspNetCore/Processors/OperationParameterProcessor.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.Generation.AspNetCore/Processors/OperationResponseProcessor.cs b/src/NSwag.Generation.AspNetCore/Processors/OperationResponseProcessor.cs index fb66c78d1a..c0e0faf778 100644 --- a/src/NSwag.Generation.AspNetCore/Processors/OperationResponseProcessor.cs +++ b/src/NSwag.Generation.AspNetCore/Processors/OperationResponseProcessor.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.Generation.WebApi.Tests/Attributes/ComplexParametersTests.cs b/src/NSwag.Generation.WebApi.Tests/Attributes/ComplexParametersTests.cs index d0115a74b8..85a3355edc 100644 --- a/src/NSwag.Generation.WebApi.Tests/Attributes/ComplexParametersTests.cs +++ b/src/NSwag.Generation.WebApi.Tests/Attributes/ComplexParametersTests.cs @@ -62,7 +62,7 @@ public class WillReadBodyAttribute : Attribute } /// - /// Since this class has a [WillReadBody] attribute with no WillReadBody property, + /// Since this class has a [WillReadBody] attribute with no WillReadBody property, /// OperationParameterProcessor should treat it as a body param. /// [ComplexParametersTests.WillReadBody] @@ -329,7 +329,7 @@ public class ComplexGetRequest public async Task When_complex_parameter_contains_property_with_FromRoute_attribute_then_it_is_generated_as_path_parameter() { // FromRouteAttribute is only available in ASP.NET Core - // Issue: https://github.com/NSwag/NSwag/issues/513 + // Issue: https://github.com/RicoSuter/NSwag/issues/513 //// Arrange var generator = new WebApiOpenApiDocumentGenerator(new WebApiOpenApiDocumentGeneratorSettings diff --git a/src/NSwag.Generation.WebApi.Tests/Attributes/RouteInheritanceTests.cs b/src/NSwag.Generation.WebApi.Tests/Attributes/RouteInheritanceTests.cs index cc923aec71..2be6f054dd 100644 --- a/src/NSwag.Generation.WebApi.Tests/Attributes/RouteInheritanceTests.cs +++ b/src/NSwag.Generation.WebApi.Tests/Attributes/RouteInheritanceTests.cs @@ -5,7 +5,7 @@ namespace NSwag.Generation.WebApi.Tests.Attributes { - // See https://github.com/NSwag/NSwag/issues/48 + // See https://github.com/RicoSuter/NSwag/issues/48 [TestClass] public class RouteInheritanceTests diff --git a/src/NSwag.Generation.WebApi.Tests/Attributes/RouteTests.cs b/src/NSwag.Generation.WebApi.Tests/Attributes/RouteTests.cs index 2af4bc0097..009da03041 100644 --- a/src/NSwag.Generation.WebApi.Tests/Attributes/RouteTests.cs +++ b/src/NSwag.Generation.WebApi.Tests/Attributes/RouteTests.cs @@ -10,7 +10,7 @@ namespace NSwag.Generation.WebApi.Tests.Attributes [TestClass] public class RouteTests { - // https://github.com/NSwag/NSwag/issues/510 + // https://github.com/RicoSuter/NSwag/issues/510 public abstract class RegionalItemController : ApiController { diff --git a/src/NSwag.Generation.WebApi.Tests/Integration/SwashbuckleAnnotationsTests.cs b/src/NSwag.Generation.WebApi.Tests/Integration/SwashbuckleAnnotationsTests.cs index d3653f0bc4..5918816ef3 100644 --- a/src/NSwag.Generation.WebApi.Tests/Integration/SwashbuckleAnnotationsTests.cs +++ b/src/NSwag.Generation.WebApi.Tests/Integration/SwashbuckleAnnotationsTests.cs @@ -12,7 +12,7 @@ namespace NSwag.Generation.WebApi.Tests.Integration [TestClass] public class SwashbuckleAnnotationsTests { - // https://github.com/NSwag/NSwag/issues/494 + // https://github.com/RicoSuter/NSwag/issues/494 public class JsonDate { diff --git a/src/NSwag.Generation.WebApi.Tests/RouteTests.cs b/src/NSwag.Generation.WebApi.Tests/RouteTests.cs index 3a6a94251a..5bf5769be6 100644 --- a/src/NSwag.Generation.WebApi.Tests/RouteTests.cs +++ b/src/NSwag.Generation.WebApi.Tests/RouteTests.cs @@ -10,7 +10,7 @@ namespace NSwag.Generation.WebApi.Tests [TestClass] public class RouteTests { - // From https://github.com/NSwag/NSwag/issues/664 + // From https://github.com/RicoSuter/NSwag/issues/664 public class ProductPagedResult { diff --git a/src/NSwag.Generation.WebApi/Infrastructure/RouteAttributeFacade.cs b/src/NSwag.Generation.WebApi/Infrastructure/RouteAttributeFacade.cs index 8d2cf9c3e5..149dfaf94f 100644 --- a/src/NSwag.Generation.WebApi/Infrastructure/RouteAttributeFacade.cs +++ b/src/NSwag.Generation.WebApi/Infrastructure/RouteAttributeFacade.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.Generation.WebApi/Infrastructure/RoutePrefixAttributeFacade.cs b/src/NSwag.Generation.WebApi/Infrastructure/RoutePrefixAttributeFacade.cs index 29d1876fa3..faadfb0c51 100644 --- a/src/NSwag.Generation.WebApi/Infrastructure/RoutePrefixAttributeFacade.cs +++ b/src/NSwag.Generation.WebApi/Infrastructure/RoutePrefixAttributeFacade.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.Generation.WebApi/NSwag.Generation.WebApi.csproj b/src/NSwag.Generation.WebApi/NSwag.Generation.WebApi.csproj index 31b3f13b23..ba53b47069 100644 --- a/src/NSwag.Generation.WebApi/NSwag.Generation.WebApi.csproj +++ b/src/NSwag.Generation.WebApi/NSwag.Generation.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.Generation.WebApi/Processors/OperationConsumesProcessor.cs b/src/NSwag.Generation.WebApi/Processors/OperationConsumesProcessor.cs index 8b05b9da9f..c8deb08438 100644 --- a/src/NSwag.Generation.WebApi/Processors/OperationConsumesProcessor.cs +++ b/src/NSwag.Generation.WebApi/Processors/OperationConsumesProcessor.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.Generation.WebApi/Processors/OperationParameterProcessor.cs b/src/NSwag.Generation.WebApi/Processors/OperationParameterProcessor.cs index e7cc1efe04..43e6814f9e 100644 --- a/src/NSwag.Generation.WebApi/Processors/OperationParameterProcessor.cs +++ b/src/NSwag.Generation.WebApi/Processors/OperationParameterProcessor.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 //----------------------------------------------------------------------- @@ -371,8 +371,8 @@ private OpenApiParameter AddPrimitiveParametersFromUri( { foreach (var contextualProperty in contextualParameter.Type.GetContextualProperties()) { - if (contextualProperty.ContextAttributes.Select(a => a.GetType()).All(a => - !a.IsAssignableToTypeName("SwaggerIgnoreAttribute", TypeNameStyle.Name) && + if (contextualProperty.ContextAttributes.Select(a => a.GetType()).All(a => + !a.IsAssignableToTypeName("SwaggerIgnoreAttribute", TypeNameStyle.Name) && !a.IsAssignableToTypeName("JsonIgnoreAttribute", TypeNameStyle.Name))) { var fromQueryAttribute = contextualProperty.ContextAttributes.SingleOrDefault(a => a.GetType().Name == "FromQueryAttribute"); diff --git a/src/NSwag.Generation.WebApi/Processors/OperationResponseProcessor.cs b/src/NSwag.Generation.WebApi/Processors/OperationResponseProcessor.cs index 974b9f94e0..17e75dca53 100644 --- a/src/NSwag.Generation.WebApi/Processors/OperationResponseProcessor.cs +++ b/src/NSwag.Generation.WebApi/Processors/OperationResponseProcessor.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.Generation.WebApi/WebApiOpenApiDocumentGenerator.cs b/src/NSwag.Generation.WebApi/WebApiOpenApiDocumentGenerator.cs index 0c8ff085b4..719aed2109 100644 --- a/src/NSwag.Generation.WebApi/WebApiOpenApiDocumentGenerator.cs +++ b/src/NSwag.Generation.WebApi/WebApiOpenApiDocumentGenerator.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.Generation.WebApi/WebApiOpenApiDocumentGeneratorSettings.cs b/src/NSwag.Generation.WebApi/WebApiOpenApiDocumentGeneratorSettings.cs index 92f53bc961..725c68bc27 100644 --- a/src/NSwag.Generation.WebApi/WebApiOpenApiDocumentGeneratorSettings.cs +++ b/src/NSwag.Generation.WebApi/WebApiOpenApiDocumentGeneratorSettings.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.Generation/IOpenApiDocumentGenerator.cs b/src/NSwag.Generation/IOpenApiDocumentGenerator.cs index 530bb71e45..f0f75abcfc 100644 --- a/src/NSwag.Generation/IOpenApiDocumentGenerator.cs +++ b/src/NSwag.Generation/IOpenApiDocumentGenerator.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.Generation/NSwag.Generation.csproj b/src/NSwag.Generation/NSwag.Generation.csproj index 35327d4afb..8a69924229 100644 --- a/src/NSwag.Generation/NSwag.Generation.csproj +++ b/src/NSwag.Generation/NSwag.Generation.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.Generation/OpenApiDocumentGenerator.cs b/src/NSwag.Generation/OpenApiDocumentGenerator.cs index 2e9880c81a..7894bcfeff 100644 --- a/src/NSwag.Generation/OpenApiDocumentGenerator.cs +++ b/src/NSwag.Generation/OpenApiDocumentGenerator.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.Generation/OpenApiDocumentGeneratorSettings.cs b/src/NSwag.Generation/OpenApiDocumentGeneratorSettings.cs index 8a2dbdc524..5dfccce978 100644 --- a/src/NSwag.Generation/OpenApiDocumentGeneratorSettings.cs +++ b/src/NSwag.Generation/OpenApiDocumentGeneratorSettings.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.Generation/OpenApiSchemaGenerator.cs b/src/NSwag.Generation/OpenApiSchemaGenerator.cs index 0e074dad20..482e9b8b1a 100644 --- a/src/NSwag.Generation/OpenApiSchemaGenerator.cs +++ b/src/NSwag.Generation/OpenApiSchemaGenerator.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.Generation/Processors/ActionDocumentProcessor.cs b/src/NSwag.Generation/Processors/ActionDocumentProcessor.cs index 9396447cc8..4c4984b14e 100644 --- a/src/NSwag.Generation/Processors/ActionDocumentProcessor.cs +++ b/src/NSwag.Generation/Processors/ActionDocumentProcessor.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.Generation/Processors/ApiVersionProcessor.cs b/src/NSwag.Generation/Processors/ApiVersionProcessor.cs index 14fbf2a9e7..f917259d95 100644 --- a/src/NSwag.Generation/Processors/ApiVersionProcessor.cs +++ b/src/NSwag.Generation/Processors/ApiVersionProcessor.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.Generation/Processors/Collections/DocumentProcessorCollection.cs b/src/NSwag.Generation/Processors/Collections/DocumentProcessorCollection.cs index 6e0f6dc6f7..c9a09e340b 100644 --- a/src/NSwag.Generation/Processors/Collections/DocumentProcessorCollection.cs +++ b/src/NSwag.Generation/Processors/Collections/DocumentProcessorCollection.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.Generation/Processors/Collections/OperationProcessorCollection.cs b/src/NSwag.Generation/Processors/Collections/OperationProcessorCollection.cs index 45c60a861f..1eec9dc36b 100644 --- a/src/NSwag.Generation/Processors/Collections/OperationProcessorCollection.cs +++ b/src/NSwag.Generation/Processors/Collections/OperationProcessorCollection.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.Generation/Processors/Contexts/DocumentProcessorContext.cs b/src/NSwag.Generation/Processors/Contexts/DocumentProcessorContext.cs index f1403b27cb..5220941ca5 100644 --- a/src/NSwag.Generation/Processors/Contexts/DocumentProcessorContext.cs +++ b/src/NSwag.Generation/Processors/Contexts/DocumentProcessorContext.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.Generation/Processors/Contexts/OperationProcessorContext.cs b/src/NSwag.Generation/Processors/Contexts/OperationProcessorContext.cs index 37e08b5a5d..fc9d964a61 100644 --- a/src/NSwag.Generation/Processors/Contexts/OperationProcessorContext.cs +++ b/src/NSwag.Generation/Processors/Contexts/OperationProcessorContext.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.Generation/Processors/DocumentExtensionDataProcessor.cs b/src/NSwag.Generation/Processors/DocumentExtensionDataProcessor.cs index 97bdbf8166..3759998086 100644 --- a/src/NSwag.Generation/Processors/DocumentExtensionDataProcessor.cs +++ b/src/NSwag.Generation/Processors/DocumentExtensionDataProcessor.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.Generation/Processors/DocumentTagsProcessor.cs b/src/NSwag.Generation/Processors/DocumentTagsProcessor.cs index f3c4f44339..90bdc979c9 100644 --- a/src/NSwag.Generation/Processors/DocumentTagsProcessor.cs +++ b/src/NSwag.Generation/Processors/DocumentTagsProcessor.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.Generation/Processors/IDocumentProcessor.cs b/src/NSwag.Generation/Processors/IDocumentProcessor.cs index 1616249c1f..7e15d9e4d8 100644 --- a/src/NSwag.Generation/Processors/IDocumentProcessor.cs +++ b/src/NSwag.Generation/Processors/IDocumentProcessor.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.Generation/Processors/IOperationProcessor.cs b/src/NSwag.Generation/Processors/IOperationProcessor.cs index 22a14cad07..58188144e7 100644 --- a/src/NSwag.Generation/Processors/IOperationProcessor.cs +++ b/src/NSwag.Generation/Processors/IOperationProcessor.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.Generation/Processors/OperationExtensionDataProcessor.cs b/src/NSwag.Generation/Processors/OperationExtensionDataProcessor.cs index f183bcb92c..fc3fd7fbc2 100644 --- a/src/NSwag.Generation/Processors/OperationExtensionDataProcessor.cs +++ b/src/NSwag.Generation/Processors/OperationExtensionDataProcessor.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.Generation/Processors/OperationProcessor.cs b/src/NSwag.Generation/Processors/OperationProcessor.cs index 3a5e0d0573..c5d08b24e3 100644 --- a/src/NSwag.Generation/Processors/OperationProcessor.cs +++ b/src/NSwag.Generation/Processors/OperationProcessor.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.Generation/Processors/OperationResponseDescription.cs b/src/NSwag.Generation/Processors/OperationResponseDescription.cs index 55c41cd284..03acdc03ae 100644 --- a/src/NSwag.Generation/Processors/OperationResponseDescription.cs +++ b/src/NSwag.Generation/Processors/OperationResponseDescription.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.Generation/Processors/OperationResponseProcessorBase.cs b/src/NSwag.Generation/Processors/OperationResponseProcessorBase.cs index 47509641ee..d0031464ea 100644 --- a/src/NSwag.Generation/Processors/OperationResponseProcessorBase.cs +++ b/src/NSwag.Generation/Processors/OperationResponseProcessorBase.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 //----------------------------------------------------------------------- @@ -105,7 +105,7 @@ private IEnumerable GetOperationResponseDescriptio dynamic responseTypeAttribute = attribute; var attributeType = attribute.GetType(); - var isProducesAttributeWithNoType = // ignore ProducesAttribute if it has no type, https://github.com/RSuter/NSwag/issues/1201 + var isProducesAttributeWithNoType = // ignore ProducesAttribute if it has no type, https://github.com/RicoSuter/NSwag/issues/1201 attributeType.Name == "ProducesAttribute" && attribute.HasProperty("Type") && responseTypeAttribute.Type == null; if (!isProducesAttributeWithNoType) diff --git a/src/NSwag.Generation/Processors/OperationSummaryAndDescriptionProcessor.cs b/src/NSwag.Generation/Processors/OperationSummaryAndDescriptionProcessor.cs index c000bf90cd..45c7148766 100644 --- a/src/NSwag.Generation/Processors/OperationSummaryAndDescriptionProcessor.cs +++ b/src/NSwag.Generation/Processors/OperationSummaryAndDescriptionProcessor.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,7 +44,7 @@ public bool Process(OperationProcessorContext context) context.OperationDescription.Operation.Description = remarks; } - return true; + return true; } } } \ No newline at end of file diff --git a/src/NSwag.Generation/Processors/OperationTagsProcessor.cs b/src/NSwag.Generation/Processors/OperationTagsProcessor.cs index 4a31881fa0..7071bf7958 100644 --- a/src/NSwag.Generation/Processors/OperationTagsProcessor.cs +++ b/src/NSwag.Generation/Processors/OperationTagsProcessor.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.Generation/Processors/Security/OperationSecurityScopeProcessor.cs b/src/NSwag.Generation/Processors/Security/OperationSecurityScopeProcessor.cs index 81a9fd4c19..667d9efe80 100644 --- a/src/NSwag.Generation/Processors/Security/OperationSecurityScopeProcessor.cs +++ b/src/NSwag.Generation/Processors/Security/OperationSecurityScopeProcessor.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.Generation/Processors/Security/SecurityDefinitionAppender.cs b/src/NSwag.Generation/Processors/Security/SecurityDefinitionAppender.cs index 5cc5105895..7d9ce9a27f 100644 --- a/src/NSwag.Generation/Processors/Security/SecurityDefinitionAppender.cs +++ b/src/NSwag.Generation/Processors/Security/SecurityDefinitionAppender.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.Integration.TypeScriptWeb/package.json b/src/NSwag.Integration.TypeScriptWeb/package.json index e5c5dc8365..6a1a7b9094 100644 --- a/src/NSwag.Integration.TypeScriptWeb/package.json +++ b/src/NSwag.Integration.TypeScriptWeb/package.json @@ -3,7 +3,7 @@ "version": "", "repository": { "type": "git", - "url": "git+https://github.com/NSwag/NSwag.git" + "url": "git+https://github.com/RicoSuter/NSwag.git" }, "description": "Test generated TypeScript compilation", "license": "MIT", diff --git a/src/NSwag.Integration.WebAPI/Controllers/PersonsController.cs b/src/NSwag.Integration.WebAPI/Controllers/PersonsController.cs index 07ef0369bf..a4b31f92b9 100644 --- a/src/NSwag.Integration.WebAPI/Controllers/PersonsController.cs +++ b/src/NSwag.Integration.WebAPI/Controllers/PersonsController.cs @@ -100,7 +100,7 @@ public void Delete(Guid id) [HttpPost, Route("upload")] public async Task Upload([FromBody] Stream data) { - // TODO: Implement stream handler: https://github.com/RSuter/NJsonSchema/issues/445 + // TODO: Implement stream handler: https://github.com/RicoSuter/NJsonSchema/issues/445 return await this.Request.Content.ReadAsByteArrayAsync(); //using (var ms = new MemoryStream()) //{ diff --git a/src/NSwag.MSBuild/NSwag.MSBuild.nuspec b/src/NSwag.MSBuild/NSwag.MSBuild.nuspec index 9dcf55c2bb..bdde2ed224 100644 --- a/src/NSwag.MSBuild/NSwag.MSBuild.nuspec +++ b/src/NSwag.MSBuild/NSwag.MSBuild.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 @@ -20,7 +20,7 @@ - + diff --git a/src/NSwag.Npm/README.md b/src/NSwag.Npm/README.md index e6da5ae793..b41a4d0b5f 100644 --- a/src/NSwag.Npm/README.md +++ b/src/NSwag.Npm/README.md @@ -1,29 +1,29 @@ -NSwag is a Swagger 2.0 API (OpenAPI) toolchain for .NET, Web API, TypeScript (jQuery, AngularJS, Angular 2+, Aurelia, KnockoutJS, and more) and other platforms, written in C#. The Swagger specification uses JSON and JSON Schema to describe a RESTful web API. The NSwag project provides tools to generate Swagger specifications from existing ASP.NET Web API controllers and client code from these Swagger specifications. +NSwag is a Swagger 2.0 API (OpenAPI) toolchain for .NET, Web API, TypeScript (jQuery, AngularJS, Angular 2+, Aurelia, KnockoutJS, and more) and other platforms, written in C#. The Swagger specification uses JSON and JSON Schema to describe a RESTful web API. The NSwag project provides tools to generate Swagger specifications from existing ASP.NET Web API controllers and client code from these Swagger specifications. **This NPM module requires .NET 4.6.1+ or .NET Core 1.0/1.1/2.0/2.1/2.2 to be installed on your system!** - [More information about NSwag](http://nswag.org) -- [More information about the available commands](https://github.com/NSwag/NSwag/wiki/CommandLine) +- [More information about the available commands](https://github.com/RicoSuter/NSwag/wiki/CommandLine) ## Usage ### Global installation -Install the package globally: +Install the package globally: npm install nswag -g -Show available commands: +Show available commands: nswag help ### Project installation - -Install the package for the current project: + +Install the package for the current project: npm install nswag --save-dev - -Show available commands: + +Show available commands: "node_modules/.bin/nswag" help @@ -33,11 +33,11 @@ The full .NET Framework in x64 mode is preferred as execution environment. If yo nswag run version /runtime:WinX86 -Add the switch `/runtime:NetCore*` to the command to execute one of the .NET Core binaries (automatically detects whether .NET Core 1.0 or 1.1 is installed): +Add the switch `/runtime:NetCore*` to the command to execute one of the .NET Core binaries (automatically detects whether .NET Core 1.0 or 1.1 is installed): nswag run version /runtime:NetCore - -To specify what .NET Core binaries to execute, either use + +To specify what .NET Core binaries to execute, either use nswag run version /runtime:NetCore10 @@ -56,22 +56,22 @@ or or nswag run version /runtime:NetCore22 - + ## Development -Run the following command to compile and copy the current NSwag console binaries into the NPM module directory `binaries` directory: +Run the following command to compile and copy the current NSwag console binaries into the NPM module directory `binaries` directory: build/01_Npm_Build.bat -To run the NodeJS binary locally: +To run the NodeJS binary locally: cd "src/NSwag.Npm" node "bin/nswag" version -The JavaScript command line tool can be found here: +The JavaScript command line tool can be found here: src/NSwag.Npm/bin/nswag.json - -To publish the package (login required): + +To publish the package (login required): build/02_Npm_Publish.bat diff --git a/src/NSwag.Npm/package.json b/src/NSwag.Npm/package.json index 80a0314827..7d860530fa 100644 --- a/src/NSwag.Npm/package.json +++ b/src/NSwag.Npm/package.json @@ -4,7 +4,7 @@ "optionalDependencies": {}, "repository": { "type": "git", - "url": "git+https://github.com/NSwag/NSwag.git" + "url": "git+https://github.com/RicoSuter/NSwag.git" }, "scripts": {}, "author": { @@ -16,7 +16,7 @@ "nswag": "bin/nswag.js" }, "bugs": { - "url": "https://github.com/NSwag/NSwag/issues" + "url": "https://github.com/RicoSuter/NSwag/issues" }, "engines": { "npm": ">=3.10.8" diff --git a/src/NSwagStudio.Chocolatey/LICENSE.txt b/src/NSwagStudio.Chocolatey/LICENSE.txt index 503bdca66d..8f8b43ee92 100644 --- a/src/NSwagStudio.Chocolatey/LICENSE.txt +++ b/src/NSwagStudio.Chocolatey/LICENSE.txt @@ -1,4 +1,4 @@ -From: https://github.com/RSuter/NSwag/blob/master/LICENSE.md +From: https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md LICENSE diff --git a/src/NSwagStudio.Chocolatey/NSwagStudio.nuspec b/src/NSwagStudio.Chocolatey/NSwagStudio.nuspec index daefe59189..a2b012aa38 100644 --- a/src/NSwagStudio.Chocolatey/NSwagStudio.nuspec +++ b/src/NSwagStudio.Chocolatey/NSwagStudio.nuspec @@ -7,8 +7,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 admin diff --git a/src/NSwagStudio/ISwaggerGeneratorView.cs b/src/NSwagStudio/ISwaggerGeneratorView.cs index 91d8036c04..cb2998bc8f 100644 --- a/src/NSwagStudio/ISwaggerGeneratorView.cs +++ b/src/NSwagStudio/ISwaggerGeneratorView.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/NSwagStudio/ViewModels/CodeGenerators/SwaggerOutputViewModel.cs b/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerOutputViewModel.cs index 22308e4191..463409732f 100644 --- a/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerOutputViewModel.cs +++ b/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerOutputViewModel.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/NSwagStudio/ViewModels/CodeGenerators/SwaggerToCSharpClientGeneratorViewModel.cs b/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerToCSharpClientGeneratorViewModel.cs index 5c5f6b030e..aa1114d49d 100644 --- a/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerToCSharpClientGeneratorViewModel.cs +++ b/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerToCSharpClientGeneratorViewModel.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/NSwagStudio/ViewModels/CodeGenerators/SwaggerToCSharpControllerGeneratorViewModel.cs b/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerToCSharpControllerGeneratorViewModel.cs index 274df90b15..d6e1591332 100644 --- a/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerToCSharpControllerGeneratorViewModel.cs +++ b/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerToCSharpControllerGeneratorViewModel.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/NSwagStudio/ViewModels/CodeGenerators/SwaggerToTypeScriptClientGeneratorViewModel.cs b/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerToTypeScriptClientGeneratorViewModel.cs index 2701e239c5..8406be6e4a 100644 --- a/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerToTypeScriptClientGeneratorViewModel.cs +++ b/src/NSwagStudio/ViewModels/CodeGenerators/SwaggerToTypeScriptClientGeneratorViewModel.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/NSwagStudio/ViewModels/MainWindowModel.cs b/src/NSwagStudio/ViewModels/MainWindowModel.cs index 42a874a24e..73ffbce0f2 100644 --- a/src/NSwagStudio/ViewModels/MainWindowModel.cs +++ b/src/NSwagStudio/ViewModels/MainWindowModel.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/NSwagStudio/ViewModels/SwaggerGenerators/AspNetCoreToSwaggerGeneratorViewModel.cs b/src/NSwagStudio/ViewModels/SwaggerGenerators/AspNetCoreToSwaggerGeneratorViewModel.cs index b4e7d31c48..484edf7e46 100644 --- a/src/NSwagStudio/ViewModels/SwaggerGenerators/AspNetCoreToSwaggerGeneratorViewModel.cs +++ b/src/NSwagStudio/ViewModels/SwaggerGenerators/AspNetCoreToSwaggerGeneratorViewModel.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 //----------------------------------------------------------------------- @@ -96,7 +96,7 @@ public async Task GenerateSwaggerAsync() private async Task BrowseAssembly() { var dlg = new OpenFileDialog(); - dlg.DefaultExt = ".dll"; // + dlg.DefaultExt = ".dll"; // dlg.Filter = ".NET Assemblies (*.dll;*.exe)|*.dll;*.exe"; if (dlg.ShowDialog() == true) { diff --git a/src/NSwagStudio/ViewModels/SwaggerGenerators/AssemblyTypeToSwaggerGeneratorViewModel.cs b/src/NSwagStudio/ViewModels/SwaggerGenerators/AssemblyTypeToSwaggerGeneratorViewModel.cs index a276bf7f34..37a0f0754d 100644 --- a/src/NSwagStudio/ViewModels/SwaggerGenerators/AssemblyTypeToSwaggerGeneratorViewModel.cs +++ b/src/NSwagStudio/ViewModels/SwaggerGenerators/AssemblyTypeToSwaggerGeneratorViewModel.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/NSwagStudio/ViewModels/SwaggerGenerators/WebApiToSwaggerGeneratorViewModel.cs b/src/NSwagStudio/ViewModels/SwaggerGenerators/WebApiToSwaggerGeneratorViewModel.cs index bf10c5919f..51fa179568 100644 --- a/src/NSwagStudio/ViewModels/SwaggerGenerators/WebApiToSwaggerGeneratorViewModel.cs +++ b/src/NSwagStudio/ViewModels/SwaggerGenerators/WebApiToSwaggerGeneratorViewModel.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 //----------------------------------------------------------------------- @@ -129,7 +129,7 @@ public async Task GenerateSwaggerAsync() private async Task BrowseAssembly() { var dlg = new OpenFileDialog(); - dlg.DefaultExt = ".dll"; // + dlg.DefaultExt = ".dll"; // dlg.Filter = ".NET Assemblies (*.dll;*.exe)|*.dll;*.exe"; if (dlg.ShowDialog() == true) { diff --git a/src/NSwagStudio/ViewModels/ViewModelBase.cs b/src/NSwagStudio/ViewModels/ViewModelBase.cs index ed724e810a..b85a48b824 100644 --- a/src/NSwagStudio/ViewModels/ViewModelBase.cs +++ b/src/NSwagStudio/ViewModels/ViewModelBase.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/NSwagStudio/Views/MainWindow.xaml b/src/NSwagStudio/Views/MainWindow.xaml index b1c59f8f44..274ef03045 100644 --- a/src/NSwagStudio/Views/MainWindow.xaml +++ b/src/NSwagStudio/Views/MainWindow.xaml @@ -4,7 +4,7 @@ xmlns:viewModels="clr-namespace:NSwagStudio.ViewModels" xmlns:views="clr-namespace:NSwagStudio.Views" xmlns:controls="clr-namespace:NSwagStudio.Controls" - Title="NSwagStudio: The Swagger API toolchain for .NET and TypeScript" + Title="NSwagStudio: The Swagger API toolchain for .NET and TypeScript" MinHeight="650" MinWidth="1000" UseLayoutRounding="True" WindowStartupLocation="CenterScreen" Height="650" Width="1000"> @@ -23,10 +23,10 @@ - - @@ -36,7 +36,7 @@ @@ -47,9 +47,9 @@ -