Skip to content

odata query options (filter/skip/top/orderby) not included in api explorer #1133

Open
@engenb

Description

@engenb

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I've tried to configure query options globally, via controller action attribute, the new ODataApiExplorerOptions approach and everything else I can think of. regardless, the only two odata query options that I've ever seen included in the api explorer are select and expand - I'm validating this via swagger.

Expected Behavior

configured query options should be included in openapi / swagger doc

Steps To Reproduce

here is a sample repo that demonstrates the issue

Exceptions (if any)

No response

.NET Version

8.0

Anything else?

I've also noticed the only api doc in swagger is v1 - v2 is excluded for some reason. I have not seen this issue before so not sure if it's related or not.

I'm working on migrating from Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions