acacode / acacode/swagger-typescript-api

Support for creating one file per model

Offen
#695 0 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
4.1k
Forks
436
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I'm wondering if this project would be open to adding support to generate one file per model, instead of the current design where all models are written to a single file.

This use case comes from the fact that our dependencies/build system aren't very good at dead code elimination, which means that using only a single generated type add a couple of kBs to our bundle size, even though we don't use most of the types yet.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.