@hey-api/openapi-ts
Advanced tools
Comparing version 0.62.3 to 0.63.0
{ | ||
"name": "@hey-api/openapi-ts", | ||
"version": "0.62.3", | ||
"version": "0.63.0", | ||
"description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.", | ||
@@ -109,5 +109,5 @@ "homepage": "https://heyapi.dev/", | ||
"zod": "3.23.8", | ||
"@hey-api/client-axios": "0.5.1", | ||
"@hey-api/client-fetch": "0.7.1", | ||
"@hey-api/client-nuxt": "0.1.1" | ||
"@hey-api/client-fetch": "0.7.2", | ||
"@hey-api/client-axios": "0.5.2", | ||
"@hey-api/client-nuxt": "0.1.2" | ||
}, | ||
@@ -114,0 +114,0 @@ "scripts": { |
@@ -37,3 +37,3 @@ <div align="center"> | ||
- generates TypeScript interfaces and SDKs | ||
- Fetch API, Axios, Angular, Node.js, and XHR clients available | ||
- Fetch API, Axios, Nuxt, Angular, Node.js, and XHR clients available | ||
- plugin ecosystem to reduce third-party boilerplate | ||
@@ -61,5 +61,5 @@ | ||
npx @hey-api/openapi-ts \ | ||
-c @hey-api/client-fetch \ | ||
-i path/to/openapi.json \ | ||
-o src/client \ | ||
-c @hey-api/client-fetch | ||
``` | ||
@@ -119,5 +119,5 @@ | ||
createClient({ | ||
client: '@hey-api/client-fetch', | ||
input: 'path/to/openapi.json', | ||
output: 'src/client', | ||
plugins: ['@hey-api/client-fetch'], | ||
}); | ||
@@ -136,5 +136,5 @@ ``` | ||
export default defineConfig({ | ||
client: '@hey-api/client-fetch', | ||
input: 'path/to/openapi.json', | ||
output: 'src/client', | ||
plugins: ['@hey-api/client-fetch'], | ||
}); | ||
@@ -148,5 +148,5 @@ ``` | ||
module.exports = { | ||
client: '@hey-api/client-fetch', | ||
input: 'path/to/openapi.json', | ||
output: 'src/client', | ||
plugins: ['@hey-api/client-fetch'], | ||
}; | ||
@@ -160,5 +160,5 @@ ``` | ||
export default { | ||
client: '@hey-api/client-fetch', | ||
input: 'path/to/openapi.json', | ||
output: 'src/client', | ||
plugins: ['@hey-api/client-fetch'], | ||
}; | ||
@@ -183,3 +183,3 @@ ``` | ||
Clients are responsible for sending the actual HTTP requests. The `client` value is not required, but you must define it if you're generating SDKs (enabled by default). | ||
Clients are responsible for sending the actual HTTP requests. Using clients is not required, but you must add a client to `plugins` if you're generating SDKs (enabled by default). | ||
@@ -186,0 +186,0 @@ You can learn more on the [Clients](https://heyapi.dev/openapi-ts/clients) page. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
4011751
11893