Skip to content

Guidance Needed: How to resolve issues #890

@mhsimkin

Description

@mhsimkin

Hi. I'm looking for some guidance on how to go about determine why the following are happening and how to resolve.

Environment: .NET 6, Windows Service, hosting Kestrel.

  1. IApiVersionDescriptionProvider.ApiVersionDescriptions only lists one version and that is version 1.0. However, I've only indicated that my API is version 2 using the ApiVersionAttribute on my controller class.

The controller class is in a class library.

  1. api-supported-versions and api-deprecated-versions headers are not returned.

I reviewed what was done in the OpenApiExample project and adapted that to my code base.

Thank you for your help.

-marc

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions