-
Notifications
You must be signed in to change notification settings - Fork 717
Closed
Description
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.
- 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.
- 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