Calling ApiVersionConfigurer.addSupportedVersions
only seems useful if detectSupportedVersions
is also called and set to false. I wonder if instead of needing both methods combined so that if addSupportedVersions
is never called then detection is used, but if it is called then detection is disabled.
Comment From: rstoyanchev
It is possible to add supported versions and rely to detection of supported versions. For example an application can start without a version. Eventually when an endpoint for version 1.1 is added, there is an implicit 1.0 version that is not present in any mappings. So they do need to be controlled independently.