@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.
@@ -1,4 +1,4 @@
1
- import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-B_uo8LhA.cjs';
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';
@@ -1,4 +1,4 @@
1
- import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-B_uo8LhA.js';
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{K as getSpec,J as initConfigs,E as parseOpenApiSpec}from'./chunk-IF5PESMD.js';createRequire(import.meta.url);//# sourceMappingURL=internal.js.map
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 either local or remote path.
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
- | 'https://get.heyapi.dev/<organization>/<project>'
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 either local or remote path.
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
- | 'https://get.heyapi.dev/<organization>/<project>'
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 either local or remote path.
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
- | 'https://get.heyapi.dev/<organization>/<project>'
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 either local or remote path.
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
- | 'https://get.heyapi.dev/<organization>/<project>'
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hey-api/openapi-ts",
3
- "version": "0.80.15",
3
+ "version": "0.80.16",
4
4
  "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.",
5
5
  "homepage": "https://heyapi.dev/",
6
6
  "repository": {