Skip to content

fix/correctly-infer-optional-query-parameters#74

Open
kalaztaja wants to merge 1 commit into
ajaishankar:mainfrom
kalaztaja:main
Open

fix/correctly-infer-optional-query-parameters#74
kalaztaja wants to merge 1 commit into
ajaishankar:mainfrom
kalaztaja:main

Conversation

@kalaztaja

Copy link
Copy Markdown

Related issue:#72

Minimal reproduction of the bug this fixes: https://github.com/kalaztaja/openapi-fix

Explanation of the fix:

Now when we have a optional query parameter (as one can with openapi), we now allow it to be checked. Then we check whether it has actual keys. If not, same as previously. If yes, it can have the query arguement in the create function.

Beforehand it didn't understand optional query parameters, leading it to always take in zero arguements.

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.

1 participant