Now, my url is:
And I declared the Api as :
@Api(
name = "myApp",
version="v1"
)
public class myAPI {
...
}
There is some way to flip the api name and the version in the path or hide version. something like this:
Technically, if you make all of your @ApiMethod
annotations have paths that start with /v1/myApp
or /myApp
(note the leading slash), it will work. I wouldn't recommend it, though.