glideapps / glideapps/quicktype
Is it possible to deactivate funny naming?
- Dominant language
- TypeScript
- Stars
- 13.9k
- Forks
- 1.2k
- Avg merge
- 8h 53m
- Merged PRs (30d)
- 369
Description
Hi,
I am using the Quicktype-core in a nodejs application and I try to convert many classes from a JSON schema to typescript interfaces. Everything works ok so far, but I like to deactivate the funny naming option. I have created my JSON schemas from Java classes using `Jackson` and there I use for example the Annotations class in different files.
When I convert it to JSON it shows up multiple times. So I like to merge the all `Annotations` interfaces as one because they are the one. How can I do it?
```ts
export interface PurpleAnnotations {
loadFactor?: number;
threshold?: number;
}
export interface AmbitiousAnnotations {
loadFactor?: number;
threshold?: number;
}
```
I already extend `TypeScriptTargetLanguage` class from quicktype-core to override it and tried to extend and override the `Namer` class.
Help is appreciated
Contributor guide
Assessment
This issue has not been assessed yet.