@hey-api/openapi-ts 0.80.14 → 0.80.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -144,9 +144,7 @@ Help Hey API stay around for the long haul by becoming a [sponsor](https://githu
144
144
  The fastest way to use `@hey-api/openapi-ts` is via npx
145
145
 
146
146
  ```sh
147
- npx @hey-api/openapi-ts \
148
- -i https://get.heyapi.dev/hey-api/backend \
149
- -o src/client
147
+ npx @hey-api/openapi-ts -i hey-api/backend -o src/client
150
148
  ```
151
149
 
152
150
  Congratulations on creating your first client! 🎉 You can learn more about the generated files on the [Output](https://heyapi.dev/openapi-ts/output) page.
@@ -213,7 +211,7 @@ You can also generate output programmatically by importing `@hey-api/openapi-ts`
213
211
  import { createClient } from '@hey-api/openapi-ts';
214
212
 
215
213
  createClient({
216
- input: 'https://get.heyapi.dev/hey-api/backend',
214
+ input: 'hey-api/backend', // sign up at app.heyapi.dev
217
215
  output: 'src/client',
218
216
  });
219
217
  ```
@@ -228,7 +226,7 @@ createClient({
228
226
  import { defineConfig } from '@hey-api/openapi-ts';
229
227
 
230
228
  export default defineConfig({
231
- input: 'https://get.heyapi.dev/hey-api/backend',
229
+ input: 'hey-api/backend', // sign up at app.heyapi.dev
232
230
  output: 'src/client',
233
231
  });
234
232
  ```
@@ -238,7 +236,7 @@ export default defineConfig({
238
236
  ```js
239
237
  /** @type {import('@hey-api/openapi-ts').UserConfig} */
240
238
  module.exports = {
241
- input: 'https://get.heyapi.dev/hey-api/backend',
239
+ input: 'hey-api/backend', // sign up at app.heyapi.dev
242
240
  output: 'src/client',
243
241
  };
244
242
  ```
@@ -248,7 +246,7 @@ module.exports = {
248
246
  ```js
249
247
  /** @type {import('@hey-api/openapi-ts').UserConfig} */
250
248
  export default {
251
- input: 'https://get.heyapi.dev/hey-api/backend',
249
+ input: 'hey-api/backend', // sign up at app.heyapi.dev
252
250
  output: 'src/client',
253
251
  };
254
252
  ```