aspnet-api-versioning icon indicating copy to clipboard operation
aspnet-api-versioning copied to clipboard

Fix Reported API Version Groups

Open commonsensesoftware opened this issue 1 year ago • 0 comments
trafficstars

Fix Reported API Version Groups

  • [x] You've read the Contributor Guide and Code of Conduct.
  • [x] You've included unit or integration tests for your change, where applicable.
  • [x] You've included inline docs for your change, where applicable.
  • [x] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Description

Fixes incorrect API version groups when a only a group name is defined.

  • Add IEndpointInspector to determine if an Endpoint is for a controller action
  • Fix/unify group reporting for DefaultApiVersionDescriptionProvider and GroupedApiVersionDescriptionProvider
  • Fixes #1066

commonsensesoftware avatar Jan 13 '24 01:01 commonsensesoftware