-
Currently it defaults to text/plain with what is generated.
Seems like to return a text/html in .net core we will need to either use content result or a different output formatter
-
When the API returns C# tuple like: `return this.Ok(("key", "value"));`
ASP is returning the object as JSON:
```
{
"Item1": "key",
"Item2: "Value"
}
```
But NSwag generate this objec…
-
I am using version 13.7.0 of `NSwag.AspNetCore`. With this, I have a DTO that is documented like this:
```csharp
// In controller
[OpenApiOperation("GetMetadata")]
[ProducesResponseType(typeof(U…
-
While generating a C# client for pipedrive I've encountered the following problem:
The C# client generator created multiple clients and interfaces which caused buid errors.
The Yaml : https://deve…
-
Hi,
I want to implement file upload in a Web API endpoint that accepts IEnumerable in my ASP.NET core application.
Since this is an built-in type, how can I prevent from generating a proxy for the I…
-
In our project, we keep the swagger.json file under version control (so we can build backend and frontend independently).
## Observed behaviour:
On different machines, and when implementing change…
-
I have that C# code
```
[AttributeUsage(AttributeTargets.Method)]
public class ClientNamingAttribute : Attribute
{
public ClientNamingAttribute(string value)
{
ArgumentNullExcep…
-
Not working:
public class FileUploadModel
{
public IFormFile File { get; set; }
}
[ApiExplorerSettings(IgnoreApi = false, GroupName = nameof(HelloController))]
[A…
-
I want to exclude Models from the schema. I tried to do that with SchemaProcessor:
internal class SwaggerSchemaProcessor : ISchemaProcessor
{
public void Process( SchemaProcessorCon…
-
I'm using NJSonSchema indirectly by using NSwag.
If there is no debugger (=VS2017 15.6) attached then generating swagger.json takes 2-3 seconds (still way too slow, Swashbuckle takes a fraction of …