@smartlyio/oats-axios-adapter
v7.5.1
Published
Axios adapter for Oats a Openapi3 based generator for typescript aware servers and clients
Downloads
645
Maintainers
Readme
Axios client adapter for smartlyio/oats
See smartlyio/oats
This adapter provides two ways to bind the generated client definitions
import * as adapter from '@smartlyio/oats-axios-adapter';
// bind the default axios instance
adapter.create()(definitions);
// provide your own axios instance
adapter.create({axiosInstance: someAxiosInstance})(definitions);