acacode / swagger-typescript-api

Generate the API Client for Fetch or Axios from an OpenAPI Specification
MIT License
3.38k stars 361 forks source link

Custom config: handle default export #828

Closed shrpne closed 4 months ago

shrpne commented 4 months ago

It should finally fix #806

Added interop default, because currently importing of custom config with export default is not working properly.

Also reorganized custom config logs a bit:

smorimoto commented 4 months ago

Thanks!

xAl3xFx commented 3 months ago

In order for this to work with windows you need to add "file://" before process.cwd().