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

Handle all request parameter types #131

Open
rambobinator opened this issue Apr 2, 2021 · 1 comment
Open

Handle all request parameter types #131

rambobinator opened this issue Apr 2, 2021 · 1 comment

Comments

@rambobinator
Copy link

Hi,

Thanks for this tool !
I'm trying to infer request parameter type, based on what's inside "in" field in operation's parameters.
It appears that only Query parameter type is handled for the moment, is it a known issue ? Willing to help and PR if needed.

@koxudaxi
Copy link
Owner

koxudaxi commented Apr 5, 2021

@rambobinator
Thank you for creating this issue.
And I'm sorry for my late reply.

It appears that only Query parameter type is handled for the moment, is it a known issue ?

Yes, the problem is related to the issue #104

First, This code-generator depends datamodel-code-generator .
Second, I'm working on improving datamodel-code-generator to resolve complex schemas.
Third, I have a plan to add a feature to datamodel-code-generator that parsing any request types.

Willing to help and PR if needed.

If you have some OpenAPI files for the test case then, it helps implementation.
Thank you!!

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

No branches or pull requests

2 participants