Skip to content

[ApiExplorerSettings(IgnoreApi = true)] isn't respected with ASP.NET Core applications using OData API Explorer #405

Closed
@jimmy3912msncom

Description

@jimmy3912msncom

As the title mentions, [ApiExplorerSettings(IgnoreApi = true)] doesn't work for me.

I'm using the ASP.NET Core with OData API Explorer sample from https://github.com/Microsoft/aspnet-api-versioning/tree/master/samples/aspnetcore/SwaggerODataSample and adding the below line above the V1 OrdersController

...
[ApiExplorerSettings(IgnoreApi = true)]
public class OrdersController : ODataController
...

I assume this isn't by design and is something that just isn't supported yet?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions