Handle all request parameter types
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.
@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 https://github.com/koxudaxi/fastapi-code-generator/issues/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!!