Swagger generator is missing $filter from EntitySet "get" definitions
Closed this issue · 3 comments
sakana280 commented
For swagger generation, the ODataSwaggerConverter currently includes many query parameters ($expand, $select, $count, etc) for EntitySet "get" path definitions, but is missing the $filter parameter. Can this please be added? I think something like this to the ODataSwaggerUtilities.cs CreateSwaggerPathForEntitySet() method
.Parameter("$filter", "query", "Filter by some expression", "string")
habbes commented
Thanks @sakana280. Would you be interested to contribute a PR fixing this issue? We'd be happy to review it.
habbes commented
@sakana280 I'd also like to add that these APIs are provided in newer versions of the library. We recommend using the following Microsoft.OpenApi.OData
utility library for OData+OpenAPI concerns: