OData3.1WithSwagger icon indicating copy to clipboard operation
OData3.1WithSwagger copied to clipboard

Results 3 OData3.1WithSwagger issues
Sort by recently updated
recently updated
newest added

This is the current code https://github.com/hassanhabib/OData3.1WithSwagger/blob/a9af138a5001f921f3c3fd4427767f33fd985fe9/WeatherAPI2/Startup.cs#L77-L87 But for me only worked in this way ```csharp services.AddMvcCore(op => { foreach (var formatter in op.OutputFormatters.OfType().Where(it => it.SupportedMediaTypes.Count == 0)) formatter.SupportedMediaTypes.Add(new MediaTypeHeaderValue("application/odata")); foreach...

When adding post endpoint , the swagger return error for swagger json file.

Shouldn't there be a way to include OData fields in the OpenAPI schema? More info: The generated OpenAPI document contains a single schema for WeatherForecast. ``` jsonc // schemas {...