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

openapi3filter: support deepObject with nested objects and array parameters #911

Merged
merged 22 commits into from
Feb 20, 2024

Conversation

danicc097
Copy link
Contributor

@danicc097 danicc097 commented Feb 18, 2024

Will try to add missing nested object array items support soon, if you see no issues with the approach taken

Fixes #294

@danicc097 danicc097 force-pushed the deepobject-array-query-parameters branch from d5bafb2 to f7bc1ca Compare February 18, 2024 23:36
Copy link
Collaborator

@fenollp fenollp left a comment

Choose a reason for hiding this comment

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

Just that one comment, otherwise LGTM

openapi3filter/req_resp_decoder.go Outdated Show resolved Hide resolved
@fenollp fenollp changed the title deepObject with nested objects and array parameters openapi3filter: support deepObject with nested objects and array parameters Feb 19, 2024
@danicc097 danicc097 force-pushed the deepobject-array-query-parameters branch from eb03a92 to 65ad219 Compare February 19, 2024 16:40
@fenollp
Copy link
Collaborator

fenollp commented Feb 19, 2024

LGTM. If you still intend to add more tests, we can wait till you add them to this PR that's fine by me.

@danicc097 danicc097 force-pushed the deepobject-array-query-parameters branch from 8fc092c to a978d34 Compare February 19, 2024 18:25
@danicc097
Copy link
Contributor Author

I think this should do it for now. Let me know if you feel something is missing

@fenollp fenollp merged commit 05ccac2 into getkin:master Feb 20, 2024
7 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.

deepObject parameters that are not flat cause panic
2 participants