Followed Developing a Rest Service Plugin and adjusted @path annotation 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
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.
Thanks for following up to help the next person who runs into the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.