OpenAPI.NET.CSharpAnnotations
OpenAPI.NET.CSharpAnnotations copied to clipboard
Generates OpenAPI Document from C# Annotations
I use OAuth 2.0 'password' and 'client_credentials' grant type to limit access to my API. For the sake of simplification, let's say we have two operations (i.e. API endpoints), where...
We need to support the polymorphic response at the nested list (2nd layer response - from the data model). Clients should handle the different type of objects inside the lists...
The yaml fails to generate paths for the method which shows up like paths: { }
The OpenApi spec allows for each Operation Object to have multiple Tags associated with it. Currently, OpenApiDocumentGenerator uses the first `` comment it finds on an operation to populate the...
This tool does a great job representing datetime and datetimeoffset in swagger, but timespan does not match newtonsoft's default output. Expected result: ```json "timeSpanProp": "00:00:00" ``` Actual result: ```json "timeSpanProp":...
The banner shows an endpoint documented with `GET`, but the endpoint has an `[HttpPost]` attribute.
It is cumbersome to add all the possible hosts to every operation. We should support reading the extra URLs from the document config.
Hi, maybe I just don't get it right, but how do I provide Examples for a Post action that accepts both application/json and multipart/form-data? As well, it seems that I...
This api processes without error: ``` /// /// Summary 1. /// /// GET /// http://localhost/api/api1 /// Description, foo. /// Auth header. /// "foo". public string Api1(string getArgs ) { return...