@hey-api/openapi-ts 0.80.15 → 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 +5 -7
- package/dist/{chunk-IF5PESMD.js → chunk-X4P65NTE.js} +18 -18
- package/dist/chunk-X4P65NTE.js.map +1 -0
- package/dist/clients/nuxt/client.ts +6 -1
- package/dist/clients/nuxt/types.ts +1 -0
- package/dist/clients/nuxt/utils.ts +1 -0
- package/dist/index.cjs +181 -181
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +47 -47
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +11 -11
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/dist/{types.d-B_uo8LhA.d.cts → types.d-CFCN8diW.d.cts} +20 -4
- package/dist/{types.d-B_uo8LhA.d.ts → types.d-CFCN8diW.d.ts} +20 -4
- package/package.json +1 -1
- package/dist/chunk-IF5PESMD.js.map +0 -1
package/dist/internal.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-
|
|
1
|
+
import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-CFCN8diW.cjs';
|
|
2
2
|
import { JSONSchema } from '@hey-api/json-schema-ref-parser';
|
|
3
3
|
import 'semver';
|
|
4
4
|
import 'node:fs';
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-
|
|
1
|
+
import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-CFCN8diW.js';
|
|
2
2
|
import { JSONSchema } from '@hey-api/json-schema-ref-parser';
|
|
3
3
|
import 'semver';
|
|
4
4
|
import 'node:fs';
|
package/dist/internal.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {createRequire}from'module';export{
|
|
1
|
+
import {createRequire}from'module';export{L as getSpec,K as initConfigs,F as parseOpenApiSpec}from'./chunk-X4P65NTE.js';createRequire(import.meta.url);//# sourceMappingURL=internal.js.map
|
|
2
2
|
//# sourceMappingURL=internal.js.map
|
|
@@ -2860,12 +2860,20 @@ type Input = {
|
|
|
2860
2860
|
*/
|
|
2861
2861
|
organization?: string;
|
|
2862
2862
|
/**
|
|
2863
|
-
* Path to the OpenAPI specification. This can be
|
|
2863
|
+
* Path to the OpenAPI specification. This can be:
|
|
2864
|
+
* - path
|
|
2865
|
+
* - URL
|
|
2866
|
+
* - API registry shorthand
|
|
2867
|
+
*
|
|
2864
2868
|
* Both JSON and YAML file formats are supported. You can also pass the parsed
|
|
2865
2869
|
* object directly if you're fetching the file yourself.
|
|
2866
2870
|
*/
|
|
2867
2871
|
path?:
|
|
2868
|
-
|
|
|
2872
|
+
| `https://get.heyapi.dev/${string}/${string}`
|
|
2873
|
+
| `${string}/${string}`
|
|
2874
|
+
| `readme:@${string}/${string}#${string}`
|
|
2875
|
+
| `readme:${string}`
|
|
2876
|
+
| `scalar:@${string}/${string}`
|
|
2869
2877
|
| (string & {})
|
|
2870
2878
|
| Record<string, unknown>;
|
|
2871
2879
|
/**
|
|
@@ -6707,14 +6715,22 @@ interface UserConfig$n {
|
|
|
6707
6715
|
*/
|
|
6708
6716
|
dryRun?: boolean;
|
|
6709
6717
|
/**
|
|
6710
|
-
* Path to the OpenAPI specification. This can be
|
|
6718
|
+
* Path to the OpenAPI specification. This can be:
|
|
6719
|
+
* - path
|
|
6720
|
+
* - URL
|
|
6721
|
+
* - API registry shorthand
|
|
6722
|
+
*
|
|
6711
6723
|
* Both JSON and YAML file formats are supported. You can also pass the parsed
|
|
6712
6724
|
* object directly if you're fetching the file yourself.
|
|
6713
6725
|
*
|
|
6714
6726
|
* Alternatively, you can define a configuration object with more options.
|
|
6715
6727
|
*/
|
|
6716
6728
|
input:
|
|
6717
|
-
|
|
|
6729
|
+
| `https://get.heyapi.dev/${string}/${string}`
|
|
6730
|
+
| `${string}/${string}`
|
|
6731
|
+
| `readme:@${string}/${string}#${string}`
|
|
6732
|
+
| `readme:${string}`
|
|
6733
|
+
| `scalar:@${string}/${string}`
|
|
6718
6734
|
| (string & {})
|
|
6719
6735
|
| (Record<string, unknown> & { path?: never })
|
|
6720
6736
|
| Input;
|
|
@@ -2860,12 +2860,20 @@ type Input = {
|
|
|
2860
2860
|
*/
|
|
2861
2861
|
organization?: string;
|
|
2862
2862
|
/**
|
|
2863
|
-
* Path to the OpenAPI specification. This can be
|
|
2863
|
+
* Path to the OpenAPI specification. This can be:
|
|
2864
|
+
* - path
|
|
2865
|
+
* - URL
|
|
2866
|
+
* - API registry shorthand
|
|
2867
|
+
*
|
|
2864
2868
|
* Both JSON and YAML file formats are supported. You can also pass the parsed
|
|
2865
2869
|
* object directly if you're fetching the file yourself.
|
|
2866
2870
|
*/
|
|
2867
2871
|
path?:
|
|
2868
|
-
|
|
|
2872
|
+
| `https://get.heyapi.dev/${string}/${string}`
|
|
2873
|
+
| `${string}/${string}`
|
|
2874
|
+
| `readme:@${string}/${string}#${string}`
|
|
2875
|
+
| `readme:${string}`
|
|
2876
|
+
| `scalar:@${string}/${string}`
|
|
2869
2877
|
| (string & {})
|
|
2870
2878
|
| Record<string, unknown>;
|
|
2871
2879
|
/**
|
|
@@ -6707,14 +6715,22 @@ interface UserConfig$n {
|
|
|
6707
6715
|
*/
|
|
6708
6716
|
dryRun?: boolean;
|
|
6709
6717
|
/**
|
|
6710
|
-
* Path to the OpenAPI specification. This can be
|
|
6718
|
+
* Path to the OpenAPI specification. This can be:
|
|
6719
|
+
* - path
|
|
6720
|
+
* - URL
|
|
6721
|
+
* - API registry shorthand
|
|
6722
|
+
*
|
|
6711
6723
|
* Both JSON and YAML file formats are supported. You can also pass the parsed
|
|
6712
6724
|
* object directly if you're fetching the file yourself.
|
|
6713
6725
|
*
|
|
6714
6726
|
* Alternatively, you can define a configuration object with more options.
|
|
6715
6727
|
*/
|
|
6716
6728
|
input:
|
|
6717
|
-
|
|
|
6729
|
+
| `https://get.heyapi.dev/${string}/${string}`
|
|
6730
|
+
| `${string}/${string}`
|
|
6731
|
+
| `readme:@${string}/${string}#${string}`
|
|
6732
|
+
| `readme:${string}`
|
|
6733
|
+
| `scalar:@${string}/${string}`
|
|
6718
6734
|
| (string & {})
|
|
6719
6735
|
| (Record<string, unknown> & { path?: never })
|
|
6720
6736
|
| Input;
|
package/package.json
CHANGED