OpenAPI.NET.CSharpAnnotations
OpenAPI.NET.CSharpAnnotations copied to clipboard
Generates OpenAPI Document from C# Annotations
- added interface to extend logic responsible for getting key (schema id) for a type - added interface to find discriminator information - was not sure what was the purpose...
I have a header parameter like the following- \The secret key to call the function.\ But the swagger api parses it like "x-functions-key-functions-key"
In the spec, you can set `deprecated` on an API operation to signal that it should no longer be used. From what I can tell, there's no way to set...
I can't find any way to set a format such as "date" on a property, as [defined in the OAS 3.0](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#data-types) spec. It's automatically set to "date-time" on DateTime objects,...
My team is using the OpenAPI ADO build tasks to generate the OpenAPI JSON spec from our REST API. Really appreciate the nice integration with our ADO build pipelines! We've...
I have a service where the APIs are versioned by a header and are otherwise the same url and verb across several controllers. I'm using a variant in advanced config...
When types that are loaded for schema generation exist in a netstandard2.1 library, the pipeline task crashes with TypeLoadExceptions. The tooling still works after reverting target framework to netstandard2.0. Issue...
A `int32` can not fit all possible values of a `uint32`. This leads to errors with generated clients. See [TypeExtensions.cs](https://github.com/microsoft/OpenAPI.NET.CSharpAnnotations/blob/5adf95d7b374f3547bc071c03158f54c62380d0f/src/Microsoft.OpenApi.CSharpAnnotations.DocumentGeneration/Extensions/TypeExtensions.cs#L25) Basically the same issue as #210, but with `uint` instead...
I have a url parameter like the following- \https://someserver.com/api/Products/{product?}?view={view} \ But the swagger UI shows only- https://someserver.com/api/Products/{product
The contract XXXX I am using for my API has two similar properties - "IntProperty" and "StringProperty". IntProperty has IgnoreDataMemberAttribute does not have DataMember attribute. StringProperty has an attribute DataMember(Name...