ODataQueryOptions and ODataQueryOptions<T> parameter for HttpGet stops generation of OpenAPI.json file #1937
Closed
Andrew Thornton (AndrewZenith)
started this conversation in
General
Replies: 1 comment
|
This issue sounds like it originates in the ASP.NET core implementation of OpenAPI (Microsoft.AspNetCore.OpenApi). Please reach out on the aspnet repository instead. Alternatively, if you're using Swashbuckle in your application, you may reach out on the swashbuckle repository. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
using Microsoft.AspNetCore.OData.Query;
[HttpGet("languages")]
public IQueryable Get(ODataQueryOptions options)
or
[HttpGet("languages")]
public IQueryable Get(ODataQueryOptions options)
Both of these cause the OpenApi file generation to fail.
Is there any way of getting explicit Odata parameter options in the OpenApi file to be consumed by a UI?
All reactions