[BUG] - OpenAPI JSON File contains wrong typing #402
Labels
documentation
Improvements or additions to documentation
engine:ALL
Related to all engines or basic mechanisms
enhancement
New feature or request
Describe the bug
The OpenAPI JSON File shows
String
as typeObject
. This leads to erroneous code generation when using Pydantic.Version
To Reproduce Steps to reproduce the behavior:
#/components/schemas/SessionStartRequest/properties/name/type
(Example location, Multiple mistakes in OpenAPI JSON) isObject
string
.datamodel-codegen --input openapi.json --input-file-type openapi --output waha-model.py
.Expected behavior
I would expect the type to be
String
The text was updated successfully, but these errors were encountered: