You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The response headers only include the supported versions
api-supported-versions: 2.0
Expectation was that by ReportingApiVersions being set to true that the headers would be the same whether I used the fluent api or attributes. Either the attributes are erroneously advertising deprecated versions, or the fluent api are erroneously not advertising the deprecated versions. My assumption is the attributes are doing the right thing, advertising both the supported and deprecated versions.
The text was updated successfully, but these errors were encountered:
It's a confirmed bug. The deprecated API versions (only) are not properly aggregated in the API version model. I have found and fixed the issue. Expect a new version of the package within a day.
Given the ASP.NET Core controller class
and Startup includes
The response headers include the supported and deprecated versions
api-deprecated-versions: 1.0
api-supported-versions: 2.0
But with the following controller class
And Startup includes
The response headers only include the supported versions
api-supported-versions: 2.0
Expectation was that by
ReportingApiVersions
being set totrue
that the headers would be the same whether I used the fluent api or attributes. Either the attributes are erroneously advertising deprecated versions, or the fluent api are erroneously not advertising the deprecated versions. My assumption is the attributes are doing the right thing, advertising both the supported and deprecated versions.The text was updated successfully, but these errors were encountered: