Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routes with multiple regexes #23

Open
williamho opened this issue Nov 19, 2015 · 1 comment
Open

Routes with multiple regexes #23

williamho opened this issue Nov 19, 2015 · 1 comment
Milestone

Comments

@williamho
Copy link
Contributor

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.

@kailuowang kailuowang added this to the 1.0-RC1 milestone Aug 4, 2016
@Javakky-pxv
Copy link
Collaborator

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

Javakky-pxv added a commit to scala-steward/play-swagger that referenced this issue Oct 2, 2023
…fix-0.11.1

Update sbt-scalafix to 0.11.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants