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

Add example and warning for comma-separated query input values #3344

Merged

Conversation

andreazube
Copy link
Contributor

@andreazube andreazube commented Nov 27, 2023

As mentioned on #3343, Tapir only supports comma-separated values (out of the box, that is) on Scala 2.13+.

This small PR makes that explicit in the main documentation, as it would've personally saved me a few minutes.

For good measure, I also added a complete runnable example.

To be fair, the existing doc page already includes clear code, but I thought a complete example could still be useful. Wdyt?

p.s. It's my first contribution to Tapir. It's a very small one and only touches documentation, but still, I'd be extra careful in case I missed something :)

@andreazube andreazube force-pushed the docs/example-csv-query-parameter branch from 335ee77 to e7fe960 Compare November 27, 2023 16:54
@adamw
Copy link
Member

adamw commented Nov 27, 2023

Great example - thank you! :)

@adamw adamw merged commit 06d662b into softwaremill:master Nov 27, 2023
12 checks passed
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 this pull request may close these issues.

2 participants