The REST module contains sub-modules with Web configuration for each specific context and version. For example, the public/v1
API is configured under the REST.JAXRSPublic.Version1
module. You can use a request to replace the version in the URI by using the keyword latest
, for example, /public/latest
, which then uses the most recent version of that context API. Note that this requires that a separate Web configuration is available. For example, /public/latest
is supported using the configuration in the REST.JAXRSPublicLatest
module.