Axios adapter for Oats a Openapi3 based generator for typescript aware servers and clients

Usage no npm install needed!

<script type="module">
  import smartlyioOatsAxiosAdapter from 'https://cdn.skypack.dev/@smartlyio/oats-axios-adapter';


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

// provide your own axios instance
adapter.create({axiosInstance: someAxiosInstance})(definitions);