Join Slack
Powered by
Is that the correct way to catch all /doi/<vari...
# spring
b
bjonnh
02/25/2019, 9:38 PM
Is that the correct way to catch all /doi/<variable> where variable can be 10.10/foo
x
xenoterracide
02/25/2019, 9:47 PM
you can do regex path matching, don’t know about swagger
xenoterracide
02/25/2019, 9:48 PM
https://www.logicbig.com/how-to/code-snippets/jcode-spring-mvc-requestmapping-regex.html
xenoterracide
02/25/2019, 9:49 PM
and/or have your path variable passed in as a double not a string
b
bjonnh
02/25/2019, 9:56 PM
well it is a string
bjonnh
02/25/2019, 9:56 PM
10.10ieua/4edsteda
bjonnh
02/25/2019, 9:56 PM
^
5
Views
Open in Slack
Previous
Next