acacode / acacode/swagger-typescript-api

Single axios http client instance Across multiple generated file

Offen
#736 3 Kommentare 2 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

Can we have single axios http client instance and we can use that instance across all the generated Types class
I have 2 json file and based on that I am getting two generated types class and In both the class we have duplicate code of axios client can we do something to generate only once and used in every other generated type class

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.