play-swagger icon indicating copy to clipboard operation
play-swagger copied to clipboard

Routes with multiple regexes

Open williamho opened this issue 9 years ago • 1 comments

Given a route with regex syntax like:

GET   /dice/$count<\d+>d$sides<\d+>   controllers.Example.getDice(sides: Int, count: Int)

when I make a request through the swagger UI, it makes the GET request to a URL like: /dice/{count}d6?count=3 (with the literal {count} string)

expected: /dice/3d6

Interestingly, the 6 (for $sides) was passed correctly.

williamho avatar Nov 19 '15 17:11 williamho

@williamho We are currently reviewing it. It may take some time, but we plan to address it.

Javakky-pxv avatar Jul 21 '23 03:07 Javakky-pxv