You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, everyone, i'm using openapi-generator-cli for generate TS services and models
I m using Symfony 4 with Doctrine and API Platform to build the backend of my application. I generated entities using php bin/console make:entity. Each class has an id field like this one
hi, everyone, i'm using openapi-generator-cli for generate TS services and models
I m using Symfony 4 with Doctrine and API Platform to build the backend of my application. I generated entities using php bin/console make:entity. Each class has an id field like this one
i use a json file which contain @id and id for arttribute in object
i use this commande to generate code :
openapi-generator-cli generate -i ./json.json -g typescript-angular -o src/app/generated-api/
here i obtain :
I found why
because of the sanitazer in AbstractTypeScriptClientCodegen.java
Solution ?
i we can add a parameter to bypass this sanitize or to override it that would be great !
example :
--additional-properties=notSanitize =true
output
i found a topic related !#13999
best regard,
Pierre
The text was updated successfully, but these errors were encountered: