acacode / acacode/swagger-typescript-api

Feature request: 'interfacePrefix'

Aperta
#466 5 commenti 8 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
4.1k
Fork
436
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi! First of all thanks for this project!

Currently, there are several props for prefix\suffix settings:

```
typePrefix: '',
typeSuffix: '',
enumKeyPrefix: '',
enumKeySuffix: '',
```

But the one is missing is `interfacePrefix` (and `interfaceSuffix`).

Ideally, I want to have a `"T"` prefix for my types, and `"I"` for my interfaces, as far as I understand, currently it's impossible, and `typePrefix` will be applied to both types and interfaces.

Thanks!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.