swaxios
swaxios copied to clipboard
A Swagger API client generator based on axios and written in TypeScript. ๐
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 14.0.1 to 15.2.2. Release notes Sourced from lint-staged's releases. v15.2.2 Patch Changes #1391 fdcdad4 Thanks @โiiroj! - Lint-staged no longer tries to load configuration from files that...
Bumps [commander](https://github.com/tj/commander.js) from 6.2.1 to 12.0.0. Release notes Sourced from commander's releases. v12.0.0 Added .addHelpOption() as another way of configuring built-in help option (#2006) .helpCommand() for configuring built-in help command...
Here are some large scale OAS specs to battletest Swaxios: - https://github.com/googlemaps/openapi-specification/releases - https://developers.amadeus.com/self-service/category/flights/api-doc/airport-and-city-search
Official docs: https://swagger.io/docs/specification/describing-parameters/#common My **valid** configuration: ```yml paths: /posts/{id}: # This is considered as a request method then trows error parameters: - name: id in: path description: id required: true...
I found [this StackOverflow question](https://stackoverflow.com/questions/48693335/how-to-generate-basic-typescript-interfaces-from-swagger-schema) which wants to create an interface for `Color` based on the following JSON input: ```json { // ... "definitions": { "Color": { "description": "", "enum":...
Since it's possible to add the same operation ID in two paths we should check that we don't create the same function twice in a class.
[`ts-morph`](https://www.npmjs.com/package/ts-morph) can create TypeScript with TypeScript. We should use it instead of using a template engine. ### Pros - Cleaner TypeScript code - Staying in the TS world without reading...
Currently, the names of the services are generated by the path of the request. This could split up services which might belong together. For example, on the server side i...
[Bearer Authentication](https://swagger.io/docs/specification/authentication/bearer-authentication/) for the whole API can be enabled in Swagger when applying a `security` property. **swagger.json** ```jsonc { "paths": { // ... }, "security": [ { "Bearer": [] }...
Bumps [@tstv/tsconfig-common](https://github.com/typescripttv/tsconfigs/tree/HEAD/packages) from 3.6.0 to 3.7.0. Commits 3129493 [skip ci] chore: Publish dc103e6 feat: Make sure that an overridden method exists in the base class a348421 chore(deps): bump @โtypescript-eslint/parser from...