NSwag
NSwag copied to clipboard
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
I am generating client code using NSwag and want to split the client code and models into two separate projects to maintain proper project references in a clean architecture setup....
I have implemented my own API framework. All my controllers are normal c# classes, not inherit from MVC controllerbase. And all its public method serve as my webapi. Is there...
Hello, I have a problem with our nswag not work correctly behind an Ingress Controller. We believe this is caused when the swagger middleware tries to generate the correct URLs,...
(Related to #4360 ) `v14.1.0.0` Test below fails: ```cs [Test] public void RefInParametersCanBeParsed() { var yamlText = @" openapi: 3.0.0 info: title: Title version: 1.0.0 paths: /items: get: operationId: items...
The OpenAPI specification of latest confluence API (obtained from https://developer.atlassian.com/cloud/confluence/rest/v2 and clicking on "OpenAPI" to download the OpenAPI document) contains deprecated properties. For example, on the `InlineCommentProperties` type: - `"inline-marker-ref"`...
`$ref`-referenced parameters in OpenAPI documents not correctly resolved in `NSwag.OpenApiDocument`
When using `$ref` to reference a parameter in an OpenAPI document and generating a `NSwag.OpenApiDocument`using the `NSwag.OpenApiDocument.FromJsonAsync` method, the parameters are not correctly shown in the operation and are null...
I have set generateDefaultValues to false. Still it is adding default
It seems, that the NSwagStudio generates slightly different C# class regarding parameter order, comparing with nswag.msbuild. I use both of them with version 13.4.1.0. I use __x-position__ to establish the...
I am using data classes like this for my REST interface: ``` public class DataWrapper { public T Data { get; set; } public DateTime Timestamp { get; set; }...
as per OpenApi specification every query parameter can be "exploded", which means if you specify an array for a query parameter e.g. "ids" you will make a request like https://yourUrl/?ids=1&ids=2&ids=3......