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

[BUG] Endpoints get unavailable with PlayServerInterpreter when play.http.context is defined #1400

Closed
sven42 opened this issue Jul 29, 2021 · 0 comments · Fixed by #1401
Closed

Comments

@sven42
Copy link

sven42 commented Jul 29, 2021

  • Tapir version: 0.18.1
  • Scala version: 2.13.6

After updating from 0.17.* to 0.18.1 no tapir endpoint is found any longer.

We configured "play.http.context" to be not empty and this path prefix seems to cause the problem.

You can test this with https://github.com/gaeljw/tapir-play-sample when adding the setting in https://github.com/gaeljw/tapir-play-sample/blob/master/conf/application.conf
play.http.context=/something

With the defined context path no endpoint matches.

sven42 pushed a commit to sven42/tapir that referenced this issue Aug 10, 2021
adamw added a commit that referenced this issue Aug 10, 2021
…-routes_are_put_in_context

#1400: fix play server interpreter when routes are put in context for 0.18
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

Successfully merging a pull request may close this issue.

1 participant