NSwag icon indicating copy to clipboard operation
NSwag copied to clipboard

The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

Results 480 NSwag issues
Sort by recently updated
recently updated
newest added

Hi I have something like this ``` //in a controller public void Save([FromBody] SaveTestDto save){ //some stuff here } ``` SaveTestDto ``` public class SaveTestDto { public List MyProperty2 {get;...

Removes the json serialising for plain text bodies. Fixes #3824 Fixes #3860 Possibly others... Apologies in advance as this is my first change here and I really don't know too...

严重性 代码 说明 项目 文件 行 禁止显示状态 错误 MSB3073 命令“"C:\Users\VS\.nuget\packages\nswag.msbuild\13.16.1\build\../tools/Win/NSwag.exe" openapi2csclient /className:warehouse /namespace:LeChuang.RopeStore /input:"C:\source\repos\RopeStoreSolution\src\BusinessClient\WinClient\OpenAPIs\Warehouse.json" /output:"obj\WarehouseClient.cs" ”已退出,代码为 -1。 WinClient C:\Users\VS\.nuget\packages\nswag.apidescription.client\13.16.1\build\NSwag.ApiDescription.Client.targets 32

This is in regards to this line: https://github.com/RicoSuter/NSwag/blob/7ab788f97d7942f7c499ce675835514efd11eecb/src/NSwag.AspNetCore/SwaggerUi3/index.html#L42 According to the documentation the `url` parameter should only be used if `urls` and `spec` are not set. But this makes it...

Having an issue generating the TypeScript client inside of a .NET Core app started with the "ASP.NET Core with React.js" project template in Visual Studio 2022. The application is set...

The current implementation of Client generator will throw exceptions when the response code is not 2XX, even when the wrapResponses option is set to true. It is perfectly valid and...

type: discussion

Hello! I have a, Asp.Net Core project with a hard dependency on Windows x86: ``` net6.0-windows x86 x86 win-x86 OnBuildSuccess ... ``` Running NSwagExe_x86 I get: ``` Executing file 'nswag.json'...

The TypeScript generator handles array arguments differently than the C# generator. I am aware of the limitations in the Swagger 2.0 spec so I'm not necessarily looking at complex model...

type: enhancement

[Documentation in the wiki](https://github.com/RSuter/NSwag/wiki/OpenAPI-3-support) Specification: - https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md - https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md Changes: - https://blog.readme.io/an-example-filled-guide-to-swagger-3-2/ Tasks: - Step 1: Support v2 and v3 models in NSwag.Core - [x] Implement all new contracts in...

type: enhancement

Hi, I have an API server which serves two different Angular 6 application. Users with higher privileges ( admins ) use one only of them ( let's call it app...

type: question
state: done