koxudaxi / fastapi-code-generator

This code generator creates FastAPI app from an openapi file.
MIT License
1.06k stars 107 forks source link

[Feature Request] Docker project generation similar to openapi-generator #190

Open Minyus opened 3 years ago

Minyus commented 3 years ago

Hi @koxudaxi ,

As mentioned at https://github.com/koxudaxi/fastapi-code-generator/issues/24#issuecomment-864356253 , this tool does not generate a Docker project similar to openapi-generator-cli.

It would be great if:

koxudaxi commented 3 years ago

Thank you for creating this issue.

this tool supports Docker project generation option; or

I think the option is good.

I will implement it.

Minyus commented 3 years ago

I look forward to the new feature. Thank you!

Minyus commented 3 years ago

FYI: Just in case if you want to try openapi-generator-cli's python-fastapi as reference, its generated pytest code included in the Docker image fails due to a bug reported at https://github.com/OpenAPITools/openapi-generator/issues/10280