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

Define list items on query parameters #278

Merged

Conversation

platy
Copy link
Collaborator

@platy platy commented Dec 17, 2020

Fixes #239.

For paramters with sequences this change also adds the .items parameter of the ParameterObject and is generated recursively.

In #242 I also tried to correctly document serde_qs::QsQuery, but I now don't think it is possible to correctly document serde_qs sequences in openapi v2 and am closing that PR.

Copy link
Collaborator

@wafflespeanut wafflespeanut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this!

@wafflespeanut wafflespeanut merged commit 08a1a99 into paperclip-rs:master Dec 22, 2020
@platy platy deleted the simple-parameter-items branch December 22, 2020 07:48
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.

array types in Query don't emit items
2 participants