Comments (1)
@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!!
from fastapi-code-generator.
Related Issues (20)
- Problem with request body and query parameters
- Specs with vendor extensions might lead to invalid Python code
- [] in query parameter name generates code that cannot be formatted
- Validation error when generating code for guichet-unique.inpi.fr/api HOT 1
- add option to maintain original spec order
- Can't upload a file with Content-Type: application/octet-stream HOT 2
- Allow generation of subdirs when using '--template-dir'
- command not found: fastapi-codegen for Mac HOT 1
- Encode enums as typing.Literal instead of Enum class
- pass through cmd-line arguments to configure datamodel_code_generator
- Source code is not generated if api spec doesn't have "schemas" HOT 1
- test_generate.py overwrites commited files
- Invalid generated code if query param has default value and requestBody is required HOT 1
- Support for pydantic2 HOT 5
- Support for the route body type like Union[TypeA, TypeB]
- How to deal with regeneration? HOT 6
- Add Dockerfile
- Cannot use template variable {{tag}} in routers.jinja2 imports with modular templates
- Impossible to install package with python3.10 HOT 1
- TypeError: Mode.__init__() got an unexpected keyword argument 'experimental_string_processing' HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastapi-code-generator.