fastapi-code-generator icon indicating copy to clipboard operation
fastapi-code-generator copied to clipboard

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

Open Minyus opened this issue 4 years ago • 3 comments

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:

  • this tool supports Docker project generation option; or
  • openapi-generator-cli's python-fastapi supports an option to use this tool (perhaps something like useFastAPICodeGenerator).

Minyus avatar Aug 24 '21 13:08 Minyus

Thank you for creating this issue.

this tool supports Docker project generation option; or

I think the option is good.

I will implement it.

koxudaxi avatar Aug 26 '21 12:08 koxudaxi

I look forward to the new feature. Thank you!

Minyus avatar Aug 27 '21 23:08 Minyus

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

Minyus avatar Aug 28 '21 04:08 Minyus