swagger-typescript-api icon indicating copy to clipboard operation
swagger-typescript-api copied to clipboard

Multi swagger endpoint usage

Open muratoner opened this issue 3 years ago • 1 comments

Hi,

I'm currently using this library but i have more than one swagger endpoint. I want merge this more than one swagger endpoints and generate one apiclient.ts file but how can i create, i don't know :(

muratoner avatar May 24 '21 17:05 muratoner

Hello @muratoner !
You can use --templates option to expand your Api class and add several your own endpoints
Also you can use onInit hook

js2me avatar May 25 '21 10:05 js2me