We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to the documentation comment:
The default value is the QueryStringApiVersionReader, which only reads the API version from the "api-version" query string parameter.
Instead, the default is Combine( new QueryStringApiVersionReader(), new UrlSegmentApiVersionReader() ).
Combine( new QueryStringApiVersionReader(), new UrlSegmentApiVersionReader() )
https://github.com/dotnet/aspnet-api-versioning/blob/v8.1.0/src/Common/src/Common/ApiVersioningOptions.cs#L65-L69 https://github.com/dotnet/aspnet-api-versioning/blob/v8.1.0/src/Common/src/Common/ApiVersionReader.cs#L25
The documentation should be updated to reflect that the default is a combination of both.
No response
The text was updated successfully, but these errors were encountered:
commonsensesoftware
No branches or pull requests
Is there an existing issue for this?
Describe the bug
According to the documentation comment:
Instead, the default is
Combine( new QueryStringApiVersionReader(), new UrlSegmentApiVersionReader() )
.https://github.com/dotnet/aspnet-api-versioning/blob/v8.1.0/src/Common/src/Common/ApiVersioningOptions.cs#L65-L69
https://github.com/dotnet/aspnet-api-versioning/blob/v8.1.0/src/Common/src/Common/ApiVersionReader.cs#L25
Expected Behavior
The documentation should be updated to reflect that the default is a combination of both.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: