Skip to content

Http4s swagger contextPath issue #1317

@stsatlantis

Description

@stsatlantis

Tapir version: all

Scala version: all

Describe the bug
When using sttp.tapir.swagger.http4s.SwaggerHttp4s contextPath with / causes probem

What is the problem?

When passing let's say "I/love/chocolate" as a path it expects an URL encoded string ("%2F") to serve the request

How to reproduce?

same as above

Maybe you can provide code to reproduce the problem?

Additional information
PR with fix is coming

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