openapi-client-axios
openapi-client-axios copied to clipboard
JavaScript client library for consuming OpenAPI-enabled APIs with axios
It should be possible (or, if possible, more obvious in the documentation) to dump out a JSON object from OpenAPI -- specifically for use with jsonforms or equivalent. https://jsonforms.io/ This...
Hello, I just wanted to express my appreciation for the work you've done with this library! I'm currently attempting to use it in a Windows 11 environment. Interestingly, the project...
The types produced by typegen make a nicely packaged type for configuring a client: ``` ts import { Client as PetStoreClient } from "./openapi.d.ts"; const client = await api.init(); ```...
Hello, I was looking into suspicious output when having the following OpenApi schema: ```yaml type: object additionalProperties: false ``` This means I expect the object to be an empty hash....
Having a schema like this: ```yaml openapi: 3.0.3 info: title: Swagger Petstore - OpenAPI 3.0 version: 1.0.11 paths: /pet: put: operationId: updatePet requestBody: content: multipart/form-data: schema: type: object properties: filename:...
When defining `minItems` in an array type, the typegen generates a bit of a strange type definition for that entry. Example schema: ```yml daycare_days: type: array minItems: 1 items: type:...
Hello! 👋 When trying to run `npx openapicmd typegen`, I receive the following error: ``` npx openapicmd typegen Error: Debug Failure. False expression: Negative numbers should be created in combination...
This is for issue #77 This adds the axiosInstance property to the constructor options. This PR also includes some refactoring and new tests. I added this because some users want...
First, let me say big "thank you!" for this package, shout out to the authors and contributors! 👏 While using with create-react-app (`react-scripts@^5.0.1`) I'm getting warnings like this in the...
I want to be able to import schematics into my project ```ts import { Components } from 'shared/types/openapi'; type EventType = Components.Schemas.EventDetailModel; ```