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
When openapi contains a enum type for any of the attributes and this enum contains ', enum union type is not escaped properly.
e.g.
exporttypeCountriesHumanNameEnum='Andorra'|'United Arab Emirates'|'Afghanistan'|'Antigua and Barbuda'|'Anguilla'|'Albania'|'Armenia'|'Cote d'Ivoire' |// <- Here'Mayotte'|'South Africa'|'Zambia'|'Zimbabwe';
Description
When openapi contains a enum type for any of the attributes and this enum contains
'
, enum union type is not escaped properly.e.g.
openapi-generator version
3.1.1-SNAPSHOT
Command line used for generation
Steps to reproduce
yarn
yarn run build
Suggest a fix/enhancement
Escape string union types generated by
openapi-generator
The text was updated successfully, but these errors were encountered: