acacode / swagger-typescript-api

Generate the API Client for Fetch or Axios from an OpenAPI Specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Single axios http client instance Across multiple generated file

vivek23198 opened this issue · comments

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