When I get the file by clicking on Download (https://guichet-unique.inpi.fr/api/docs/mandataire or get it from https://app.swaggerhub.com/apis/fravetier/INPI-GuichetUnique/3.0.3#/) and run the tool like this fastapi-codegen --input inpi-swagger.json --output app
I get two errors :
ValidationError: 2 validation errors for JsonSchemaObject
properties -> typePersonne -> enum
value is not a valid list (type=type_error.list)
properties -> typePersonne
value could not be parsed to a boolean (type=type_error.bool)
The output does not give enough information about the problem so I can't say if the problem is coming from the input file or from fastapi-code-generator
.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too