acacode / acacode/swagger-typescript-api
Generate an index file when using modular mode
Ouverte
- Langage dominant
- TypeScript
- Étoiles
- 4.1k
- Forks
- 436
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I want to use Modular mode, but it doesn't generate an index file to mass-export stuff.
Rather than being able to do `import { Thing, ThingDto } from 'api';`, I'm forced to use multiple import statements, `import { Thing } from 'api/Thing'; import { ThingDto } from 'api/data-contracts';`
Is it possible to have this generate an `index.ts` file? If not a cli argument, then is it possible to have the modular templates generate a single extra file, such that each module can write to it once?
Thanks.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.