Skip to content

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

@sven42

Description

@sven42
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions