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

feature: added custom axios request #981

Open mahmoudzeyada opened 1 week ago

mahmoudzeyada commented 1 week ago

Currently, there isn’t a straightforward way to override the entire axios request for complete wrapping, so I’ve named it "custom action," inspired by the approach used in GraphQL generator libraries. this feature is in fetch HTTP client but not in Axios so i added it to Axios too