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

This code generator creates FastAPI app from an openapi file.

Results 104 fastapi-code-generator issues
Sort by recently updated
recently updated
newest added

I just tried to use query array parameter in my schema, and I bumped into the fact FastAPI needs explicit declaration that parameter comes from Query: https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#query-parameter-list-multiple-values Current implementation of...

Example path: ```yaml "/api/v1/smtg/{smtg_id}" delete: operationId: delete_smtg parameters: - required: true schema: title: Id type: integer name: smtg_id in: path responses: "204": description: Successful Response ``` The code generated: ```python...

enhancement

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...

First of - very useful library/tool - thanks for making it! I have a set of OpenAPI files ([from these 3GPP specification](https://forge.3gpp.org/rep/sa5/MnS/tree/Rel-16/OpenAPI)) which I want to use. In these files,...

In OpenAPI there are description fields for the model schemes and all endpoints. It would be great to have these included as docstrings in the generated code. Cff. - https://github.com/OAI/OpenAPI-Specification/blob/master/examples/v3.0/petstore.yaml#L12...

enhancement
released

Hey, @koxudaxi First, Thank for this great library. Now, I'm trying to create microservice with fastapi and here is the my scenario. I've build one api server with fastapi. Now...

enhancement

I want to add filters of jinja2. - snake-case - camel-case and other

enhancement

this code generator has `imports` for rendering import statements. But, The variable has all import statements. I want to create `imports` each scope. (example: request, response, query parameter)

enhancement