ODataQueryOptions and ODataQueryOptions<T> parameter for HttpGet stops generation of OpenAPI.json file #1937
AndrewZenith
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions