acacode / acacode/swagger-typescript-api
Typescript enum generation fails with special characters
Open
bug
- Dominant language
- TypeScript
- Stars
- 4.1k
- Forks
- 436
- PR merge metrics
- No merged PRs in 30d
Description
The following schema:
```json
{
"enum": ["&&", "||"],
"type": "string"
}
```
is compiled to
```ts
export enum RuleChainingOperator {
Type = '&&',
Type = '||',
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.