Followed Developing a Rest Service Plugin and adjusted @pathannotation to create restapi of url: base_url/rest/myrestresource/1.0/
I would like to remove the version no and have a REST API of url base_url/rest/myrestresource/
Any input would be helpful.
Fixed, found this in documentation
Rest Plugin module
Version:This is the version of the REST API. This is not the same thing as the plugin version. Different versions of the same API can be provided by different plugins. Version numbers follow the same pattern as OSGi versions, i.e. major.minor.micro.qualifier where major, minor and micro are integers. If version is none, then the REST API will not contain a version number in its URL.
major.minor.micro.qualifier
major
minor
micro
none
Thanks for following up to help the next person who runs into the issue.
It looks like you're new here. Sign in or register to get started.