{"repo":"openapistack/openapi-client-axios","free":true,"listed":false,"github":"https://github.com/openapistack/openapi-client-axios","clone":"git clone https://github.com/openapistack/openapi-client-axios.git","description":"JavaScript client library for consuming OpenAPI-enabled APIs with axios","language":"TypeScript","stars":614,"topics":["openapi","axios","hacktoberfest","swagger","typescript"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"JavaScript client library for consuming OpenAPI-enabled APIs with axios . Types included. Battle-tested in production. See who uses openapi-stack → Features - [x] Create API clients from OpenAPI v3 definitions - [x] Client is configured in runtime. No generated code! - [x] Generate TypeScript definitions (.d.ts) for your APIs with full IntelliSense support - [x] Easy to use API to call API operations using JavaScript methods - client.getPet(1) - client.searchPets() - client.searchPets({ ids: [1, 2, 3] }) - client.updatePet(1, payload) - [x] Built on top of the robust axios JavaScript library - [x] Isomorphic, works both in browser and Node.js Documentation New! OpenAPI Client Axios documentation is now found on openapistack.co https://openapistack.co/docs/openapi-client-axios/intro Quick Start With promises / CommonJS syntax: With async-await / ES6 syntax: Client OpenAPI Client Axios uses operationIds in OpenAPIv3 definitions to call API operations. After initializing OpenAPIClientAxios , an axios client instance extended with OpenAPI capabilities is exposed. Example: client is an axios instance initialized with baseURL from OpenAPI definitions and extended with extra operation methods for calling API operations. It also has a reference to OpenAPIClientAxios at client.api Operation methods OpenAPIClientAxios operation methods take 3 arguments: Parameters The first argument is used to pass parameters available for the operation. For syntactic sugar purposes, you can also speci","default_branch":null,"files":null,"tree":[],"storefront":"/r/openapistack","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/openapistack/openapi-client-axios/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}