openapistack / openapi-client-axios

JavaScript client library for consuming OpenAPI-enabled APIs with axios
https://openapistack.co
MIT License
558 stars 67 forks source link

fix: orthographic error on the client init method (typo) #75

Closed jpinho closed 3 years ago

jpinho commented 3 years ago

Why are you seeing this?

We have an orthographic error on the client interface (true story).

import OpenAPIClientAxios from 'openapi-client-axios';

const api = new OpenAPIClientAxios({ definition: 'https://example.com/api/openapi.json' });
api.init();

// api.initalized  ===> api.initialized

If merged then what?

This slightly breaks the API, so I'm shipping a major (v4.0.0).