We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Initial issue: We'd like to allow path params like .path[List[T]]("paramName") (https://swagger.io/docs/specification/serialization/) Related discussion on community forum: https://softwaremill.community/t/path-parameter-style-support/411 I don't think there's proper support for this in Tapir nor an issue already registered for this feature.
.path[List[T]]("paramName")
Update: Turns out it's feasible with Delimited, so this issue becomes a task to add documentation.
Delimited
The text was updated successfully, but these errors were encountered:
Turns out this can be nicely handled with Delimited, as Thijs nicely noticed in the forum thread:
given Codec[String, Name, TextPlain] = Codec.parsedString(Name.unsafeApply) .validate(Name.given_Schema_Name.validator) given Codec[String, Delimited[",", Name], TextPlain] = Codec.delimited
Let's update the documentation or examples then.
Sorry, something went wrong.
No branches or pull requests
Initial issue:
We'd like to allow path params like
.path[List[T]]("paramName")
(https://swagger.io/docs/specification/serialization/)Related discussion on community forum: https://softwaremill.community/t/path-parameter-style-support/411
I don't think there's proper support for this in Tapir nor an issue already registered for this feature.
Update: Turns out it's feasible with
Delimited
, so this issue becomes a task to add documentation.The text was updated successfully, but these errors were encountered: