@scalar/cli 2.10.0 → 2.11.0

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.
Files changed (99) hide show
  1. package/README.md +82 -1290
  2. package/chunks/{action-YSVTZVKV.js → action-25QMCP5G.js} +37 -26
  3. package/chunks/{action-X7BA7PQQ.js → action-2VF6LODL.js} +20 -18
  4. package/chunks/{action-5N3P43MD.js → action-5I4XDPPG.js} +16 -15
  5. package/chunks/action-6M5PTDF6.js +100 -0
  6. package/chunks/{action-PAM2EZ22.js → action-73ELLN3T.js} +8 -7
  7. package/chunks/{action-XOADBXSX.js → action-7H3AWCHX.js} +17 -16
  8. package/chunks/{action-KDUFU7TZ.js → action-BRSLSOE5.js} +19 -16
  9. package/chunks/{action-7XOHYWYM.js → action-CQQCKSNS.js} +13 -15
  10. package/chunks/action-D5QWDNQ2.js +65 -0
  11. package/chunks/{action-5RL4NWUZ.js → action-DQDHBOLJ.js} +33 -30
  12. package/chunks/{action-DKDRAIKV.js → action-EYPYQQVM.js} +13 -15
  13. package/chunks/{action-ZFI77WA5.js → action-FMA5ECUA.js} +10 -10
  14. package/chunks/{action-DTEO4YNX.js → action-GXDJLF2G.js} +13 -11
  15. package/chunks/{action-657A4K2D.js → action-HUICEXJZ.js} +26 -23
  16. package/chunks/action-IH6G77C5.js +38 -0
  17. package/chunks/{action-H3RTILLM.js → action-IIQMZVRJ.js} +1 -1
  18. package/chunks/action-IQM54ITT.js +164 -0
  19. package/chunks/{action-EAUTQ77U.js → action-J5TO3UJW.js} +26 -24
  20. package/chunks/{action-UUL6SWV4.js → action-KC3ZCNDR.js} +12 -14
  21. package/chunks/{action-HT42NUUX.js → action-L7TMS3Q3.js} +40 -38
  22. package/chunks/{action-GWYYTUTM.js → action-LAAHRDSR.js} +5 -5
  23. package/chunks/{action-5LF4XYHX.js → action-LR75GHBA.js} +12 -12
  24. package/chunks/{action-PPTFYZWD.js → action-MJMLQFLT.js} +12 -12
  25. package/chunks/action-NHU4CUKT.js +130 -0
  26. package/chunks/{action-4GZI2M5B.js → action-NKTFNFU7.js} +19 -17
  27. package/chunks/{action-CB55NWAU.js → action-NMW5WPD2.js} +9 -9
  28. package/chunks/{action-GFLRD7LO.js → action-OTPXODUE.js} +8 -8
  29. package/chunks/{action-R4PGILN4.js → action-RPCDNGCI.js} +47 -36
  30. package/chunks/{action-TOBU74JH.js → action-RQCXSJPZ.js} +51 -27
  31. package/chunks/{action-JEYDBB3P.js → action-SOYSVG67.js} +15 -15
  32. package/chunks/action-Y7EBKCUU.js +16 -0
  33. package/chunks/{action-XLE37MZL.js → action-YN4TE7TG.js} +23 -22
  34. package/chunks/{action-CABLS46Q.js → action-ZGNVWTHZ.js} +11 -11
  35. package/chunks/{action-4W5GUGEG.js → action-ZKKRPLDK.js} +20 -19
  36. package/chunks/{action-ZKA3RR3S.js → action-ZUZL7R3H.js} +18 -17
  37. package/chunks/{actions-3SAMH7A5.js → actions-S6K76HCW.js} +23 -20
  38. package/chunks/{agent-2ESZI7NO.js → agent-IRNEV4K5.js} +44 -9
  39. package/chunks/{asyncapi-4HGVM3PR.js → asyncapi-WQPIQMEZ.js} +13 -12
  40. package/chunks/{build.action-VBGFGACM.js → build.action-CLBVKFWD.js} +28 -26
  41. package/chunks/chunk-25XERWCE.js +1058 -0
  42. package/chunks/{chunk-35Z7VTJT.js → chunk-3RIUDHLG.js} +52 -38
  43. package/chunks/{chunk-ZYBLQ5CT.js → chunk-3TFOA64C.js} +9 -4
  44. package/chunks/{chunk-CWVYOXXM.js → chunk-4JKXZ5CF.js} +11 -7
  45. package/chunks/{chunk-XAGJJNQW.js → chunk-5L7V7RCH.js} +10 -10
  46. package/chunks/{chunk-KZNRQVMY.js → chunk-ALYM4ZB2.js} +1 -1
  47. package/chunks/chunk-AVZFSWPD.js +37 -0
  48. package/chunks/{chunk-GYRQPDTK.js → chunk-BQYVSPAI.js} +14 -2
  49. package/chunks/{chunk-UDBSV3CK.js → chunk-CSSTCHHF.js} +6083 -4167
  50. package/chunks/{chunk-ZGNDXPLU.js → chunk-DQD2753S.js} +3 -3
  51. package/chunks/{action-F2ZJNURT.js → chunk-EBNFCIKS.js} +7 -10
  52. package/chunks/{chunk-ATNTXKMS.js → chunk-F3OPMYME.js} +118 -38
  53. package/chunks/{chunk-KHF2QXBG.js → chunk-FG5AOTDN.js} +1433 -641
  54. package/chunks/{chunk-K2HIB5BA.js → chunk-GKCVATQJ.js} +3 -3
  55. package/chunks/{chunk-BIMLCGKS.js → chunk-GMHIK5K2.js} +1 -1
  56. package/chunks/{chunk-5SMP756H.js → chunk-GYR5E6RB.js} +2 -2
  57. package/chunks/{chunk-MC4EMNOR.js → chunk-HZN6IIPZ.js} +7 -6
  58. package/chunks/{chunk-VVRUSQCY.js → chunk-I57ID5K7.js} +13 -0
  59. package/chunks/{chunk-VYFGRLVQ.js → chunk-KOD2HX5I.js} +1 -1
  60. package/chunks/{chunk-ZKJPLWRJ.js → chunk-LOLVJNI5.js} +4 -4
  61. package/chunks/{chunk-GLWTVLKM.js → chunk-MN2AFJXM.js} +9 -2
  62. package/chunks/{chunk-WB6PWTMU.js → chunk-N5CJ5MTY.js} +1 -1
  63. package/chunks/{chunk-JXGF5EHC.js → chunk-NWJ37GI2.js} +23 -13
  64. package/chunks/{chunk-3ZJYGGAA.js → chunk-ORCUZITN.js} +1 -1
  65. package/chunks/{chunk-H467HDVV.js → chunk-QMLRYD76.js} +1 -1
  66. package/chunks/{chunk-43WALAW3.js → chunk-SEURG74P.js} +64 -115
  67. package/chunks/{chunk-G4HRW2FZ.js → chunk-SOV4POMS.js} +366 -253
  68. package/chunks/chunk-T34TL6KL.js +222 -0
  69. package/chunks/{chunk-WDIWLXLV.js → chunk-U6VE6JOS.js} +3 -3
  70. package/chunks/{chunk-MMWSCTDB.js → chunk-UFSFY7Z4.js} +19 -19
  71. package/chunks/{chunk-WIEXQUTD.js → chunk-ULRJZXMS.js} +1 -1
  72. package/chunks/{chunk-DHZW7Q7U.js → chunk-US54KYOJ.js} +2 -4
  73. package/chunks/{chunk-36LXIJIZ.js → chunk-V6LUKXBV.js} +1 -16
  74. package/chunks/{chunk-6M7TL2G2.js → chunk-VRZSDUZK.js} +45 -5
  75. package/chunks/chunk-VUXPDHTQ.js +22 -0
  76. package/chunks/chunk-XP5UM7SF.js +21 -0
  77. package/chunks/{chunk-IPZP3VRA.js → chunk-Y6XGC4K5.js} +5 -21
  78. package/chunks/{create.action-DBNIS665.js → create.action-ITEOQ644.js} +34 -32
  79. package/chunks/{delete.action-K7BLK7DK.js → delete.action-77MFPLUN.js} +29 -27
  80. package/chunks/{delete.action-GBOZC45K.js → delete.action-C6VX4S5Q.js} +30 -28
  81. package/chunks/{get.action-N3JOY3OU.js → get.action-3BP4FHZC.js} +16 -15
  82. package/chunks/{get.action-QHKMYZBK.js → get.action-LNBOWUVE.js} +24 -20
  83. package/chunks/{list.action-6SSO3JVN.js → list.action-6CRFQPJT.js} +39 -29
  84. package/chunks/{list.action-TJCS6UEY.js → list.action-KR5YIDR4.js} +37 -26
  85. package/chunks/{publish.action-T24VHRMR.js → publish.action-YBORRPBM.js} +45 -43
  86. package/chunks/{scripts-VIBLGKYG.js → scripts-6CI6U32J.js} +1 -1
  87. package/chunks/{update.action-VOE6PH5F.js → update.action-O7TSXDGV.js} +29 -27
  88. package/chunks/{update.action-OGYNBXRU.js → update.action-QZI7M2MV.js} +30 -28
  89. package/index.js +283 -278
  90. package/package.json +2 -2
  91. package/skills/scalar-cli/SKILL.md +49 -49
  92. package/template.md +66 -253
  93. package/chunks/action-FBRY5JKU.js +0 -37
  94. package/chunks/action-LYCNT3KA.js +0 -73
  95. package/chunks/action-OJ2NK25F.js +0 -121
  96. package/chunks/action-U2L5DCFG.js +0 -91
  97. package/chunks/chunk-MNNGUUKJ.js +0 -405
  98. package/chunks/chunk-ZGVZU6L2.js +0 -422
  99. package/docs.html +0 -6977
@@ -1,10 +1,10 @@
1
1
  import { createRequire as $$cR } from "node:module"; const require = $$cR(import.meta.url);
2
2
  import {
3
3
  SdkLanguage
4
- } from "./chunk-IPZP3VRA.js";
4
+ } from "./chunk-Y6XGC4K5.js";
5
5
  import {
6
6
  contentShaSchema
7
- } from "./chunk-MNNGUUKJ.js";
7
+ } from "./chunk-25XERWCE.js";
8
8
  import {
9
9
  compareVersionsDesc,
10
10
  docVersionSchema,
@@ -12,7 +12,7 @@ import {
12
12
  namespaceSchema,
13
13
  nanoidSchema,
14
14
  slugSchema
15
- } from "./chunk-VVRUSQCY.js";
15
+ } from "./chunk-I57ID5K7.js";
16
16
 
17
17
  // ../../packages/entities/dist/sdk/auto-update.js
18
18
  import semver2 from "semver";
@@ -42,7 +42,7 @@ var sdkTrackedApiVersionSpec = (sdk) => sdk.apiVersion ?? (findOpenSdkDraft(sdkV
42
42
  // ../../packages/entities/dist/sdk/scalar-config.js
43
43
  import yaml from "yaml";
44
44
 
45
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/scalar-sdk.config.schema.json
45
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/scalar-sdk.config.schema.json
46
46
  var scalar_sdk_config_schema_default = {
47
47
  $schema: "https://json-schema.org/draft/2020-12/schema",
48
48
  $id: "https://registry.scalar.com/@scalar/schemas/sdk-config",
@@ -64,7 +64,7 @@ var scalar_sdk_config_schema_default = {
64
64
  additionalProperties: {
65
65
  $ref: "#/$defs/resourceConfig"
66
66
  },
67
- description: "Resource tree that drives generated client/resource shape when present."
67
+ description: "Resource tree that drives the generated client and resource shape."
68
68
  },
69
69
  readme: {
70
70
  $ref: "#/$defs/readmeConfig",
@@ -427,6 +427,17 @@ var scalar_sdk_config_schema_default = {
427
427
  type: "string",
428
428
  description: "Configured model path for emitted stream events."
429
429
  },
430
+ methodNames: {
431
+ type: "object",
432
+ propertyNames: {
433
+ $ref: "#/$defs/targetLanguage"
434
+ },
435
+ additionalProperties: {
436
+ type: "string",
437
+ pattern: "^[A-Za-z_][A-Za-z0-9_]*$"
438
+ },
439
+ description: 'Per-target name of the streaming method a `paramDiscriminator` adds beside the buffered one, keyed by target language and spelled as that target spells it (`{"ruby": "stream_raw"}`). A target without an entry uses its own default, such as `create_streaming` in Ruby. Only the Ruby target reads it today.'
440
+ },
430
441
  skip: {
431
442
  $ref: "#/$defs/targetLanguageArray",
432
443
  description: "Targets where this streaming helper should be skipped."
@@ -442,11 +453,11 @@ var scalar_sdk_config_schema_default = {
442
453
  },
443
454
  filter: {
444
455
  type: "string",
445
- description: "CLI-specific parameter filter expression."
456
+ description: "CLI-specific parameter filter expression. Recorded in the compiled SDK but not yet applied by the CLI target."
446
457
  },
447
458
  format: {
448
459
  type: "string",
449
- description: "Default CLI output format for this method."
460
+ description: "Default CLI output format for this method. Recorded in the compiled SDK but not yet applied by the CLI target, which uses the target-wide `defaultFormat`."
450
461
  }
451
462
  }
452
463
  },
@@ -1062,7 +1073,7 @@ var scalar_sdk_config_schema_default = {
1062
1073
  properties: {
1063
1074
  authMethod: {
1064
1075
  $ref: "#/$defs/publishAuthMethod",
1065
- description: "How the generated release workflow authenticates with the registry.\n\n`oidc` uses the registry's [OIDC trusted publishing](https://docs.github.com/en/actions/concepts/security/openid-connect): the publish job exchanges its GitHub Actions id-token for a short-lived, package-scoped token, so no long-lived credential is stored in the destination repository. It is the default for every registry that supports it \u2014 npm, PyPI, crates.io, NuGet, pub.dev, and RubyGems \u2014 and requires a trusted publisher registered on the registry naming the destination repository, the workflow file the publish job runs from \u2014 `release-please.yml`, the workflow the automated release publishes from (register `sdk-release.yml` as a second publisher only if the manual re-publish workflow is used) \u2014 and the `releaseEnvironment` when one is set. pub.dev is the exception: it authorizes a git tag pattern rather than a workflow file, and no generated workflow can satisfy it, so a Dart target has to set `access-token` itself \u2014 see the table below and `publish.pub`.\n\n`access-token` publishes with a long-lived token read from a repository secret instead; use it for a registry where no trusted publisher is registered yet, then drop the override once one is \u2014 except on `pub`, where it is not a stepping stone but the permanent answer, since pub.dev accepts a publish only from a tag-triggered run and neither generated workflow is one. Each registry's trusted-publisher page and token secret:\n\n| Registry | Trusted publisher (OIDC) | Secret for `access-token` |\n| --- | --- | --- |\n| `npm` | [npm trusted publishers](https://docs.npmjs.com/trusted-publishers) \u2014 the package's **Settings \u2192 Trusted Publisher** tab | `NPM_TOKEN` |\n| `pypi` | [PyPI publishing settings](https://pypi.org/manage/account/publishing/) | `PYPI_API_TOKEN`, or `PYPI_TOKEN` |\n| `cargo` | [crates.io trusted publishing](https://crates.io/docs/trusted-publishing) \u2014 the crate's **Settings** tab | `CARGO_REGISTRY_TOKEN` |\n| `nuget` | [nuget.org trusted publishing](https://learn.microsoft.com/nuget/nuget-org/trusted-publishing) \u2014 also reads `NUGET_USER` under OIDC | `NUGET_API_KEY` |\n| `pub` | [pub.dev automated publishing](https://dart.dev/tools/pub/automated-publishing) \u2014 authorizes a tag pattern, not a workflow file, and the generated workflow cannot satisfy it; see `publish.pub` | `PUB_TOKEN` |\n| `rubygems` | [RubyGems trusted publishing](https://guides.rubygems.org/trusted-publishing/) | `RUBYGEMS_API_KEY`, or `GEM_HOST_API_KEY` |\n| `maven` | not supported \u2014 always token | `MAVEN_CENTRAL_USERNAME`, or `SONATYPE_USERNAME`; `MAVEN_CENTRAL_PASSWORD`, or `SONATYPE_PASSWORD`; `MAVEN_GPG_PRIVATE_KEY`, or `GPG_SIGNING_KEY`; `MAVEN_GPG_PASSPHRASE`, or `GPG_SIGNING_PASSWORD` |\n| `homebrew` | not supported \u2014 pushes to a tap repository | `HOMEBREW_TAP_TOKEN`, or `HOMEBREW_TAP_GITHUB_TOKEN` |\n| `binaries` | not applicable \u2014 uploads to the GitHub Release | none (ambient `GITHUB_TOKEN`) |\n| `go`, `swiftpm`, `packagist` | not applicable \u2014 published by git tag | none |\n\nA name after `or` is a fallback: the workflow reads it only when the name before it is unset, so a repository that already stores the credential under the name other generators use keeps publishing without a new secret. Repository secrets live under **Settings \u2192 Secrets and variables \u2192 Actions** in the destination repository; an environment secret of the same name overrides one there when `releaseEnvironment` is set. Registries without OIDC support default to `access-token` regardless, and ecosystems published by git tag alone (Go, SwiftPM, Packagist) ignore this."
1076
+ description: "How the generated release workflow authenticates with the registry.\n\n`oidc` uses the registry's [OIDC trusted publishing](https://docs.github.com/en/actions/concepts/security/openid-connect): the publish job exchanges its GitHub Actions id-token for a short-lived, package-scoped token, so no long-lived credential is stored in the destination repository. It is the default wherever the registry supports it, and requires a trusted publisher registered on the registry naming the destination repository, the workflow file the publish job runs from \u2014 `release-please.yml`, the workflow the automated release publishes from (register `sdk-release.yml` as a second publisher only if the manual re-publish workflow is used) \u2014 and the `releaseEnvironment` when one is set.\n\n`access-token` publishes with a long-lived token read from a repository secret instead; use it while no trusted publisher is registered yet, then drop the override once one is, unless the registry's own entry says to keep it. Repository secrets live under **Settings \u2192 Secrets and variables \u2192 Actions** in the destination repository; an environment secret of the same name overrides one there when `releaseEnvironment` is set.\n\nThis registry's own `publish.<registry>` entry names the page to register a trusted publisher on, the secret `access-token` reads, any exception to these defaults, and whether `authMethod` applies at all."
1066
1077
  },
1067
1078
  releaseEnvironment: {
1068
1079
  type: "string",
@@ -1096,7 +1107,7 @@ var scalar_sdk_config_schema_default = {
1096
1107
  },
1097
1108
  releaseEnvironment: {
1098
1109
  type: "string",
1099
- description: "Release environment name used by generated publishing workflows. It renders as the publish job's `environment:`, so the destination repository's environment protection rules gate the release, and this registry's secrets can come from that environment \u2014 one there overrides a repository secret of the same name."
1110
+ description: "Release environment name used by generated publishing workflows. It renders as the publish job's `environment:`, so the destination repository's environment protection rules gate the release, and this registry's secrets can come from that environment \u2014 one there overrides a repository secret of the same name. The CLI publishes all of its registries from one job, so there the first entry that names an environment decides it for every channel and later ones are ignored."
1100
1111
  },
1101
1112
  homepage: {
1102
1113
  type: "string",
@@ -1170,12 +1181,12 @@ var scalar_sdk_config_schema_default = {
1170
1181
  pattern: "^\\S+$"
1171
1182
  }
1172
1183
  ],
1173
- description: "Package visibility the release publishes with, as npm's `--access`. Defaults to `public`, which is what an unscoped package gets anyway and what a scoped one needs in order to be installable by anyone \u2014 npm publishes a scoped package as `restricted` unless told otherwise, so a generated SDK that omitted this would publish privately the first time and stay that way.\n\n`restricted` keeps the package readable only by the publishing account or organization, and requires a paid npm plan; on a free account the publish is rejected. It applies to scoped packages only: npm has no private unscoped packages, so `restricted` on one is an error from npm rather than a setting that takes effect.\n\nAny other string is accepted for forward compatibility and passed to `npm publish` as given, so long as it carries no whitespace \u2014 `--access` takes a single token, and a blank or spaced value is rejected here rather than by `npm publish` on the release runner, after the release tag has already been cut. Unused by every other registry: `--access` is an npm concept, and the ecosystems that model visibility at all do it on the account rather than per publish."
1184
+ description: "Package visibility the release publishes with, as npm's `--access`:\n\n- `public` (the default): installable by anyone. An unscoped package is public anyway, but npm publishes a scoped one as `restricted` unless told otherwise, so without this default a scoped SDK would publish privately the first time and stay that way.\n- `restricted`: readable only by the publishing account or organization, and it needs a paid npm plan; on a free account npm rejects the publish. Scoped packages only: npm has no private unscoped packages, so `restricted` on one is an error from npm rather than a setting that takes effect.\n- Any other string is passed to `npm publish` as given, as long as it has no whitespace. `--access` takes a single token, so a blank or spaced value is rejected here rather than by `npm publish` on the release runner, after the release tag has already been cut."
1174
1185
  },
1175
1186
  tag: {
1176
1187
  type: "string",
1177
1188
  pattern: "^[a-z][a-z0-9-]*$",
1178
- description: "Dist-tag stable releases land on, as npm's `--tag`. Defaults to npm's own default, `latest`, which is the tag a bare `npm install <package>` resolves.\n\nOnly stable releases read this. A prerelease derives its own tag from the version's semver prerelease identifier instead \u2014 `1.0.0-beta.1` publishes under `beta` \u2014 so a release train that publishes both keeps them on separate tags. Where a derived tag would name a stable line it is suffixed with `-prerelease` rather than published over: a prerelease identifier that is not usable as a tag derives `next`, so on a package configured with `tag: next` a `1.3.0-RC.1` would otherwise land on the stable line. `latest` counts as one whatever this is set to, since it stays the tag a bare `npm install` resolves \u2014 a `1.0.0-latest.1` publishes under `latest-prerelease` on any package.\n\nSet it to publish releases without moving `latest`: a package that ships a `next` line, or one whose stable users should stay on a tag you advance deliberately. Restricted to a lowercase run of letters, digits, and hyphens starting with a letter \u2014 the same shape a derived prerelease tag is held to \u2014 because the value is rendered into the generated publish script as a string literal and passed to `npm publish` as an argument. npm additionally rejects a tag that parses as a semver version, which is not expressible here and is reported by `npm publish` instead."
1189
+ description: "Dist-tag stable releases land on, as npm's `--tag`. Defaults to npm's own default, `latest`, which is the tag a bare `npm install <package>` resolves. Set it to publish releases without moving `latest`: for a package that ships a `next` line, or one whose stable users should stay on a tag you advance deliberately.\n\nPrereleases ignore it and derive their own tag from the version's semver prerelease identifier, so a release train that publishes both keeps them on separate tags:\n\n- `1.0.0-beta.1` publishes under `beta`.\n- A prerelease identifier that is not usable as a tag derives `next`.\n- A derived tag that would name a stable line is suffixed with `-prerelease` rather than published over it. `latest` counts as one whatever this is set to, so `1.0.0-latest.1` publishes under `latest-prerelease` on any package; with `tag: next`, `1.3.0-RC.1` publishes under `next-prerelease`.\n\nMust be a lowercase run of letters, digits, and hyphens starting with a letter, the same shape a derived prerelease tag is held to, because the value is rendered into the generated publish script as a string literal and passed to `npm publish` as an argument. npm also rejects a tag that parses as a semver version, which is not expressible here and is reported by `npm publish` instead."
1179
1190
  },
1180
1191
  homepage: {
1181
1192
  type: "string",
@@ -1194,7 +1205,7 @@ var scalar_sdk_config_schema_default = {
1194
1205
  properties: {
1195
1206
  npm: {
1196
1207
  $ref: "#/$defs/npmRegistryConfig",
1197
- description: "npm registry publishing configuration for TypeScript packages. `true` publishes with the defaults; an object tunes them.\n\nReleases use [npm trusted publishing](https://docs.npmjs.com/trusted-publishers) (OIDC) unless `authMethod` says otherwise: the publish job exchanges its GitHub Actions id-token for a short-lived, package-scoped npm token, so no `NPM_TOKEN` secret is stored. Register the publisher on the package's **Settings \u2192 Trusted Publisher** tab (`https://www.npmjs.com/package/<package>/access`), naming the destination repository's owner and name, the workflow file the publish job runs from \u2014 `release-please.yml`, the workflow the automated release publishes from (register `sdk-release.yml` as a second publisher only if the manual re-publish workflow is used) \u2014 and the `releaseEnvironment` when one is set.\n\nnpm has no pending-publisher flow, so the package must already exist before a publisher can be registered: publish the first version with `authMethod` set to `access-token` and a [granular access token](https://docs.npmjs.com/creating-and-viewing-access-tokens) stored as the `NPM_TOKEN` repository secret, then register the publisher and drop the override. Give that token **Read and write (publish and stage)** \u2014 the *stage only* variant parks the version awaiting an interactive approval instead of publishing it \u2014 and turn **Bypass 2FA** on, since account-level or package-level 2FA otherwise answers the publish with an OTP prompt no workflow can satisfy. Its package selector lists packages and scopes that already exist, so a first release has nothing to point it at: select the npm scope for a scoped name, creating that scope or organization first, and fall back to **All packages** for an unscoped one, then narrow or revoke the token once the trusted publisher is registered. Treat the override as a bootstrap and nothing more: npm is removing direct publishing with a granular token in January 2027, so register the trusted publisher as soon as the first version exists. Repository secrets live under **Settings \u2192 Secrets and variables \u2192 Actions** in the destination repository; an environment secret of the same name overrides one there when `releaseEnvironment` is set.\n\n`authMethod` and `releaseEnvironment` decide how the publish authenticates; `access` and `tag` decide what it publishes \u2014 the package's visibility and the dist-tag stable releases land on.\n\nPublishing skips a version npm already has instead of failing, so re-running a release \u2014 a re-merge, or the manual re-publish workflow \u2014 is safe."
1208
+ description: "Publishes the TypeScript package to npm. `true` publishes with the defaults; an object tunes them. `authMethod` and `releaseEnvironment` decide how the publish authenticates; `access` and `tag` decide what it publishes.\n\nAuthenticates with [npm trusted publishing](https://docs.npmjs.com/trusted-publishers) (OIDC) by default, registered on the package's **Settings \u2192 Trusted Publisher** tab (`https://www.npmjs.com/package/<package>/access`). With `authMethod` set to `access-token` it reads a [granular access token](https://docs.npmjs.com/creating-and-viewing-access-tokens) from the `NPM_TOKEN` repository secret instead, which the first release of a new package needs: npm only registers a trusted publisher on a package that already exists."
1198
1209
  }
1199
1210
  }
1200
1211
  },
@@ -1227,7 +1238,7 @@ var scalar_sdk_config_schema_default = {
1227
1238
  },
1228
1239
  packageManager: {
1229
1240
  type: "string",
1230
- description: "TypeScript package manager preference for generated package metadata."
1241
+ description: "TypeScript package manager preference. Recorded in the compiled SDK but not currently read by the TypeScript target."
1231
1242
  },
1232
1243
  publish: {
1233
1244
  $ref: "#/$defs/npmPublishConfig",
@@ -1240,7 +1251,7 @@ var scalar_sdk_config_schema_default = {
1240
1251
  },
1241
1252
  compatibility: {
1242
1253
  enum: ["speakeasy"],
1243
- description: "Emit an extra module of deprecated wrapper functions reproducing another SDK generator's public surface (function names, argument shape, return type) that forward to the generated SDK, so consumers migrating off that generator keep their existing call sites compiling. Omit to emit nothing extra. 'speakeasy' emits `src/compat/speakeasy.ts` with Speakeasy-style standalone functions returning a functional `Result`, matching Speakeasy's tree-shakable `funcs/` surface."
1254
+ description: "Emit an extra module of deprecated wrapper functions reproducing another SDK generator's public surface (function names, argument shape, return type) that forward to the generated SDK, so consumers migrating off that generator keep their existing call sites compiling. Omit to emit nothing extra. 'speakeasy' emits Speakeasy-style standalone functions returning a functional `Result` in `src/compat/speakeasy.ts`, plus subpath modules laid out like a Speakeasy SDK (including `src/funcs/`, `src/sdk/`, `src/models/`, `src/lib/`, `src/types/` and `src/core.ts`), so existing import paths keep resolving."
1244
1255
  }
1245
1256
  }
1246
1257
  },
@@ -1355,7 +1366,7 @@ var scalar_sdk_config_schema_default = {
1355
1366
  properties: {
1356
1367
  pypi: {
1357
1368
  $ref: "#/$defs/publishRegistryConfig",
1358
- description: "PyPI publishing configuration for Python packages. `true` publishes with the defaults; an object tunes them.\n\nReleases use [PyPI trusted publishing](https://docs.pypi.org/trusted-publishers/) (OIDC) unless `authMethod` says otherwise: `pypa/gh-action-pypi-publish` exchanges the job's GitHub Actions id-token for a short-lived, project-scoped token, so no `PYPI_API_TOKEN` secret is stored. Register the publisher at [pypi.org/manage/account/publishing](https://pypi.org/manage/account/publishing/), which creates a *pending* publisher \u2014 it names a project that does not exist on PyPI yet and becomes an ordinary publisher on the first successful upload, so a brand-new SDK never needs a token. For a project that already exists, use its own publishing settings instead (**Manage \u2192 Publishing** from [your projects](https://pypi.org/manage/projects/)).\n\nBoth forms ask for the destination repository's owner, its name, the **workflow filename** \u2014 `release-please.yml`, the workflow the automated release publishes from (add `sdk-release.yml` as a second publisher only if the manual re-publish workflow is used) \u2014 and the environment name, which must match `releaseEnvironment` when one is set and stay blank when it is not. The pending form asks for one field the per-project form does not: the PyPI project name it is reserving.\n\nSet `authMethod` to `access-token` to publish with a [PyPI API token](https://pypi.org/manage/account/token/) stored as the `PYPI_API_TOKEN` repository secret instead. A `PYPI_TOKEN` secret is read when `PYPI_API_TOKEN` is unset, so an existing one under that name works as it is. Repository secrets live under **Settings \u2192 Secrets and variables \u2192 Actions** in the destination repository; an environment secret of the same name overrides one there when `releaseEnvironment` is set.\n\nThe upload runs with `skip-existing`, so re-running a release for a version already on PyPI is a no-op rather than an error."
1369
+ description: "Publishes the Python package to PyPI. `true` publishes with the defaults; an object tunes them.\n\nAuthenticates with [PyPI trusted publishing](https://docs.pypi.org/trusted-publishers/) (OIDC) by default, registered at [pypi.org/manage/account/publishing](https://pypi.org/manage/account/publishing/); a *pending* publisher covers a project that does not exist yet, so a new SDK needs no token. With `authMethod` set to `access-token` it reads a [PyPI API token](https://pypi.org/manage/account/token/) from the `PYPI_API_TOKEN` repository secret instead; a `PYPI_TOKEN` secret is read when that is unset."
1359
1370
  }
1360
1371
  }
1361
1372
  },
@@ -1428,7 +1439,7 @@ var scalar_sdk_config_schema_default = {
1428
1439
  resourceClassNames: {
1429
1440
  type: "boolean",
1430
1441
  default: false,
1431
- description: "Name generated resource classes after the resource alone (`Accounts`, `AsyncAccounts`, `AccountsWithRawResponse`) instead of the default `Resource`-suffixed form (`AccountsResource`, \u2026). Set this only for an already-published Python SDK whose consumers import or annotate the unsuffixed names, since flipping it renames every public symbol in `<package>.resources`. A resource keeps the `Resource` suffix wherever the unsuffixed name is already bound in a module its classes land in \u2014 a model (`DigitalCardArt`) or runtime symbol (`Query`, `Stream`) its own module imports, a name its parent module or `_client.py` binds, or a name another resource reaching the same module already took."
1442
+ description: "Name generated resource classes after the resource alone (`Accounts`, `AsyncAccounts`, `AccountsWithRawResponse`) instead of the default `Resource`-suffixed form (`AccountsResource`, \u2026). Set this only for an already-published Python SDK whose consumers import or annotate the unsuffixed names, since flipping it renames every public symbol in `<package>.resources`. A resource keeps the `Resource` suffix wherever the unsuffixed name is already bound in a module its classes land in \u2014 a model (`Widget`) or runtime symbol (`Query`, `Stream`) its own module imports, a name its parent module or `_client.py` binds, or a name another resource reaching the same module already took."
1432
1443
  },
1433
1444
  responseApi: {
1434
1445
  type: "boolean",
@@ -1590,7 +1601,7 @@ var scalar_sdk_config_schema_default = {
1590
1601
  type: "string"
1591
1602
  }
1592
1603
  ],
1593
- description: "Maven Central/Sonatype platform variant an imported config named: `portal` for the Central Portal, `ossrh` for the retired OSSRH staging API. Declared on `maven` alone, because it describes nothing an npm, PyPI, or tag-served release could act on \u2014 a `sonatypePlatform` on any other registry is reported as an unknown publish option rather than silently accepted. The generated JVM release always publishes through the Central Portal, since OSSRH's June 2025 retirement leaves that the only path that publishes anything, so the value records where the SDK came from and does not change what is emitted."
1604
+ description: "Maven Central/Sonatype platform variant an imported config named: `portal` for the Central Portal, `ossrh` for the retired OSSRH staging API. Declared on `maven` alone: a `sonatypePlatform` on any other registry is reported as an unknown publish option rather than silently accepted. The generated JVM release always publishes through the Central Portal, since OSSRH's June 2025 retirement leaves that the only path that publishes anything, so the value records where the SDK came from and does not change what is emitted."
1594
1605
  },
1595
1606
  homepage: {
1596
1607
  type: "string",
@@ -1609,7 +1620,7 @@ var scalar_sdk_config_schema_default = {
1609
1620
  properties: {
1610
1621
  maven: {
1611
1622
  $ref: "#/$defs/mavenRegistryConfig",
1612
- description: "Maven Central publishing configuration for JVM packages. `true` publishes with the defaults; an object tunes them, and carries `artifactId` on top of the shared registry fields since a Maven coordinate means nothing to npm or PyPI.\n\nMaven Central has no OIDC trusted publishing in the generated workflow, so `authMethod` is ignored here and releases always authenticate with repository secrets. Four are required: `MAVEN_CENTRAL_USERNAME` and `MAVEN_CENTRAL_PASSWORD`, which are the two halves of a [Central Portal user token](https://central.sonatype.com/usertoken) rather than the account's own login, and `MAVEN_GPG_PRIVATE_KEY` (an ASCII-armored private key) with `MAVEN_GPG_PASSPHRASE`, which sign the artifacts \u2014 Central rejects an unsigned upload. Each is also read under a fallback name when it is unset \u2014 `SONATYPE_USERNAME`, `SONATYPE_PASSWORD`, `GPG_SIGNING_KEY` and `GPG_SIGNING_PASSWORD` respectively \u2014 so a repository that already stores them under those names needs no new secrets. Distribute the matching public key to a public keyserver \u2014 `keyserver.ubuntu.com`, `keys.openpgp.org`, or `pgp.mit.edu` \u2014 well before the first release, since a key can take hours to propagate and a release cut minutes after sending it still fails: Central verifies every signature against one, so a key that never left your machine fails the upload exactly as an unsigned artifact does. The publishing namespace must also be [verified on the Central Portal](https://central.sonatype.org/register/central-portal/) before the first release. It is not a config key here: it is the target's `reverseDomain`, and for a JVM target that sets none the emitter derives one, which is a namespace nobody can verify \u2014 so set `reverseDomain` on any target that publishes. Repository secrets live under **Settings \u2192 Secrets and variables \u2192 Actions** in the destination repository; an environment secret of the same name overrides one there when `releaseEnvironment` is set.\n\nTo create the signing key, run `gpg --gen-key`, send its public half with `gpg --keyserver keyserver.ubuntu.com --send-keys <key-id>`, and store the output of `gpg --armor --export-secret-keys <key-id>` as `MAVEN_GPG_PRIVATE_KEY`.\n\nMaven Central coordinates are immutable, so the release workflow checks for the version's POM first and skips the upload when it exists, rather than failing on a rejected deployment."
1623
+ description: "Publishes the JVM package to Maven Central. `true` publishes with the defaults; an object tunes them. The object also carries `artifactId`, since a Maven coordinate means nothing to the other registries.\n\nThere is no OIDC path, so `authMethod` is ignored and every release reads four repository secrets: `MAVEN_CENTRAL_USERNAME` and `MAVEN_CENTRAL_PASSWORD`, a Central Portal user token, and `MAVEN_GPG_PRIVATE_KEY` with `MAVEN_GPG_PASSPHRASE`, which sign the artifacts. Each is also read under a fallback name when it is unset: `SONATYPE_USERNAME`, `SONATYPE_PASSWORD`, `GPG_SIGNING_KEY` and `GPG_SIGNING_PASSWORD`. The publishing namespace is the target's `reverseDomain`, which has to be [verified on the Central Portal](https://central.sonatype.org/register/central-portal/), so set `reverseDomain` on any target that publishes."
1613
1624
  }
1614
1625
  }
1615
1626
  },
@@ -1661,7 +1672,7 @@ var scalar_sdk_config_schema_default = {
1661
1672
  elideConst: {
1662
1673
  type: "boolean",
1663
1674
  default: true,
1664
- description: "Elide a required constant-valued property, so the generated class pins the value instead of exposing the property. True by default: such a property renders as a pinned raw JSON value with no typed getter, no generated enum, and no typed builder setter \u2014 only the raw accessor and a single raw setter documented as the escape hatch for sending a value the document does not describe \u2014 and it is not checked on `build()`. A closed union variant whose discriminator is its only property, and which nothing else declares a class for, collapses to raw JSON instead of a class of its own. Set it to false to render the property as an ordinary typed field \u2014 typed getter, required builder slot, and a required-field check on `build()` \u2014 and to give such a union variant a real class, which is the shape a JVM SDK published before constants were elided exposes. A **string** constant is then typed by a generated single-member enum wrapper, matching how a one-value `enum` is already rendered; a numeric or boolean one keeps its plain scalar type, since the wrapper spells its members through their wire text and would send the value as a string. A constant that is the whole of a response body keeps its scalar type too. A constant property that is `readOnly` or nullable is not elided under either setting, since the caller must still be able to omit or null it; a discriminated union's tag is pinned on the union's own terms and is not subject to that carve-out."
1675
+ description: "Elide a required constant-valued property, so the generated class pins the value instead of exposing the property. True by default: such a property renders as a pinned raw JSON value with no typed getter, no generated enum, and no typed builder setter \u2014 only the raw accessor and a single raw setter documented as the escape hatch for sending a value the document does not describe \u2014 and it is not checked on `build()`. A closed union variant whose discriminator is its only property, and which nothing else declares a class for, collapses to raw JSON instead of a class of its own. Set it to false to render the property as an ordinary typed field \u2014 typed getter, required builder slot, and a required-field check on `build()` \u2014 and to give such a union variant a real class, which is the shape a JVM SDK published before constants were elided exposes. A **string** constant is then typed by a generated single-member enum wrapper, matching how a one-value `enum` is already rendered; a numeric or boolean one keeps its plain scalar type rather than becoming a single-member wrapper, so the field reads the same as with the setting on. A constant that is the whole of a response body keeps its scalar type too. A constant property that is `readOnly` or nullable is not elided under either setting, since the caller must still be able to omit or null it; a discriminated union's tag is pinned on the union's own terms and is not subject to that carve-out."
1665
1676
  }
1666
1677
  }
1667
1678
  },
@@ -1671,7 +1682,7 @@ var scalar_sdk_config_schema_default = {
1671
1682
  flatModelPackages: {
1672
1683
  type: "boolean",
1673
1684
  default: false,
1674
- description: "Emit every model into one flat `models` package instead of a package per resource, and name each operation-derived class \u2014 params, page, async page, page response, and the response an operation implies, unless `unnamespacedImplicitResponses` exempts that last one \u2014 after its full chain of resource ancestors rather than its leaf resource: `models/AuthRuleV2BacktestCreateParams` where the default writes `models/authRules/v2/backtests/BacktestCreateParams`. The flat package and the chain-prefixed names are one option because they cannot be separated: flattening on its own drops the leaf-named params of sibling resources into a single package, where the sibling that loses the race is renamed to an arbitrary deduplicated spelling. A model named after a component schema keeps its name and only moves up a package, an operation on a resource with `useNamespaceInTypeNames` disabled is named from that resource alone with its ancestors dropped from the prefix, and services are unaffected and stay nested. Off by default."
1685
+ description: "Emit every model into one flat `models` package instead of a package per resource, and name each operation-derived class \u2014 params, page, async page, page response, and the response an operation implies, unless `unnamespacedImplicitResponses` exempts that last one \u2014 after its full chain of resource ancestors rather than its leaf resource: `models/ProjectTaskCommentCreateParams` where the default writes `models/projects/tasks/comments/CommentCreateParams`. The flat package and the chain-prefixed names are one option because they cannot be separated: flattening on its own drops the leaf-named params of sibling resources into a single package, where the sibling that loses the race is renamed to an arbitrary deduplicated spelling. A model named after a component schema keeps its name and only moves up a package, an operation on a resource with `useNamespaceInTypeNames` disabled is named from that resource alone with its ancestors dropped from the prefix, and services are unaffected and stay nested. Off by default."
1675
1686
  },
1676
1687
  refNameNestedModels: {
1677
1688
  type: "boolean",
@@ -1685,12 +1696,71 @@ var scalar_sdk_config_schema_default = {
1685
1696
  }
1686
1697
  }
1687
1698
  },
1699
+ javaTargetConfig: {
1700
+ type: "object",
1701
+ properties: {
1702
+ destinations: {
1703
+ $ref: "#/$defs/destinationsConfig",
1704
+ description: "Per-target GitHub destinations for pushing generated output."
1705
+ },
1706
+ promotion: {
1707
+ $ref: "#/$defs/promotion"
1708
+ },
1709
+ generatorVersion: {
1710
+ "x-mjst": { hidden: true },
1711
+ type: "string",
1712
+ description: "Version of the Scalar SDK Generator used to generate this target's SDK, overriding the top-level generatorVersion."
1713
+ },
1714
+ skip: {
1715
+ type: "boolean",
1716
+ description: "When true, the target is not generated."
1717
+ },
1718
+ readmeTitle: {
1719
+ type: "string",
1720
+ description: "Heading of this target's generated README, overriding the SDK-wide `readme.title`. Free-form prose, so it carries no pattern and a renderer has to emit it as escaped text rather than as markdown."
1721
+ },
1722
+ reverseDomain: {
1723
+ type: "string",
1724
+ description: "Java/Kotlin base package, e.g. `org.example`."
1725
+ },
1726
+ publish: {
1727
+ $ref: "#/$defs/mavenPublishConfig",
1728
+ description: "Maven publishing configuration."
1729
+ },
1730
+ prereleaseType: { $ref: "#/$defs/prereleaseType" },
1731
+ options: {
1732
+ $ref: "#/$defs/javaTargetOptions",
1733
+ description: "Java emitter options. All of them are honored \u2014 `elideConst`, `backCompat.camelCasePackageSegments`, `backCompat.flatModelPackages`, `backCompat.unnamespacedImplicitResponses`, and `backCompat.refNameNestedModels` \u2014 so setting any one changes generated output. Each moves files or renames public classes, which is a source-breaking change for an SDK that already has consumers."
1734
+ }
1735
+ }
1736
+ },
1737
+ javaTargetOptions: {
1738
+ type: "object",
1739
+ allOf: [{ $ref: "#/$defs/jvmTargetOptions" }],
1740
+ properties: {
1741
+ backCompat: {
1742
+ $ref: "#/$defs/javaBackCompatOptions",
1743
+ description: "Legacy package casing, model layout and naming behaviors, all off by default. Turn one on only to keep reproducing an already-published Java SDK's layout, whose consumers compile against the packages and class names it shipped with; each option moves files or renames public classes, so flipping one on an SDK that already has consumers is a source-breaking change."
1744
+ }
1745
+ }
1746
+ },
1747
+ javaBackCompatOptions: {
1748
+ type: "object",
1749
+ allOf: [{ $ref: "#/$defs/jvmBackCompatOptions" }],
1750
+ properties: {
1751
+ camelCasePackageSegments: {
1752
+ type: "boolean",
1753
+ default: false,
1754
+ description: "Preserve camelCase resource package segments in Java SDKs instead of the lowercase default. Enable this for an already-published Java SDK whose consumers import camelCase packages. Accessor method names are unchanged. Kotlin always preserves its package casing and ignores this switch."
1755
+ }
1756
+ }
1757
+ },
1688
1758
  rubyGemsPublishConfig: {
1689
1759
  type: "object",
1690
1760
  properties: {
1691
1761
  rubygems: {
1692
1762
  $ref: "#/$defs/publishRegistryConfig",
1693
- description: "RubyGems publishing configuration for Ruby gems. `true` publishes with the defaults; an object tunes them.\n\nReleases use [RubyGems trusted publishing](https://guides.rubygems.org/trusted-publishing/) (OIDC) unless `authMethod` says otherwise: the publish job exchanges its GitHub Actions id-token for a short-lived, gem-scoped rubygems.org API key, so no `RUBYGEMS_API_KEY` secret is stored. Register this repository and its release workflow as a *pending* publisher at [rubygems.org/profile/oidc/pending_trusted_publishers](https://rubygems.org/profile/oidc/pending_trusted_publishers), naming the destination repository, the workflow file the publish job runs from \u2014 `release-please.yml`, the workflow the automated release publishes from (register `sdk-release.yml` as a second publisher only if the manual re-publish workflow is used) \u2014 and the `releaseEnvironment` when one is set. A pending publisher names the gem up front and becomes an ordinary publisher on the first successful push, which is what a gem with no releases yet needs: the gem's own **Trusted publishers** page (`https://rubygems.org/gems/<gem>/trusted_publishers`) is served only for a gem that already exists and is owned by you, and that page is where an already-released gem is configured.\n\nSet `authMethod` to `access-token` to publish with a [rubygems.org API key](https://rubygems.org/profile/api_keys) that has the *Push rubygem* scope, stored as the `RUBYGEMS_API_KEY` repository secret, instead. A `GEM_HOST_API_KEY` secret is read when `RUBYGEMS_API_KEY` is unset, so an existing one under that name works as it is. That key is only usable unattended at the right [MFA level](https://guides.rubygems.org/setting-up-multifactor-authentication/): at **UI and API** every push is answered with an OTP prompt no workflow can satisfy, so either publish over OIDC or move the account to **UI and gem signin** and leave MFA off this key. Both mechanisms are fully supported, and switching to OIDC is a config change and nothing else, which is the usual adoption order: a gem with no trusted publisher registered yet can release with `authMethod` set to `access-token`, then drop the override (or set `oidc` explicitly) once the publisher is registered on rubygems.org. Repository secrets live under **Settings \u2192 Secrets and variables \u2192 Actions** in the destination repository; an environment secret of the same name overrides one there when `releaseEnvironment` is set.\n\nBefore publishing, the release workflow asks the RubyGems API for the version and skips the upload when it is already there, so re-running a release \u2014 a re-merge, or the manual re-publish workflow \u2014 is safe."
1763
+ description: "Publishes the Ruby gem to RubyGems. `true` publishes with the defaults; an object tunes them.\n\nAuthenticates with [RubyGems trusted publishing](https://guides.rubygems.org/trusted-publishing/) (OIDC) by default, registered as a *pending* publisher at [rubygems.org/profile/oidc/pending_trusted_publishers](https://rubygems.org/profile/oidc/pending_trusted_publishers) for a gem with no releases yet. With `authMethod` set to `access-token` it reads a [rubygems.org API key](https://rubygems.org/profile/api_keys) from the `RUBYGEMS_API_KEY` repository secret instead; a `GEM_HOST_API_KEY` secret is read when that is unset."
1694
1764
  }
1695
1765
  }
1696
1766
  },
@@ -1775,7 +1845,7 @@ var scalar_sdk_config_schema_default = {
1775
1845
  properties: {
1776
1846
  nuget: {
1777
1847
  $ref: "#/$defs/publishRegistryConfig",
1778
- description: "NuGet publishing configuration for .NET packages. `true` publishes with the defaults; an object tunes them.\n\nReleases use [nuget.org trusted publishing](https://learn.microsoft.com/nuget/nuget-org/trusted-publishing) (OIDC) unless `authMethod` says otherwise: the `NuGet/login` action exchanges the job's GitHub Actions id-token for a nuget.org API key valid for one hour, so no long-lived key is stored. Register the policy from **your username \u2192 Trusted Publishing** on nuget.org, naming the package owner (you or an organization you are an active member of), the destination repository's owner and name, the workflow file the publish job runs from \u2014 `release-please.yml`, the workflow the automated release publishes from (register `sdk-release.yml` as a second publisher only if the manual re-publish workflow is used) \u2014 and the `releaseEnvironment` when one is set.\n\nThe policy also carries **scopes** and a package glob, which is what decides whether it may publish a package that does not exist yet: select the scope that allows publishing new packages, and a glob the package name matches, or the first release is rejected even though the policy is otherwise correct.\n\nOIDC still reads one secret here: `NUGET_USER`, the nuget.org profile name (not the account email) the login action authenticates as. A newly created policy is sometimes only provisionally active for 7 days \u2014 nuget.org says this usually happens for a private repository \u2014 and the first successful publish inside that window pins it permanently. The window can be restarted at any time, including after it lapses, so a policy that went inactive is recoverable rather than lost.\n\nSet `authMethod` to `access-token` to push with a [nuget.org API key](https://www.nuget.org/account/apikeys) stored as the `NUGET_API_KEY` repository secret instead. Repository secrets live under **Settings \u2192 Secrets and variables \u2192 Actions** in the destination repository; an environment secret of the same name overrides one there when `releaseEnvironment` is set.\n\n`dotnet nuget push` runs with `--skip-duplicate`, so re-publishing a version nuget.org already has is a no-op rather than an error."
1848
+ description: "Publishes the .NET package to nuget.org. `true` publishes with the defaults; an object tunes them.\n\nAuthenticates with [nuget.org trusted publishing](https://learn.microsoft.com/nuget/nuget-org/trusted-publishing) (OIDC) by default, which still reads the nuget.org profile name from the `NUGET_USER` repository secret. With `authMethod` set to `access-token` it pushes with a [nuget.org API key](https://www.nuget.org/account/apikeys) from the `NUGET_API_KEY` repository secret instead."
1779
1849
  }
1780
1850
  }
1781
1851
  },
@@ -1842,7 +1912,7 @@ var scalar_sdk_config_schema_default = {
1842
1912
  properties: {
1843
1913
  npm: {
1844
1914
  $ref: "#/$defs/npmRegistryConfig",
1845
- description: "npm publishing configuration for the generated CLI package, installed globally with `npm install -g`. `true` publishes with the defaults; an object tunes them.\n\nAuthentication matches the TypeScript target's npm publishing: [npm trusted publishing](https://docs.npmjs.com/trusted-publishers) (OIDC) by default, registered on the package's **Settings \u2192 Trusted Publisher** tab (`https://www.npmjs.com/package/<package>/access`) against the destination repository and the workflow file the publish job runs from \u2014 `release-please.yml`, the workflow the automated release publishes from (register `sdk-release.yml` as a second publisher only if the manual re-publish workflow is used). npm cannot register a publisher for a package that does not exist yet, so the first version publishes with `authMethod` set to `access-token` and an `NPM_TOKEN` repository secret \u2014 a [granular access token](https://docs.npmjs.com/creating-and-viewing-access-tokens) with **Read and write (publish and stage)** and **Bypass 2FA** on, since the *stage only* variant never publishes and 2FA otherwise answers the publish with an OTP prompt no workflow can satisfy. An unscoped package that does not exist yet cannot be picked in that token's package selector, so the first one needs **All packages**; see `targets.typescript.publish.npm`. npm is removing direct publishing with such a token in January 2027, so register the trusted publisher once the package exists and drop the override. Repository secrets live under **Settings \u2192 Secrets and variables \u2192 Actions** in the destination repository; an environment secret of the same name overrides one there when `releaseEnvironment` is set.\n\n`authMethod` and `releaseEnvironment` decide how the publish authenticates; `access` and `tag` decide what it publishes \u2014 the package's visibility and the dist-tag stable releases land on.\n\nPublishing skips a version npm already has instead of failing, so re-running a release \u2014 a re-merge, or the manual re-publish workflow \u2014 is safe."
1915
+ description: "Publishes the generated CLI to npm, installed globally with `npm install -g`. `true` publishes with the defaults; an object tunes them. `authMethod` and `releaseEnvironment` decide how the publish authenticates; `access` and `tag` decide what it publishes.\n\nAuthenticates with [npm trusted publishing](https://docs.npmjs.com/trusted-publishers) (OIDC) by default, registered on the package's **Settings \u2192 Trusted Publisher** tab (`https://www.npmjs.com/package/<package>/access`). With `authMethod` set to `access-token` it reads a [granular access token](https://docs.npmjs.com/creating-and-viewing-access-tokens) from the `NPM_TOKEN` repository secret instead, which the first release of a new package needs: npm only registers a trusted publisher on a package that already exists."
1846
1916
  },
1847
1917
  binaries: {
1848
1918
  $ref: "#/$defs/publishRegistryConfig",
@@ -1850,7 +1920,7 @@ var scalar_sdk_config_schema_default = {
1850
1920
  },
1851
1921
  homebrew: {
1852
1922
  $ref: "#/$defs/homebrewPublishConfig",
1853
- description: "Homebrew publishing configuration for CLI packages: a formula by default, or a cask with `cask`. Unlike every other registry this is not a boolean toggle: enabling it requires an object naming the `tapRepo` to push the formula to. `false` (or omitting the key) disables Homebrew publishing.\n\nThere is no registry account and no OIDC path here, so `authMethod` is unused. Each release clones the tap over HTTPS as `x-access-token` with the `HOMEBREW_TAP_TOKEN` repository secret, renders the formula into that clone, and commits it straight to the tap's default branch \u2014 or, with `pullRequest`, opens a pull request for it instead. The workflow's ambient `GITHUB_TOKEN` cannot stand in for that secret, because that token is scoped to the repository the workflow runs in and the tap is a different repository.\n\nSetting Homebrew publishing up, once:\n\n1. **Create the tap repository** and name it `homebrew-<tap>` \u2014 see `tapRepo` for the naming and visibility it needs.\n2. **Mint the token.** A [fine-grained personal access token](https://github.com/settings/personal-access-tokens/new) needs **Resource owner** set to the tap's owner (the user or organization, not the SDK repository's owner if they differ), **Repository access** set to *Only select repositories* \u2192 the tap, and one repository permission: **Contents: Read and write** \u2014 plus **Pull requests: Read and write** when `pullRequest` is set. **Metadata: Read-only** is added automatically alongside it; nothing else is required \u2014 no Administration, no Workflows, no account permissions. A classic token works too, with the `repo` scope (`public_repo` is enough for a public tap), but it carries that access to every repository its account can reach, which is why the fine-grained token is worth the extra minute.\n3. **Check the token can actually push.** A token never exceeds what its own account has, so that account needs write access to the tap, and a fine-grained token owned by an organization member may sit unusable until an organization owner approves it under the organization's personal-access-token policy.\n4. **Store it as `HOMEBREW_TAP_TOKEN`** in the *destination* repository \u2014 the one holding the generated SDK and its release workflows, not the tap \u2014 under **Settings \u2192 Secrets and variables \u2192 Actions \u2192 New repository secret**. A `HOMEBREW_TAP_GITHUB_TOKEN` secret is read when `HOMEBREW_TAP_TOKEN` is unset, so an existing one under that name works as it is. It is read by the release job in `release-please.yml`, and by `sdk-release.yml` if the manual re-publish workflow is used, so it has to be visible to both. When `releaseEnvironment` is set, an environment secret of the same name overrides the repository one.\n5. **Leave the push a way through.** By default the commit lands on the tap's default branch directly, so a branch protection rule or ruleset there that requires a pull request, a review, or a status check blocks the release at its final step. Either leave the tap's default branch unprotected, add a bypass for the token's account, or set `pullRequest` so the release opens a pull request instead \u2014 which also needs **Pull requests: Read and write** on the token.\n6. **Track the expiry.** A fine-grained token expires, and an expired one fails the release the moment it tries to reach the tap \u2014 on the clone, not the push, since that is where the credential is first used \u2014 after the version has already been published to every other registry, so the fix is a re-run rather than a clean retry. Renew it ahead of time, or choose a lifetime you will not be surprised by.\n\nOne requirement no token covers: the **destination** repository's release assets have to be fetchable anonymously. The Homebrew step re-downloads with a plain `curl` the executables the asset step uploaded moments earlier \u2014 that upload is authenticated, this download is not \u2014 and pins those same URLs into the formula. A private destination repository therefore fails the release on that download, and would publish a formula no `brew install` could fetch even if it did not.\n\nWith `binaries` off, the release builds and attaches only the four macOS and Linux archives the formula installs (`<binary>-<platform>.tar.gz`), with no Windows `.zip`: turn `binaries` on to publish that too.\n\nThe executables embed their runtime, so the formula declares no `depends_on` and `brew install` pulls in no Node. The formula (or cask) is rewritten in full each release, so the first release needs nothing in the tap beforehand, and a release that changes nothing skips the commit, so nothing is pushed and no pull request is opened."
1923
+ description: "Publishes the CLI to a Homebrew tap: a formula by default, or a cask with `cask`. This is not a boolean toggle: enabling it requires an object naming the `tapRepo` to push to, and `false` (or omitting the key) disables it.\n\nEach release commits the formula (or cask) to the tap's default branch, or opens a pull request for it with `pullRequest`. The push authenticates with a [fine-grained personal access token](https://github.com/settings/personal-access-tokens) stored as the `HOMEBREW_TAP_TOKEN` repository secret; a `HOMEBREW_TAP_GITHUB_TOKEN` secret is read when that is unset. There is no OIDC path, so `authMethod` is unused. The formula pins the destination repository's release asset URLs, so that repository has to be public.\n\nWith `binaries` off, the release still builds the four macOS and Linux archives the formula installs, but no Windows `.zip`."
1854
1924
  },
1855
1925
  signing: {
1856
1926
  $ref: "#/$defs/cliSigningConfig",
@@ -1877,7 +1947,7 @@ var scalar_sdk_config_schema_default = {
1877
1947
  properties: {
1878
1948
  cargo: {
1879
1949
  $ref: "#/$defs/publishRegistryConfig",
1880
- description: "crates.io publishing configuration for Rust crates. `true` publishes with the defaults; an object tunes them.\n\nReleases use [crates.io trusted publishing](https://crates.io/docs/trusted-publishing) (OIDC) unless `authMethod` says otherwise: the publish job exchanges its GitHub Actions id-token for a short-lived, crate-scoped token, so no `CARGO_REGISTRY_TOKEN` secret is stored. Register the publisher on the crate's **Settings \u2192 Trusted Publishing** tab (`https://crates.io/crates/<crate>/settings`), naming the destination repository's owner and name, the workflow file the publish job runs from \u2014 `release-please.yml`, the workflow the automated release publishes from (register `sdk-release.yml` as a second publisher only if the manual re-publish workflow is used) \u2014 and the `releaseEnvironment` when one is set.\n\ncrates.io has no pending-publisher flow, so the crate must already exist and be owned by you before a publisher can be registered: publish the first version with `authMethod` set to `access-token` and a [crates.io API token](https://crates.io/settings/tokens) stored as the `CARGO_REGISTRY_TOKEN` repository secret, then register the publisher and drop the override. Either way the publishing account needs a verified email address on its [account settings](https://crates.io/settings/profile) \u2014 crates.io rejects a publish from an account without one, whichever mechanism authenticates it. Repository secrets live under **Settings \u2192 Secrets and variables \u2192 Actions** in the destination repository; an environment secret of the same name overrides one there when `releaseEnvironment` is set.\n\nBefore publishing, the release workflow asks the crates.io API for the version and skips the upload when it is already there, so re-running a release \u2014 a re-merge, or the manual re-publish workflow \u2014 is safe."
1950
+ description: "Publishes the Rust crate to crates.io. `true` publishes with the defaults; an object tunes them.\n\nAuthenticates with [crates.io trusted publishing](https://crates.io/docs/trusted-publishing) (OIDC) by default, registered on the crate's settings (`https://crates.io/crates/<crate>/settings`). crates.io only registers a trusted publisher on a crate that already exists, so the first release sets `authMethod` to `access-token`, which reads a [crates.io API token](https://crates.io/settings/tokens) from the `CARGO_REGISTRY_TOKEN` repository secret."
1881
1951
  }
1882
1952
  }
1883
1953
  },
@@ -1886,7 +1956,7 @@ var scalar_sdk_config_schema_default = {
1886
1956
  properties: {
1887
1957
  go: {
1888
1958
  $ref: "#/$defs/publishRegistryConfig",
1889
- description: "Go module publishing configuration for Go modules. `true` publishes with the defaults; an object tunes them.\n\nGo has no registry to upload to and no account to set up: a module version *is* the `vX.Y.Z` git tag the release cuts, so nothing is published and no secret or `authMethod` applies. The generated release workflow only asks [proxy.golang.org](https://proxy.golang.org/) for the freshly tagged version, which caches the module and indexes it on [pkg.go.dev](https://pkg.go.dev/) immediately rather than on the first consumer's fetch. That warm-up is best-effort: it always runs, and a private destination repository \u2014 which the public proxy cannot see \u2014 leaves a warning annotation on the release run rather than failing it.\n\nConsumers install a release with `go get <module path>@v1.2.3`, where the module path is the `module` line of the generated `go.mod`: `github.com/<owner>/<repo>` unless `goModulePathOverride` sets another. A module in a private repository is not on the public proxy, so its consumers set `GOPRIVATE` (or use a private proxy) to fetch it."
1959
+ description: "Publishes the Go module. `true` publishes with the defaults; an object tunes them.\n\nA Go module version is the `vX.Y.Z` git tag the release cuts, so nothing is uploaded and no secret or `authMethod` applies. The release workflow only asks [proxy.golang.org](https://proxy.golang.org/) for the new version so it is indexed straight away. Consumers install it with `go get <module path>@v1.2.3`, where the module path is `github.com/<owner>/<repo>` unless `goModulePathOverride` sets another."
1890
1960
  }
1891
1961
  }
1892
1962
  },
@@ -1895,7 +1965,7 @@ var scalar_sdk_config_schema_default = {
1895
1965
  properties: {
1896
1966
  packagist: {
1897
1967
  $ref: "#/$defs/publishRegistryConfig",
1898
- description: "Packagist publishing configuration for PHP packages. `true` publishes with the defaults; an object tunes them.\n\nPackagist reads versions from the repository's git tags, so a release is the `vX.Y.Z` tag and nothing else: there is no upload step, no secret, and `authMethod` is unused. Submit the destination repository once at [packagist.org/packages/submit](https://packagist.org/packages/submit) and let Packagist install its GitHub hook (or enable the [GitHub integration](https://packagist.org/profile/) on your account); every later tag is picked up automatically.\n\nConsumers install it with `composer require <vendor>/<package>`."
1968
+ description: "Publishes the PHP package on Packagist. `true` publishes with the defaults; an object tunes them.\n\nPackagist reads versions from the repository's git tags, so a release is the `vX.Y.Z` tag: there is no upload step, no secret, and `authMethod` is unused. The destination repository has to be [submitted to Packagist](https://packagist.org/packages/submit) once."
1899
1969
  }
1900
1970
  }
1901
1971
  },
@@ -1904,7 +1974,7 @@ var scalar_sdk_config_schema_default = {
1904
1974
  properties: {
1905
1975
  swiftpm: {
1906
1976
  $ref: "#/$defs/publishRegistryConfig",
1907
- description: 'Swift Package Manager publishing configuration for Swift packages. `true` publishes with the defaults; an object tunes them.\n\nSwiftPM resolves packages straight from git, so a release is the `vX.Y.Z` tag and nothing else: there is no registry upload, no account, no secret, and `authMethod` is unused. Enabling it emits CI and release-please (tag, changelog, GitHub Release) without a publish workflow. Listing the package on the [Swift Package Index](https://swiftpackageindex.com/add-a-package) is a one-time manual step, not part of a release.\n\nConsumers add it to `Package.swift` as `.package(url: "https://github.com/<owner>/<repo>.git", from: "1.2.3")`, so the repository has to be reachable by them for SwiftPM to resolve the tag.'
1977
+ description: "Publishes the Swift package for Swift Package Manager. `true` publishes with the defaults; an object tunes them.\n\nSwiftPM resolves packages straight from git, so a release is the `vX.Y.Z` tag: there is no registry upload, no secret, and `authMethod` is unused. It records that the tag is the release and adds no workflow: CI and the release-please tag come from linking the repository under `destinations.production`."
1908
1978
  }
1909
1979
  }
1910
1980
  },
@@ -1913,7 +1983,7 @@ var scalar_sdk_config_schema_default = {
1913
1983
  properties: {
1914
1984
  pub: {
1915
1985
  $ref: "#/$defs/publishRegistryConfig",
1916
- description: "pub.dev publishing configuration for Dart packages. `true` publishes with the defaults; an object tunes them.\n\nReleases use [pub.dev automated publishing](https://dart.dev/tools/pub/automated-publishing) (OIDC) unless `authMethod` says otherwise: `dart pub publish` mints a short-lived credential from the job's GitHub Actions id-token, so no `PUB_TOKEN` secret is stored. Enable it on the package's **Admin \u2192 Automated publishing** tab (`https://pub.dev/packages/<package>/admin`), which needs you to be an uploader on the package.\n\npub.dev is the one registry that does not authorize by workflow filename: it authorizes a **repository plus a git tag pattern**, and accepts a publish only from a run that a matching tag push *triggered*. **The generated release workflow does not satisfy that today** \u2014 `release-please.yml` is triggered by the push to the release branch and checks the release tag out, and `sdk-release.yml` is `workflow_dispatch`, so neither run carries a tag-push event and pub.dev rejects the upload. `pub` nonetheless still *defaults* to `oidc`, so a Dart target has to say otherwise: publish with `authMethod` set to `access-token` and a [pub.dev token](https://dart.dev/tools/pub/publishing#publishing-from-ci) stored as the `PUB_TOKEN` repository secret, which the workflow registers with `dart pub token add` before the push. Uploader rights on the package are needed either way. Repository secrets live under **Settings \u2192 Secrets and variables \u2192 Actions** in the destination repository; an environment secret of the same name overrides one there when `releaseEnvironment` is set.\n\nBefore publishing, the release workflow asks the pub.dev API for the version and skips the upload when it is already there, so re-running a release \u2014 a re-merge, or the manual re-publish workflow \u2014 is safe."
1986
+ description: "Publishes the Dart package to pub.dev. `true` publishes with the defaults; an object tunes them.\n\n`authMethod` defaults to `oidc`, [pub.dev automated publishing](https://dart.dev/tools/pub/automated-publishing) configured on `https://pub.dev/packages/<package>/admin`, but the generated workflows cannot use it: pub.dev accepts an OIDC publish only from a run that a matching tag push triggered, and neither release workflow is one. Set `authMethod` to `access-token`, which reads a [pub.dev token](https://dart.dev/tools/pub/publishing#publishing-from-ci) from the `PUB_TOKEN` repository secret."
1917
1987
  }
1918
1988
  }
1919
1989
  },
@@ -2069,7 +2139,7 @@ var scalar_sdk_config_schema_default = {
2069
2139
  clientId: {
2070
2140
  type: "string",
2071
2141
  minLength: 1,
2072
- description: "Public OAuth client id registered for this CLI. Not a secret \u2014 a CLI is a public client, which is why the browser flow uses PKCE rather than a client secret \u2014 so it is baked into the generated source. A confidential secret must never be configured here; it would ship inside a published npm package.\n\nDeliberately not a `clientSettings.opts` entry carrying a `defaultValue`: an auth client option refuses defaults outright (see `ClientAuthField.defaultLiteral`) precisely so credentials cannot reach generated source, and routing a public identifier through that door would weaken the rule for every real credential."
2142
+ description: "Public OAuth client id registered for this CLI. Not a secret \u2014 a CLI is a public client, which is why the browser flow uses PKCE rather than a client secret \u2014 so it is baked into the generated source. A confidential secret must never be configured here; it would ship inside a published npm package.\n\nDeliberately not a `clientSettings.opts` entry carrying a `defaultValue`: an auth client option refuses defaults outright precisely so credentials cannot reach generated source, and routing a public identifier through that door would weaken the rule for every real credential."
2073
2143
  },
2074
2144
  redirectPort: {
2075
2145
  type: "integer",
@@ -2084,10 +2154,15 @@ var scalar_sdk_config_schema_default = {
2084
2154
  items: { type: "string" },
2085
2155
  description: "Scopes to request, overriding the ones the OpenAPI flow declares. A document tends to list every scope the API defines, which is more than a CLI needs; requesting all of them makes the consent screen alarming and the resulting token broader than it should be."
2086
2156
  },
2157
+ revocationUrl: {
2158
+ type: "string",
2159
+ minLength: 1,
2160
+ description: "Token revocation endpoint (RFC 7009) that `logout` calls after it has deleted the local credential. An OpenAPI flow object has no field for it, so besides this value a CLI learns it only from metadata the provider publishes: an `openIdConnect` scheme's discovery document, or the RFC 8414 document an `oauth2` scheme's `oauth2MetadataUrl` names, each through its `revocation_endpoint`. This value wins when both qualify, and the RFC 8414 document is then not read.\n\nAt sign-in a relative URL is resolved against the base URL exactly as the flow's `tokenUrl` is, so next to `https://api.example.com/v1/`, `oauth/revoke` becomes `https://api.example.com/v1/oauth/revoke`. The result is used only when it has the same origin (scheme, host and port) as the token endpoint that issued the token: this one value applies to every OAuth scheme the CLI signs into, and a token must never be sent to a provider that did not issue it. A discovered `revocation_endpoint` is held to the same rule. When nothing qualifies, `login` prints a warning and `logout` only deletes the local copy. An API whose authorization server is on another host therefore needs an absolute URL on that host: a relative `oauth/revoke` resolves against the API and is never used, which the `Config/UnusedRevocationUrl` diagnostic reports at generation time. The endpoint must also be HTTPS (a loopback host may use plain HTTP); anything else is refused before a token is sent.\n\nThe URL chosen at sign-in is saved with the credential, so a later `logout` revokes against the endpoint that issued the token rather than whatever a newer build names. A credential with no saved URL \u2014 saved by a CLI generated before this setting existed, by one with no endpoint to offer at sign-in, or by a sign-in that rejected the configured URL \u2014 falls back to this value: `logout` resolves it against the base URL it signs out of, as sign-in does (`logout --all` uses the base-URL environment variable if it is still set, or the configured base URL or environment URL, that the credential is filed under, or the saved base URL without its trailing slash for one saved under `--base-url` or a base-URL environment variable no longer set), and uses it only when it shares an origin with the credential's saved refresh endpoint and with the token endpoint of every grant of that scheme. That is the sign-in rule, so a URL a sign-in rejected is rejected again, and a credential from that sign-in is revoked only once a later build configures a URL that passes.\n\n`logout` sends the refresh token first (`token_type_hint=refresh_token`) and then the access token (`token_type_hint=access_token`), each with the stored `client_id`. It never sends a client secret \u2014 the CLI does not keep one \u2014 so a provider that requires confidential-client authentication on this endpoint refuses tokens obtained with the client-credentials grant. Revocation is best effort: when it fails (unreachable, timed out, refused), the credential is still gone from this machine, `logout` still succeeds, and the failure is printed as a warning."
2161
+ },
2087
2162
  issuer: {
2088
2163
  type: "string",
2089
2164
  pattern: "^(https://[^\\s/?#@]+|http://(localhost|127\\.0\\.0\\.1|\\[::1\\])(:[0-9]+)?)(/[^\\s?#]*)?$",
2090
- description: "Issuer identifier of the authorization server, e.g. `https://auth.example.com` \u2014 the value its metadata publishes as `issuer`. An `https` URL with no query, fragment or credentials; plain `http` is accepted only for a loopback host (`localhost`, `127.0.0.1`, `[::1]`), the same carve-out the generated CLI makes for a local development authorization server.\n\nWhen set, the browser sign-in requires the redirect back to the CLI to carry this value as its `iss` parameter ([RFC 9207](https://www.rfc-editor.org/rfc/rfc9207)), and ends the sign-in without storing anything when it is missing or names another server. That is the defence against a mix-up attack, where a client that trusts more than one provider is tricked into sending a code one provider issued to the token endpoint of another. Set it only when the provider sends `iss` on its redirects, or every sign-in fails. Like `clientId`, it applies to every browser sign-in the CLI offers \u2014 the OAuth authorization-code grant and OpenID Connect alike \u2014 so it suits a document whose browser-flow schemes share one provider. Where an `openIdConnect` scheme's discovery URL is built from another issuer (`<issuer>/.well-known/openid-configuration`), that sign-in could never succeed, so the CLI leaves its OpenID Connect flow out and generation reports `Config/OidcIssuerMismatch`; a discovery URL spelled any other way names no issuer, so the flow is kept and a mismatch fails at sign-in instead. A trailing slash is the one spelling difference tolerated.\n\nOpenID Connect sign-ins verify the issuer without this setting, from the discovery document: its `issuer` must match the URL it was fetched from, the redirect's `iss` must match it whenever one is sent (and must be sent when the document advertises `authorization_response_iss_parameter_supported`), and an ID token the token endpoint returns must name it, be issued to this `clientId` (and, when it names an authorized party `azp` \u2014 which it must when it lists several audiences \u2014 name this `clientId` there too), be unexpired, and echo the `nonce` the sign-in sent. The ID token's signature is not checked: it arrives straight from the token endpoint over a TLS connection the CLI validated, which OpenID Connect Core section 3.1.3.7 accepts in place of a signature check, and it keeps the generated CLI free of key-set fetching. Setting `issuer` for an OpenID Connect scheme also pins the discovered issuer to it."
2165
+ description: "Issuer identifier of the authorization server, e.g. `https://auth.example.com` \u2014 the value its metadata publishes as `issuer`. An `https` URL with no query, fragment or credentials; plain `http` is accepted only for a loopback host (`localhost`, `127.0.0.1`, `[::1]`), the same carve-out the generated CLI makes for a local development authorization server.\n\nWhen set, the browser sign-in requires the redirect back to the CLI to carry this value as its `iss` parameter ([RFC 9207](https://www.rfc-editor.org/rfc/rfc9207)), and ends the sign-in without storing anything when it is missing or names another server. That is the defence against a mix-up attack, where a client that trusts more than one provider is tricked into sending a code one provider issued to the token endpoint of another. Set it only when the provider sends `iss` on its redirects, or every sign-in fails. Like `clientId`, it applies to every browser sign-in the CLI offers \u2014 the OAuth authorization-code grant and OpenID Connect alike \u2014 so it suits a document whose browser-flow schemes share one provider. Where an `openIdConnect` scheme's discovery URL is built from another issuer (`<issuer>/.well-known/openid-configuration`), that sign-in could never succeed, so the CLI leaves its OpenID Connect flow out and generation reports `Config/OidcIssuerMismatch`; a discovery URL spelled any other way names no issuer, so the flow is kept and a mismatch fails at sign-in instead. A trailing slash is the one spelling difference tolerated. A device sign-in that reads its endpoints from a scheme's `oauth2MetadataUrl` holds that metadata document's `issuer` to this value as well, and stops before contacting the endpoints it names when the two differ.\n\nOpenID Connect sign-ins verify the issuer without this setting, from the discovery document: its `issuer` must match the URL it was fetched from, the redirect's `iss` must match it whenever one is sent (and must be sent when the document advertises `authorization_response_iss_parameter_supported`), and an ID token the token endpoint returns must name it, be issued to this `clientId` (and, when it names an authorized party `azp` \u2014 which it must when it lists several audiences \u2014 name this `clientId` there too), be unexpired, and echo the `nonce` the sign-in sent. The ID token's signature is not checked: it arrives straight from the token endpoint over a TLS connection the CLI validated, which OpenID Connect Core section 3.1.3.7 accepts in place of a signature check, and it keeps the generated CLI free of key-set fetching. Setting `issuer` for an OpenID Connect scheme also pins the discovered issuer to it."
2091
2166
  }
2092
2167
  },
2093
2168
  required: ["clientId"]
@@ -2126,11 +2201,11 @@ var scalar_sdk_config_schema_default = {
2126
2201
  },
2127
2202
  defaultFormat: {
2128
2203
  type: "string",
2129
- description: "Default output format for CLI target generation."
2204
+ description: "Default `--format` for generated commands: `auto`, `json`, `jsonl`, `pretty`, `raw`, `toon`, or `yaml`. Any other value falls back to `auto`."
2130
2205
  },
2131
2206
  defaultErrorFormat: {
2132
2207
  type: "string",
2133
- description: "Default error output format for CLI target generation."
2208
+ description: "Default output format for errors from generated commands: `auto`, `json`, `jsonl`, `pretty`, `raw`, `toon`, or `yaml`. Any other value falls back to `auto`."
2134
2209
  },
2135
2210
  shellCompletions: {
2136
2211
  type: "boolean",
@@ -2144,7 +2219,7 @@ var scalar_sdk_config_schema_default = {
2144
2219
  },
2145
2220
  publish: {
2146
2221
  $ref: "#/$defs/cliPublishConfig",
2147
- description: "CLI publishing configuration: three independent channels, in any combination. `npm` publishes the package for `npm install -g`, where it stays a normal Node CLI; `binaries` attaches standalone executables to the GitHub Release for direct download; and `homebrew` renders a formula \u2014 or, with `cask`, a cask \u2014 into a tap that installs those same executables. Each is configured separately, below. `signing` sits beside them but is not a channel: it signs the macOS executables that `binaries` and `homebrew` ship."
2222
+ description: "CLI publishing configuration: three independent channels, in any combination. `npm` publishes the package for `npm install -g`, where it stays a normal Node CLI; `binaries` attaches standalone executables to the GitHub Release for direct download; and `homebrew` renders a formula \u2014 or, with `cask`, a cask \u2014 into a tap that installs those same executables. Each is configured separately, below. `signing` sits beside them but is not a channel: it signs the macOS executables that `binaries` and `homebrew` ship. All of the channels publish from one job, so the first registry entry that names a `releaseEnvironment` decides it for every channel and later ones are ignored."
2148
2223
  },
2149
2224
  credentialStore: {
2150
2225
  $ref: "#/$defs/cliCredentialStoreConfig",
@@ -2181,15 +2256,15 @@ var scalar_sdk_config_schema_default = {
2181
2256
  title: "Rust"
2182
2257
  },
2183
2258
  java: {
2184
- $ref: "#/$defs/jvmTargetConfig",
2259
+ $ref: "#/$defs/javaTargetConfig",
2185
2260
  description: "Java SDK target config.",
2186
- "x-scalar-stability": "experimental",
2261
+ "x-scalar-stability": "stable",
2187
2262
  title: "Java"
2188
2263
  },
2189
2264
  kotlin: {
2190
2265
  $ref: "#/$defs/jvmTargetConfig",
2191
2266
  description: "Kotlin SDK target config.",
2192
- "x-scalar-stability": "experimental",
2267
+ "x-scalar-stability": "stable",
2193
2268
  title: "Kotlin"
2194
2269
  },
2195
2270
  swift: {
@@ -2201,7 +2276,7 @@ var scalar_sdk_config_schema_default = {
2201
2276
  ruby: {
2202
2277
  $ref: "#/$defs/rubyTargetConfig",
2203
2278
  description: "Ruby SDK target config.",
2204
- "x-scalar-stability": "experimental",
2279
+ "x-scalar-stability": "stable",
2205
2280
  title: "Ruby"
2206
2281
  },
2207
2282
  php: {
@@ -2262,7 +2337,7 @@ var scalar_sdk_config_schema_default = {
2262
2337
  },
2263
2338
  readEnv: {
2264
2339
  type: "string",
2265
- description: "Environment variable consulted as a fallback, e.g. `HONCHO_API_KEY`."
2340
+ description: "Environment variable consulted as a fallback, e.g. `ACME_API_KEY`."
2266
2341
  },
2267
2342
  securityScheme: {
2268
2343
  type: "string",
@@ -2567,6 +2642,13 @@ var scalar_sdk_config_schema_default = {
2567
2642
  },
2568
2643
  description: "Overrides `components.securitySchemes`, keyed by scheme id."
2569
2644
  },
2645
+ securitySchemeSettings: {
2646
+ type: "object",
2647
+ additionalProperties: {
2648
+ $ref: "#/$defs/securitySchemeSettings"
2649
+ },
2650
+ description: "Settings layered onto the security schemes the document declares, keyed by scheme id. Unlike `securitySchemes`, an entry does not replace the scheme: the document's own type, flows and URLs stay as they are, and the entry adds what an OpenAPI security scheme cannot say. A key naming no OAuth 2.0 or OpenID Connect scheme does nothing, and generation reports it as `Config/UnusedSecuritySchemeSettings`."
2651
+ },
2570
2652
  operationSecurity: {
2571
2653
  type: "boolean",
2572
2654
  description: "When true, operation-level security requirements are used in place of document-level security requirements."
@@ -2781,6 +2863,27 @@ var scalar_sdk_config_schema_default = {
2781
2863
  apiKeyLocation: {
2782
2864
  enum: ["query", "header", "cookie"]
2783
2865
  },
2866
+ securitySchemeSettings: {
2867
+ type: "object",
2868
+ additionalProperties: false,
2869
+ description: "Settings an OpenAPI security scheme object has no field for, layered onto one OAuth 2.0 or OpenID Connect scheme. Every target that requests tokens for the scheme reads them, so they are set once here rather than per target.",
2870
+ properties: {
2871
+ resource: {
2872
+ type: "array",
2873
+ minItems: 1,
2874
+ items: {
2875
+ type: "string",
2876
+ pattern: '^(?:[A-Za-z][A-Za-z0-9+.-]*://[!"$-.0-9;->A-~][!"$-~]*|[Uu][Rr][Nn]:[A-Za-z0-9][A-Za-z0-9-]{0,30}[A-Za-z0-9]:[!"$-~]+)$'
2877
+ },
2878
+ description: "Resource indicators (RFC 8707) naming the API a token for this scheme is requested for, e.g. `https://api.example.com`. Each is sent as its own `resource` parameter \u2014 the key repeats, `resource=a&resource=b` \u2014 on every token request a generated client makes for this scheme: the Rust SDK's client-credentials exchange, and every request the CLI's `login` makes \u2014 the authorization URL the browser opens, the device authorization request, and every token-endpoint call, including the silent refresh ahead of an ordinary command. An authorization server that serves several APIs uses it to issue a token meant for this one, rather than one any of its APIs would accept.\n\nEach value must be an absolute URI with no fragment, as RFC 8707 \xA72 requires, and is checked for one of two shapes: `scheme://authority\u2026`, where the authority's first character is not `:`, `/`, `?`, `#` or `@` (so `https://`, `https:///x` and `https://:443` fail), or a URN, `urn:<nid>:<nss>`, whose namespace id is 2\u201332 letters, digits or inner hyphens and whose specific string is not empty. Every character must be printable ASCII other than space and `#`, so an internationalized host has to be written in punycode (`https://xn--bcher-kva.example`, not `https://b\xFCcher.example`). Anything else \u2014 a relative path, a bare host name with or without a port (`api.example.com:8443`), `mailto:` and other schemes without an authority \u2014 is rejected here rather than by the provider at sign-in. Public by design, and baked into the generated source.\n\nFor a provider that reads the non-standard `audience` parameter instead, set `audience`; set both only when the provider documents both."
2879
+ },
2880
+ audience: {
2881
+ type: "string",
2882
+ minLength: 1,
2883
+ description: "Value of the `audience` parameter sent on every token request a generated client makes for this scheme: the Rust SDK's client-credentials exchange, and every request the CLI's `login` makes \u2014 the authorization URL the browser opens, the device authorization request, and every token-endpoint call, the refresh included. It is not part of any OAuth RFC: several hosted identity providers read it in place of the standard `resource` indicator to decide which API a token is issued for, and without it they issue a token that API rejects, or one that is not a JWT at all. Prefer `resource` for a provider that implements RFC 8707. Public by design, and baked into the generated source."
2884
+ }
2885
+ }
2886
+ },
2784
2887
  securitySchemeObject: {
2785
2888
  type: "object",
2786
2889
  additionalProperties: true,
@@ -2808,6 +2911,10 @@ var scalar_sdk_config_schema_default = {
2808
2911
  },
2809
2912
  openIdConnectUrl: {
2810
2913
  type: "string"
2914
+ },
2915
+ oauth2MetadataUrl: {
2916
+ type: "string",
2917
+ description: "URL of the authorization server's metadata document ([RFC 8414](https://www.rfc-editor.org/rfc/rfc8414)), the OpenAPI 3.2 field of the same name \u2014 usually `<issuer origin>/.well-known/oauth-authorization-server`, or an OpenID Connect `/.well-known/openid-configuration` document. For an `oauth2` scheme only.\n\nThe flows still say which grants the API supports; the metadata says where they are. OpenAPI 3.2 requires a `deviceAuthorization` flow to name both a `deviceAuthorizationUrl` and a `tokenUrl`, and a flow that does is used as written: this document is not read. It fills in only for a device flow that leaves one or both out, which that requirement does not strictly allow. For such a flow a generated CLI still offers device sign-in, and at sign-in reads the `device_authorization_endpoint` and `token_endpoint` from this document instead; a flow that names only one of them has it replaced too, since the issuer check vouches only for endpoints the document itself names. Before using it, the CLI checks that the document's `issuer` is the one its URL was built from (RFC 8414 section 3.3) \u2014 and the configured `targets.cli.credentialStore.oauth.issuer`, when one is set \u2014 and refuses an `http` URL off loopback. Unlike an `openIdConnect` discovery URL, a configured issuer that contradicts this URL is not reported at generation time; the sign-in fails with that mismatch instead.\n\nA generated CLI also reads this document's `revocation_endpoint` at sign-in, for every grant of the scheme, so `logout` can revoke the token (RFC 7009) \u2014 unless `targets.cli.credentialStore.oauth.revocationUrl` already qualifies, in which case the document is not read for it. That read passes the same issuer checks, and the endpoint must share an origin with the token endpoint that issued the token. It never fails the sign-in: when the document cannot be read in time or fails its issuer checks, `login` warns that `logout` will only forget the credential locally, and an advertised endpoint on another origin is simply not used. A device sign-in that read its endpoints from this document takes the revocation endpoint from that same response."
2811
2918
  }
2812
2919
  }
2813
2920
  },
@@ -2980,12 +3087,12 @@ var scalar_sdk_config_schema_default = {
2980
3087
  }
2981
3088
  };
2982
3089
 
2983
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/reserved-publish-keys.js
3090
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/reserved-publish-keys.js
2984
3091
  var RESERVED_PUBLISH_KEYS = ["signing"];
2985
3092
  var reserved = new Set(RESERVED_PUBLISH_KEYS);
2986
3093
  var isReservedPublishKey = (key) => reserved.has(key);
2987
3094
 
2988
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/target-languages.js
3095
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/target-languages.js
2989
3096
  var TARGET_LANGUAGES = [
2990
3097
  "typescript",
2991
3098
  "python",
@@ -3005,7 +3112,7 @@ var WEBSOCKET_RUNTIME_TARGETS = ["typescript", "python", "rust", "cli"];
3005
3112
  var GRPC_RUNTIME_TARGETS = ["typescript"];
3006
3113
  var targetLanguageSet = new Set(TARGET_LANGUAGES);
3007
3114
 
3008
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/target-fields.js
3115
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/target-fields.js
3009
3116
  var resolveSchemaRef = (node) => {
3010
3117
  if (typeof node !== "object" || node === null)
3011
3118
  return void 0;
@@ -3029,15 +3136,15 @@ var targetSchemaFields = (target) => resolveSchemaRef(targetSchemaNode(target))?
3029
3136
  var targetsDeclaringField = (field) => {
3030
3137
  const targetProperties = targetSchemaNodes();
3031
3138
  return new Set(TARGET_LANGUAGES.filter((target) => {
3032
- const targetConfig2 = Object.hasOwn(targetProperties, target) ? resolveSchemaRef(targetProperties[target]) : void 0;
3033
- const properties = targetConfig2?.["properties"];
3139
+ const targetConfig = Object.hasOwn(targetProperties, target) ? resolveSchemaRef(targetProperties[target]) : void 0;
3140
+ const properties = targetConfig?.["properties"];
3034
3141
  return typeof properties === "object" && properties !== null && Object.hasOwn(properties, field);
3035
3142
  }));
3036
3143
  };
3037
3144
  var PACKAGE_NAME_TARGETS = targetsDeclaringField("packageName");
3038
3145
  var PRERELEASE_TYPE_TARGETS = targetsDeclaringField("prereleaseType");
3039
3146
 
3040
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/publish-registries.js
3147
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/publish-registries.js
3041
3148
  var targetPublishRegistryNodes = (target) => {
3042
3149
  const publish = resolveSchemaRef(targetSchemaFields(target)["publish"]);
3043
3150
  return publish?.["properties"];
@@ -3083,7 +3190,7 @@ var targetRegistryOptions = new Map(Object.entries(derivePublishRegistryOptions(
3083
3190
  new Map(Object.entries(registries))
3084
3191
  ]));
3085
3192
 
3086
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/target-stability.js
3193
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/target-stability.js
3087
3194
  var STABILITY_VALUES = ["stable", "experimental", "stub"];
3088
3195
  var isStability = (value) => typeof value === "string" && STABILITY_VALUES.includes(value);
3089
3196
  var TARGET_STABILITY = Object.freeze(Object.fromEntries(TARGET_LANGUAGES.map((language) => {
@@ -3091,7 +3198,7 @@ var TARGET_STABILITY = Object.freeze(Object.fromEntries(TARGET_LANGUAGES.map((la
3091
3198
  return [language, isStability(declared) ? declared : "experimental"];
3092
3199
  })));
3093
3200
 
3094
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/target-catalog.js
3201
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/target-catalog.js
3095
3202
  var PACKAGE_NAME_FIELDS = ["composerPackageName", "gemName", "packageName"];
3096
3203
  var targetTitle = (language) => {
3097
3204
  const value = targetSchemaNode(language)?.["title"];
@@ -3115,10 +3222,10 @@ var describeTarget = (language) => {
3115
3222
  };
3116
3223
  var TARGETS = Object.freeze(Object.fromEntries(TARGET_LANGUAGES.map((language) => [language, describeTarget(language)])));
3117
3224
 
3118
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/coerce-config.js
3225
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/coerce-config.js
3119
3226
  import { parse as parseYaml } from "yaml";
3120
3227
 
3121
- // ../../node_modules/.pnpm/@scalar+sdk-helpers@0.7.5/node_modules/@scalar/sdk-helpers/dist/initialisms.js
3228
+ // ../../node_modules/.pnpm/@scalar+sdk-helpers@0.8.0/node_modules/@scalar/sdk-helpers/dist/initialisms.js
3122
3229
  var DEFAULT_INITIALISMS = [
3123
3230
  "acl",
3124
3231
  "ach",
@@ -3138,7 +3245,7 @@ var DEFAULT_INITIALISMS = [
3138
3245
  "cors",
3139
3246
  "cpu",
3140
3247
  // 'db' is not in golint's set but reference SDKs uppercase it wholesale in
3141
- // spec-derived names (steel.dev's browser-storage schemas emit `IndexedDB`,
3248
+ // spec-derived names (one API's browser-storage schemas emit `IndexedDB`,
3142
3249
  // `IndexedDBDataRecord`, `SessionContextIndexedDB`, never `IndexedDb`).
3143
3250
  "db",
3144
3251
  "dns",
@@ -3162,7 +3269,7 @@ var DEFAULT_INITIALISMS = [
3162
3269
  "lhs",
3163
3270
  "mtls",
3164
3271
  // 'nft' is not in golint's set but is a universally-recognized acronym; SDK
3165
- // specs (e.g. CoinGecko) name schemas `NFTData`/`NFTsList`, and idiomatic
3272
+ // specs (e.g. a crypto-market API) name schemas `NFTData`/`NFTsList`, and idiomatic
3166
3273
  // output preserves them as `NFTData`/`NFTs`, not `NftData`/`Nfts`. The plural
3167
3274
  // `nfts` → `NFTs` is auto-registered by the plural pass below.
3168
3275
  "nft",
@@ -3219,7 +3326,7 @@ var defaultInitialismCasing = (() => {
3219
3326
  return map;
3220
3327
  })();
3221
3328
 
3222
- // ../../node_modules/.pnpm/@scalar+sdk-helpers@0.7.5/node_modules/@scalar/sdk-helpers/dist/split-into-words.js
3329
+ // ../../node_modules/.pnpm/@scalar+sdk-helpers@0.8.0/node_modules/@scalar/sdk-helpers/dist/split-into-words.js
3223
3330
  var wordCache = /* @__PURE__ */ new Map();
3224
3331
  var DIGIT_UPPERCASE_SEAM = /([0-9])([A-Z]+)/g;
3225
3332
  var ANY_DIGIT_SEAM = /([0-9])([A-Z])/g;
@@ -3258,7 +3365,7 @@ var splitIntoWords = (input) => {
3258
3365
  return words;
3259
3366
  };
3260
3367
 
3261
- // ../../node_modules/.pnpm/@scalar+sdk-helpers@0.7.5/node_modules/@scalar/sdk-helpers/dist/casing.js
3368
+ // ../../node_modules/.pnpm/@scalar+sdk-helpers@0.8.0/node_modules/@scalar/sdk-helpers/dist/casing.js
3262
3369
  var ensureLeadingLetter = (value) => {
3263
3370
  if (value.length === 0)
3264
3371
  return "_";
@@ -3269,35 +3376,36 @@ var pascalCase = (input) => {
3269
3376
  return ensureLeadingLetter(result);
3270
3377
  };
3271
3378
 
3272
- // ../../node_modules/.pnpm/@scalar+sdk-helpers@0.7.5/node_modules/@scalar/sdk-helpers/dist/proto-names.js
3379
+ // ../../node_modules/.pnpm/@scalar+sdk-helpers@0.8.0/node_modules/@scalar/sdk-helpers/dist/proto-names.js
3273
3380
  var PROTO_IDENTIFIER_PATTERN = "[A-Za-z_][A-Za-z0-9_]*";
3274
3381
  var PROTO_QUALIFIED_NAME_PATTERN = String.raw`${PROTO_IDENTIFIER_PATTERN}(?:\.${PROTO_IDENTIFIER_PATTERN})*`;
3275
3382
  var PROTO_IDENTIFIER = new RegExp(`^${PROTO_IDENTIFIER_PATTERN}$`, "u");
3276
3383
  var PROTO_QUALIFIED_NAME = new RegExp(`^${PROTO_QUALIFIED_NAME_PATTERN}$`, "u");
3277
3384
 
3278
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/helpers/resolve-ref.js
3385
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/helpers/resolve-ref.js
3279
3386
  import { getResolvedRef, mergeSiblingReferences } from "@scalar/workspace-store/helpers/get-resolved-ref";
3280
3387
 
3281
- // ../../node_modules/.pnpm/@scalar+openapi-loader@0.6.13_typescript@7.0.2/node_modules/@scalar/openapi-loader/dist/assert-supported-openapi.js
3388
+ // ../../node_modules/.pnpm/@scalar+openapi-loader@0.7.1_typescript@7.0.2/node_modules/@scalar/openapi-loader/dist/assert-supported-openapi.js
3282
3389
  import { getResolvedRef as getResolvedRef2, mergeSiblingReferences as mergeSiblingReferences2 } from "@scalar/workspace-store/helpers/get-resolved-ref";
3283
3390
 
3284
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/generate-default-config.js
3391
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/generate-default-config.js
3285
3392
  import { isAsyncApiDocument } from "@scalar/workspace-store/schemas";
3286
3393
 
3287
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/scalar-sdk.config.validator.js
3288
- var validateClientSettings = validate187;
3289
- var validateGlobalSettings = validate191;
3290
- var validatePaginationConfig = validate192;
3291
- var schema155 = { "type": "object", "properties": { "agentSkill": { "type": "boolean", "default": true }, "fileHeader": { "type": "string" }, "license": { "type": "string" }, "unwrapResponseFields": { "type": "array", "items": { "type": "string" } }, "positionalParams": { "type": "string", "enum": ["all", "none", "last"] }, "ordering": { "type": "string", "default": "config", "enum": ["config", "openapi", "crud"] }, "requireWebsocketDependencies": { "type": "boolean" }, "unwrapMultipropertyResponseFields": { "type": "boolean" } } };
3292
- var schema43 = { "oneOf": [{ "type": "string" }, { "type": "object", "properties": { "default": { "type": "string" }, "typescript": { "type": "string" }, "python": { "type": "string" }, "go": { "type": "string" }, "rust": { "type": "string" }, "java": { "type": "string" }, "kotlin": { "type": "string" }, "swift": { "type": "string" }, "ruby": { "type": "string" }, "php": { "type": "string" }, "csharp": { "type": "string" }, "cpp": { "type": "string" }, "dart": { "type": "string" } }, "additionalProperties": false, "minProperties": 1 }] };
3394
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/scalar-sdk.config.validator.js
3395
+ var validateClientSettings = validate195;
3396
+ var validateGlobalSettings = validate199;
3397
+ var validatePaginationConfig = validate200;
3398
+ var schema162 = { "type": "object", "properties": { "agentSkill": { "type": "boolean", "default": true }, "fileHeader": { "type": "string" }, "license": { "type": "string" }, "unwrapResponseFields": { "type": "array", "items": { "type": "string" } }, "positionalParams": { "type": "string", "enum": ["all", "none", "last"] }, "ordering": { "type": "string", "default": "config", "enum": ["config", "openapi", "crud"] }, "requireWebsocketDependencies": { "type": "boolean" }, "unwrapMultipropertyResponseFields": { "type": "boolean" } } };
3399
+ var schema44 = { "oneOf": [{ "type": "string" }, { "type": "object", "properties": { "default": { "type": "string" }, "typescript": { "type": "string" }, "python": { "type": "string" }, "go": { "type": "string" }, "rust": { "type": "string" }, "java": { "type": "string" }, "kotlin": { "type": "string" }, "swift": { "type": "string" }, "ruby": { "type": "string" }, "php": { "type": "string" }, "csharp": { "type": "string" }, "cpp": { "type": "string" }, "dart": { "type": "string" } }, "additionalProperties": false, "minProperties": 1 }] };
3293
3400
  var schema35 = { "enum": ["http", "alias", "websocket", "webhookUnwrap", "helper"] };
3294
3401
  var schema36 = { "enum": ["delete", "get", "head", "options", "patch", "post", "put", "trace"] };
3295
- var schema46 = { "type": "object", "properties": { "channel": { "type": "string" }, "operations": { "type": "array", "items": { "type": "string" } }, "perspective": { "enum": ["provider", "client"], "default": "provider" } }, "required": ["channel"] };
3296
- var schema47 = { "type": "object", "properties": { "eventTypes": { "type": "object", "additionalProperties": { "type": "string" } }, "webhookKeyOpt": { "anyOf": [{ "type": "string" }, { "const": false }] }, "signatureAlgorithm": { "enum": ["hmac-sha1", "hmac-sha256", "hmac-sha512", "ed25519", "rsa-sha256"], "default": "hmac-sha256" }, "signatureHeader": { "type": "string", "default": "webhook-signature" }, "timestampHeader": { "type": "string" }, "toleranceSeconds": { "type": "number" }, "discriminator": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" } }, "required": ["eventTypes"] };
3297
- var schema48 = { "type": "object", "properties": { "type": { "enum": ["http"] }, "summary": { "type": "string" }, "description": { "type": "string" } }, "required": ["type"] };
3402
+ var schema47 = { "type": "object", "properties": { "channel": { "type": "string" }, "operations": { "type": "array", "items": { "type": "string" } }, "perspective": { "enum": ["provider", "client"], "default": "provider" } }, "required": ["channel"] };
3403
+ var schema48 = { "type": "object", "properties": { "eventTypes": { "type": "object", "additionalProperties": { "type": "string" } }, "webhookKeyOpt": { "anyOf": [{ "type": "string" }, { "const": false }] }, "signatureAlgorithm": { "enum": ["hmac-sha1", "hmac-sha256", "hmac-sha512", "ed25519", "rsa-sha256"], "default": "hmac-sha256" }, "signatureHeader": { "type": "string", "default": "webhook-signature" }, "timestampHeader": { "type": "string" }, "toleranceSeconds": { "type": "number" }, "discriminator": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" } }, "required": ["eventTypes"] };
3404
+ var schema49 = { "type": "object", "properties": { "type": { "enum": ["http"] }, "summary": { "type": "string" }, "description": { "type": "string" } }, "required": ["type"] };
3298
3405
  var pattern4 = new RegExp("^((delete|get|head|options|patch|post|put|trace) .+|grpc [A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*/[A-Za-z_][A-Za-z0-9_]*)$", "u");
3299
3406
  var schema39 = { "enum": ["sse", "jsonl"] };
3300
- var schema41 = { "enum": ["typescript", "python", "go", "rust", "java", "kotlin", "swift", "ruby", "cli", "php", "csharp", "cpp", "dart"] };
3407
+ var schema40 = { "enum": ["typescript", "python", "go", "rust", "java", "kotlin", "swift", "ruby", "cli", "php", "csharp", "cpp", "dart"] };
3408
+ var pattern5 = new RegExp("^[A-Za-z_][A-Za-z0-9_]*$", "u");
3301
3409
  function validate24(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
3302
3410
  let vErrors = null;
3303
3411
  let errors = 0;
@@ -3313,7 +3421,7 @@ function validate24(data, { instancePath = "", parentData, parentDataProperty, r
3313
3421
  for (let i0 = 0; i0 < len0; i0++) {
3314
3422
  let data0 = data[i0];
3315
3423
  if (!(data0 === "typescript" || data0 === "python" || data0 === "go" || data0 === "rust" || data0 === "java" || data0 === "kotlin" || data0 === "swift" || data0 === "ruby" || data0 === "cli" || data0 === "php" || data0 === "csharp" || data0 === "cpp" || data0 === "dart")) {
3316
- const err0 = { instancePath: instancePath + "/" + i0, schemaPath: "#/$defs/targetLanguage/enum", keyword: "enum", params: { allowedValues: schema41.enum }, message: "must be equal to one of the allowed values" };
3424
+ const err0 = { instancePath: instancePath + "/" + i0, schemaPath: "#/$defs/targetLanguage/enum", keyword: "enum", params: { allowedValues: schema40.enum }, message: "must be equal to one of the allowed values" };
3317
3425
  if (vErrors === null) {
3318
3426
  vErrors = [err0];
3319
3427
  } else {
@@ -3442,6 +3550,80 @@ function validate23(data, { instancePath = "", parentData, parentDataProperty, r
3442
3550
  }
3443
3551
  }
3444
3552
  }
3553
+ if (data.methodNames !== void 0) {
3554
+ let data4 = data.methodNames;
3555
+ if (data4 && typeof data4 == "object" && !Array.isArray(data4)) {
3556
+ for (const key0 in data4) {
3557
+ const _errs11 = errors;
3558
+ if (!(key0 === "typescript" || key0 === "python" || key0 === "go" || key0 === "rust" || key0 === "java" || key0 === "kotlin" || key0 === "swift" || key0 === "ruby" || key0 === "cli" || key0 === "php" || key0 === "csharp" || key0 === "cpp" || key0 === "dart")) {
3559
+ const err4 = { instancePath: instancePath + "/methodNames", schemaPath: "#/$defs/targetLanguage/enum", keyword: "enum", params: { allowedValues: schema40.enum }, message: "must be equal to one of the allowed values", propertyName: key0 };
3560
+ if (vErrors === null) {
3561
+ vErrors = [err4];
3562
+ } else {
3563
+ vErrors.push(err4);
3564
+ }
3565
+ errors++;
3566
+ }
3567
+ var valid2 = _errs11 === errors;
3568
+ if (!valid2) {
3569
+ const err5 = { instancePath: instancePath + "/methodNames", schemaPath: "#/properties/methodNames/propertyNames", keyword: "propertyNames", params: { propertyName: key0 }, message: "property name must be valid" };
3570
+ if (vErrors === null) {
3571
+ vErrors = [err5];
3572
+ } else {
3573
+ vErrors.push(err5);
3574
+ }
3575
+ errors++;
3576
+ }
3577
+ }
3578
+ for (const key1 in data4) {
3579
+ let data5 = data4[key1];
3580
+ if (typeof data5 !== "string") {
3581
+ let dataType3 = typeof data5;
3582
+ let coerced3 = void 0;
3583
+ if (!(coerced3 !== void 0)) {
3584
+ if (dataType3 == "number" || dataType3 == "boolean") {
3585
+ coerced3 = "" + data5;
3586
+ } else if (data5 === null) {
3587
+ coerced3 = "";
3588
+ } else {
3589
+ const err6 = { instancePath: instancePath + "/methodNames/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/methodNames/additionalProperties/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3590
+ if (vErrors === null) {
3591
+ vErrors = [err6];
3592
+ } else {
3593
+ vErrors.push(err6);
3594
+ }
3595
+ errors++;
3596
+ }
3597
+ }
3598
+ if (coerced3 !== void 0) {
3599
+ data5 = coerced3;
3600
+ if (data4 !== void 0) {
3601
+ data4[key1] = coerced3;
3602
+ }
3603
+ }
3604
+ }
3605
+ if (typeof data5 === "string") {
3606
+ if (!pattern5.test(data5)) {
3607
+ const err7 = { instancePath: instancePath + "/methodNames/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/methodNames/additionalProperties/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z_][A-Za-z0-9_]*$" }, message: 'must match pattern "^[A-Za-z_][A-Za-z0-9_]*$"' };
3608
+ if (vErrors === null) {
3609
+ vErrors = [err7];
3610
+ } else {
3611
+ vErrors.push(err7);
3612
+ }
3613
+ errors++;
3614
+ }
3615
+ }
3616
+ }
3617
+ } else {
3618
+ const err8 = { instancePath: instancePath + "/methodNames", schemaPath: "#/properties/methodNames/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3619
+ if (vErrors === null) {
3620
+ vErrors = [err8];
3621
+ } else {
3622
+ vErrors.push(err8);
3623
+ }
3624
+ errors++;
3625
+ }
3626
+ }
3445
3627
  if (data.skip !== void 0) {
3446
3628
  if (!validate24(data.skip, { instancePath: instancePath + "/skip", parentData: data, parentDataProperty: "skip", rootData, dynamicAnchors })) {
3447
3629
  vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);
@@ -3449,18 +3631,18 @@ function validate23(data, { instancePath = "", parentData, parentDataProperty, r
3449
3631
  }
3450
3632
  }
3451
3633
  } else {
3452
- const err4 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3634
+ const err9 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3453
3635
  if (vErrors === null) {
3454
- vErrors = [err4];
3636
+ vErrors = [err9];
3455
3637
  } else {
3456
- vErrors.push(err4);
3638
+ vErrors.push(err9);
3457
3639
  }
3458
3640
  errors++;
3459
3641
  }
3460
3642
  validate23.errors = vErrors;
3461
3643
  return errors === 0;
3462
3644
  }
3463
- validate23.evaluated = { "props": { "type": true, "paramDiscriminator": true, "paramsTypeName": true, "streamEventModel": true, "skip": true }, "dynamicProps": false, "dynamicItems": false };
3645
+ validate23.evaluated = { "props": { "type": true, "paramDiscriminator": true, "paramsTypeName": true, "streamEventModel": true, "methodNames": true, "skip": true }, "dynamicProps": false, "dynamicItems": false };
3464
3646
  function validate27(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
3465
3647
  let vErrors = null;
3466
3648
  let errors = 0;
@@ -4364,7 +4546,7 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
4364
4546
  errors++;
4365
4547
  }
4366
4548
  for (const key1 in data24) {
4367
- if (!func1.call(schema43.oneOf[1].properties, key1)) {
4549
+ if (!func1.call(schema44.oneOf[1].properties, key1)) {
4368
4550
  const err37 = { instancePath: instancePath + "/deprecationMessage", schemaPath: "#/$defs/deprecationMessage/oneOf/1/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
4369
4551
  if (vErrors === null) {
4370
4552
  vErrors = [err37];
@@ -5109,7 +5291,7 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
5109
5291
  if (data49.perspective !== void 0) {
5110
5292
  let data53 = data49.perspective;
5111
5293
  if (!(data53 === "provider" || data53 === "client")) {
5112
- const err66 = { instancePath: instancePath + "/asyncapi/perspective", schemaPath: "#/$defs/asyncapiMethodConfig/properties/perspective/enum", keyword: "enum", params: { allowedValues: schema46.properties.perspective.enum }, message: "must be equal to one of the allowed values" };
5294
+ const err66 = { instancePath: instancePath + "/asyncapi/perspective", schemaPath: "#/$defs/asyncapiMethodConfig/properties/perspective/enum", keyword: "enum", params: { allowedValues: schema47.properties.perspective.enum }, message: "must be equal to one of the allowed values" };
5113
5295
  if (vErrors === null) {
5114
5296
  vErrors = [err66];
5115
5297
  } else {
@@ -5247,7 +5429,7 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
5247
5429
  if (data54.signatureAlgorithm !== void 0) {
5248
5430
  let data58 = data54.signatureAlgorithm;
5249
5431
  if (!(data58 === "hmac-sha1" || data58 === "hmac-sha256" || data58 === "hmac-sha512" || data58 === "ed25519" || data58 === "rsa-sha256")) {
5250
- const err74 = { instancePath: instancePath + "/webhook/signatureAlgorithm", schemaPath: "#/$defs/webhookMethodConfig/properties/signatureAlgorithm/enum", keyword: "enum", params: { allowedValues: schema47.properties.signatureAlgorithm.enum }, message: "must be equal to one of the allowed values" };
5432
+ const err74 = { instancePath: instancePath + "/webhook/signatureAlgorithm", schemaPath: "#/$defs/webhookMethodConfig/properties/signatureAlgorithm/enum", keyword: "enum", params: { allowedValues: schema48.properties.signatureAlgorithm.enum }, message: "must be equal to one of the allowed values" };
5251
5433
  if (vErrors === null) {
5252
5434
  vErrors = [err74];
5253
5435
  } else {
@@ -5446,7 +5628,7 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
5446
5628
  }
5447
5629
  if (data65.type !== void 0) {
5448
5630
  if (!(data65.type === "http")) {
5449
- const err83 = { instancePath: instancePath + "/helper/type", schemaPath: "#/$defs/customHelperMethodConfig/properties/type/enum", keyword: "enum", params: { allowedValues: schema48.properties.type.enum }, message: "must be equal to one of the allowed values" };
5631
+ const err83 = { instancePath: instancePath + "/helper/type", schemaPath: "#/$defs/customHelperMethodConfig/properties/type/enum", keyword: "enum", params: { allowedValues: schema49.properties.type.enum }, message: "must be equal to one of the allowed values" };
5450
5632
  if (vErrors === null) {
5451
5633
  vErrors = [err83];
5452
5634
  } else {
@@ -5861,7 +6043,7 @@ function validate32(data, { instancePath = "", parentData, parentDataProperty, r
5861
6043
  errors++;
5862
6044
  }
5863
6045
  for (const key0 in data8) {
5864
- if (!func1.call(schema43.oneOf[1].properties, key0)) {
6046
+ if (!func1.call(schema44.oneOf[1].properties, key0)) {
5865
6047
  const err14 = { instancePath: instancePath + "/deprecationMessage", schemaPath: "#/$defs/deprecationMessage/oneOf/1/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
5866
6048
  if (vErrors === null) {
5867
6049
  vErrors = [err14];
@@ -6668,7 +6850,7 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
6668
6850
  errors++;
6669
6851
  }
6670
6852
  for (const key4 in data13) {
6671
- if (!func1.call(schema43.oneOf[1].properties, key4)) {
6853
+ if (!func1.call(schema44.oneOf[1].properties, key4)) {
6672
6854
  const err15 = { instancePath: instancePath + "/deprecationMessage", schemaPath: "#/$defs/deprecationMessage/oneOf/1/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key4 }, message: "must NOT have additional properties" };
6673
6855
  if (vErrors === null) {
6674
6856
  vErrors = [err15];
@@ -7186,7 +7368,6 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
7186
7368
  return errors === 0;
7187
7369
  }
7188
7370
  validate21.evaluated = { "props": { "methods": true, "models": true, "subresources": true, "defaultRequestOptions": true, "publicAccessor": true, "description": true, "deprecationMessage": true, "disableCodeSample": true, "useNamespaceInTypeNames": true, "only": true, "custom": true, "skip": true }, "dynamicProps": false, "dynamicItems": false };
7189
- var pattern5 = new RegExp("^[A-Za-z_][A-Za-z0-9_]*$", "u");
7190
7371
  function validate41(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
7191
7372
  let vErrors = null;
7192
7373
  let errors = 0;
@@ -7965,8 +8146,8 @@ function validate43(data, { instancePath = "", parentData, parentDataProperty, r
7965
8146
  return errors === 0;
7966
8147
  }
7967
8148
  validate43.evaluated = { "dynamicProps": true, "dynamicItems": false };
7968
- var schema60 = { "type": "object", "properties": { "destinations": { "$ref": "#/$defs/destinationsConfig" }, "promotion": { "$ref": "#/$defs/promotion" }, "generatorVersion": { "type": "string" }, "skip": { "type": "boolean" }, "readmeTitle": { "type": "string" }, "packageName": { "type": "string" }, "packageManager": { "type": "string" }, "publish": { "$ref": "#/$defs/npmPublishConfig" }, "prereleaseType": { "$ref": "#/$defs/prereleaseType" }, "options": { "$ref": "#/$defs/typeScriptTargetOptions" }, "compatibility": { "enum": ["speakeasy"] } } };
7969
- var schema63 = { "type": "string", "enum": ["automatic", "manual"], "default": "automatic" };
8149
+ var schema61 = { "type": "object", "properties": { "destinations": { "$ref": "#/$defs/destinationsConfig" }, "promotion": { "$ref": "#/$defs/promotion" }, "generatorVersion": { "type": "string" }, "skip": { "type": "boolean" }, "readmeTitle": { "type": "string" }, "packageName": { "type": "string" }, "packageManager": { "type": "string" }, "publish": { "$ref": "#/$defs/npmPublishConfig" }, "prereleaseType": { "$ref": "#/$defs/prereleaseType" }, "options": { "$ref": "#/$defs/typeScriptTargetOptions" }, "compatibility": { "enum": ["speakeasy"] } } };
8150
+ var schema64 = { "type": "string", "enum": ["automatic", "manual"], "default": "automatic" };
7970
8151
  function validate47(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
7971
8152
  let vErrors = null;
7972
8153
  let errors = 0;
@@ -8097,9 +8278,9 @@ function validate47(data, { instancePath = "", parentData, parentDataProperty, r
8097
8278
  return errors === 0;
8098
8279
  }
8099
8280
  validate47.evaluated = { "props": { "production": true }, "dynamicProps": false, "dynamicItems": false };
8100
- var schema66 = { "type": "string", "enum": ["oidc", "access-token"] };
8101
- var pattern6 = new RegExp("^\\S+$", "u");
8102
- var pattern7 = new RegExp("^[a-z][a-z0-9-]*$", "u");
8281
+ var schema67 = { "type": "string", "enum": ["oidc", "access-token"] };
8282
+ var pattern7 = new RegExp("^\\S+$", "u");
8283
+ var pattern8 = new RegExp("^[a-z][a-z0-9-]*$", "u");
8103
8284
  function validate50(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8104
8285
  let vErrors = null;
8105
8286
  let errors = 0;
@@ -8169,7 +8350,7 @@ function validate50(data, { instancePath = "", parentData, parentDataProperty, r
8169
8350
  }
8170
8351
  }
8171
8352
  if (!(data0 === "oidc" || data0 === "access-token")) {
8172
- const err2 = { instancePath: instancePath + "/authMethod", schemaPath: "#/$defs/publishAuthMethod/enum", keyword: "enum", params: { allowedValues: schema66.enum }, message: "must be equal to one of the allowed values" };
8353
+ const err2 = { instancePath: instancePath + "/authMethod", schemaPath: "#/$defs/publishAuthMethod/enum", keyword: "enum", params: { allowedValues: schema67.enum }, message: "must be equal to one of the allowed values" };
8173
8354
  if (vErrors === null) {
8174
8355
  vErrors = [err2];
8175
8356
  } else {
@@ -8261,7 +8442,7 @@ function validate50(data, { instancePath = "", parentData, parentDataProperty, r
8261
8442
  }
8262
8443
  }
8263
8444
  if (typeof data2 === "string") {
8264
- if (!pattern6.test(data2)) {
8445
+ if (!pattern7.test(data2)) {
8265
8446
  const err7 = { instancePath: instancePath + "/access", schemaPath: "#/anyOf/1/properties/access/anyOf/2/pattern", keyword: "pattern", params: { pattern: "^\\S+$" }, message: 'must match pattern "^\\S+$"' };
8266
8447
  if (vErrors === null) {
8267
8448
  vErrors = [err7];
@@ -8320,7 +8501,7 @@ function validate50(data, { instancePath = "", parentData, parentDataProperty, r
8320
8501
  }
8321
8502
  }
8322
8503
  if (typeof data3 === "string") {
8323
- if (!pattern7.test(data3)) {
8504
+ if (!pattern8.test(data3)) {
8324
8505
  const err10 = { instancePath: instancePath + "/tag", schemaPath: "#/anyOf/1/properties/tag/pattern", keyword: "pattern", params: { pattern: "^[a-z][a-z0-9-]*$" }, message: 'must match pattern "^[a-z][a-z0-9-]*$"' };
8325
8506
  if (vErrors === null) {
8326
8507
  vErrors = [err10];
@@ -8460,10 +8641,10 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
8460
8641
  return errors === 0;
8461
8642
  }
8462
8643
  validate49.evaluated = { "props": { "npm": true }, "dynamicProps": false, "dynamicItems": false };
8463
- var schema68 = { "type": "object", "properties": { "propertyCasing": { "enum": ["wire", "sdk"], "default": "wire" }, "dateTimeType": { "enum": ["string", "Date"], "default": "string" }, "backCompat": { "$ref": "#/$defs/typeScriptBackCompatOptions" } } };
8464
- var pattern9 = new RegExp("^[A-Za-z0-9_-]+(/[A-Za-z0-9_-]+)*$", "u");
8465
- var pattern10 = new RegExp("^(?!(?:any|bigint|boolean|never|number|object|string|symbol|undefined|unknown|void|arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|while|with|yield)$)[A-Za-z_$][A-Za-z0-9_$]*$", "u");
8466
- var pattern11 = new RegExp("^(?!(?:arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)(?:\\.|$))[A-Za-z_$][A-Za-z0-9_$]*(\\.(?!(?:arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)(?:\\.|$))[A-Za-z_$][A-Za-z0-9_$]*)*$", "u");
8644
+ var schema69 = { "type": "object", "properties": { "propertyCasing": { "enum": ["wire", "sdk"], "default": "wire" }, "dateTimeType": { "enum": ["string", "Date"], "default": "string" }, "backCompat": { "$ref": "#/$defs/typeScriptBackCompatOptions" } } };
8645
+ var pattern10 = new RegExp("^[A-Za-z0-9_-]+(/[A-Za-z0-9_-]+)*$", "u");
8646
+ var pattern11 = new RegExp("^(?!(?:any|bigint|boolean|never|number|object|string|symbol|undefined|unknown|void|arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|while|with|yield)$)[A-Za-z_$][A-Za-z0-9_$]*$", "u");
8647
+ var pattern12 = new RegExp("^(?!(?:arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)(?:\\.|$))[A-Za-z_$][A-Za-z0-9_$]*(\\.(?!(?:arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)(?:\\.|$))[A-Za-z_$][A-Za-z0-9_$]*)*$", "u");
8467
8648
  function validate54(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8468
8649
  let vErrors = null;
8469
8650
  let errors = 0;
@@ -8559,7 +8740,7 @@ function validate54(data, { instancePath = "", parentData, parentDataProperty, r
8559
8740
  }
8560
8741
  }
8561
8742
  if (typeof data2 === "string") {
8562
- if (!pattern9.test(data2)) {
8743
+ if (!pattern10.test(data2)) {
8563
8744
  const err6 = { instancePath: instancePath + "/typeAliases/" + i0 + "/module", schemaPath: "#/$defs/typeScriptTypeAlias/properties/module/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z0-9_-]+(/[A-Za-z0-9_-]+)*$" }, message: 'must match pattern "^[A-Za-z0-9_-]+(/[A-Za-z0-9_-]+)*$"' };
8564
8745
  if (vErrors === null) {
8565
8746
  vErrors = [err6];
@@ -8598,7 +8779,7 @@ function validate54(data, { instancePath = "", parentData, parentDataProperty, r
8598
8779
  }
8599
8780
  }
8600
8781
  if (typeof data3 === "string") {
8601
- if (!pattern10.test(data3)) {
8782
+ if (!pattern11.test(data3)) {
8602
8783
  const err8 = { instancePath: instancePath + "/typeAliases/" + i0 + "/name", schemaPath: "#/$defs/typeScriptTypeAlias/properties/name/pattern", keyword: "pattern", params: { pattern: "^(?!(?:any|bigint|boolean|never|number|object|string|symbol|undefined|unknown|void|arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|while|with|yield)$)[A-Za-z_$][A-Za-z0-9_$]*$" }, message: 'must match pattern "^(?!(?:any|bigint|boolean|never|number|object|string|symbol|undefined|unknown|void|arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|while|with|yield)$)[A-Za-z_$][A-Za-z0-9_$]*$"' };
8603
8784
  if (vErrors === null) {
8604
8785
  vErrors = [err8];
@@ -8637,7 +8818,7 @@ function validate54(data, { instancePath = "", parentData, parentDataProperty, r
8637
8818
  }
8638
8819
  }
8639
8820
  if (typeof data4 === "string") {
8640
- if (!pattern11.test(data4)) {
8821
+ if (!pattern12.test(data4)) {
8641
8822
  const err10 = { instancePath: instancePath + "/typeAliases/" + i0 + "/to", schemaPath: "#/$defs/typeScriptTypeAlias/properties/to/pattern", keyword: "pattern", params: { pattern: "^(?!(?:arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)(?:\\.|$))[A-Za-z_$][A-Za-z0-9_$]*(\\.(?!(?:arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)(?:\\.|$))[A-Za-z_$][A-Za-z0-9_$]*)*$" }, message: 'must match pattern "^(?!(?:arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)(?:\\.|$))[A-Za-z_$][A-Za-z0-9_$]*(\\.(?!(?:arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)(?:\\.|$))[A-Za-z_$][A-Za-z0-9_$]*)*$"' };
8642
8823
  if (vErrors === null) {
8643
8824
  vErrors = [err10];
@@ -8723,7 +8904,7 @@ function validate53(data, { instancePath = "", parentData, parentDataProperty, r
8723
8904
  if (data.propertyCasing !== void 0) {
8724
8905
  let data0 = data.propertyCasing;
8725
8906
  if (!(data0 === "wire" || data0 === "sdk")) {
8726
- const err0 = { instancePath: instancePath + "/propertyCasing", schemaPath: "#/properties/propertyCasing/enum", keyword: "enum", params: { allowedValues: schema68.properties.propertyCasing.enum }, message: "must be equal to one of the allowed values" };
8907
+ const err0 = { instancePath: instancePath + "/propertyCasing", schemaPath: "#/properties/propertyCasing/enum", keyword: "enum", params: { allowedValues: schema69.properties.propertyCasing.enum }, message: "must be equal to one of the allowed values" };
8727
8908
  if (vErrors === null) {
8728
8909
  vErrors = [err0];
8729
8910
  } else {
@@ -8735,7 +8916,7 @@ function validate53(data, { instancePath = "", parentData, parentDataProperty, r
8735
8916
  if (data.dateTimeType !== void 0) {
8736
8917
  let data1 = data.dateTimeType;
8737
8918
  if (!(data1 === "string" || data1 === "Date")) {
8738
- const err1 = { instancePath: instancePath + "/dateTimeType", schemaPath: "#/properties/dateTimeType/enum", keyword: "enum", params: { allowedValues: schema68.properties.dateTimeType.enum }, message: "must be equal to one of the allowed values" };
8919
+ const err1 = { instancePath: instancePath + "/dateTimeType", schemaPath: "#/properties/dateTimeType/enum", keyword: "enum", params: { allowedValues: schema69.properties.dateTimeType.enum }, message: "must be equal to one of the allowed values" };
8739
8920
  if (vErrors === null) {
8740
8921
  vErrors = [err1];
8741
8922
  } else {
@@ -8763,7 +8944,7 @@ function validate53(data, { instancePath = "", parentData, parentDataProperty, r
8763
8944
  return errors === 0;
8764
8945
  }
8765
8946
  validate53.evaluated = { "props": { "propertyCasing": true, "dateTimeType": true, "backCompat": true }, "dynamicProps": false, "dynamicItems": false };
8766
- var pattern8 = new RegExp("^[A-Za-z][0-9A-Za-z-]*$", "u");
8947
+ var pattern9 = new RegExp("^[A-Za-z][0-9A-Za-z-]*$", "u");
8767
8948
  function validate46(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8768
8949
  let vErrors = null;
8769
8950
  let errors = 0;
@@ -8809,7 +8990,7 @@ function validate46(data, { instancePath = "", parentData, parentDataProperty, r
8809
8990
  }
8810
8991
  }
8811
8992
  if (!(data1 === "automatic" || data1 === "manual")) {
8812
- const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
8993
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
8813
8994
  if (vErrors === null) {
8814
8995
  vErrors = [err1];
8815
8996
  } else {
@@ -8991,7 +9172,7 @@ function validate46(data, { instancePath = "", parentData, parentDataProperty, r
8991
9172
  }
8992
9173
  }
8993
9174
  if (typeof data8 === "string") {
8994
- if (!pattern8.test(data8)) {
9175
+ if (!pattern9.test(data8)) {
8995
9176
  const err8 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
8996
9177
  if (vErrors === null) {
8997
9178
  vErrors = [err8];
@@ -9010,7 +9191,7 @@ function validate46(data, { instancePath = "", parentData, parentDataProperty, r
9010
9191
  }
9011
9192
  if (data.compatibility !== void 0) {
9012
9193
  if (!(data.compatibility === "speakeasy")) {
9013
- const err9 = { instancePath: instancePath + "/compatibility", schemaPath: "#/properties/compatibility/enum", keyword: "enum", params: { allowedValues: schema60.properties.compatibility.enum }, message: "must be equal to one of the allowed values" };
9194
+ const err9 = { instancePath: instancePath + "/compatibility", schemaPath: "#/properties/compatibility/enum", keyword: "enum", params: { allowedValues: schema61.properties.compatibility.enum }, message: "must be equal to one of the allowed values" };
9014
9195
  if (vErrors === null) {
9015
9196
  vErrors = [err9];
9016
9197
  } else {
@@ -9101,7 +9282,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
9101
9282
  }
9102
9283
  }
9103
9284
  if (!(data0 === "oidc" || data0 === "access-token")) {
9104
- const err2 = { instancePath: instancePath + "/authMethod", schemaPath: "#/$defs/publishAuthMethod/enum", keyword: "enum", params: { allowedValues: schema66.enum }, message: "must be equal to one of the allowed values" };
9285
+ const err2 = { instancePath: instancePath + "/authMethod", schemaPath: "#/$defs/publishAuthMethod/enum", keyword: "enum", params: { allowedValues: schema67.enum }, message: "must be equal to one of the allowed values" };
9105
9286
  if (vErrors === null) {
9106
9287
  vErrors = [err2];
9107
9288
  } else {
@@ -9265,9 +9446,9 @@ function validate60(data, { instancePath = "", parentData, parentDataProperty, r
9265
9446
  return errors === 0;
9266
9447
  }
9267
9448
  validate60.evaluated = { "props": { "pypi": true }, "dynamicProps": false, "dynamicItems": false };
9268
- var pattern13 = new RegExp("^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$", "u");
9269
- var pattern14 = new RegExp("^(?!(?:False|None|True|and|as|assert|async|await|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)$)[A-Za-z_][A-Za-z0-9_]*$", "u");
9270
- var pattern15 = new RegExp("^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)+$", "u");
9449
+ var pattern14 = new RegExp("^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$", "u");
9450
+ var pattern15 = new RegExp("^(?!(?:False|None|True|and|as|assert|async|await|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)$)[A-Za-z_][A-Za-z0-9_]*$", "u");
9451
+ var pattern16 = new RegExp("^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)+$", "u");
9271
9452
  function validate65(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9272
9453
  let vErrors = null;
9273
9454
  let errors = 0;
@@ -9517,7 +9698,7 @@ function validate65(data, { instancePath = "", parentData, parentDataProperty, r
9517
9698
  }
9518
9699
  }
9519
9700
  if (typeof data7 === "string") {
9520
- if (!pattern13.test(data7)) {
9701
+ if (!pattern14.test(data7)) {
9521
9702
  const err13 = { instancePath: instancePath + "/typeAliases/" + i0 + "/module", schemaPath: "#/$defs/pythonTypeAlias/properties/module/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$" }, message: 'must match pattern "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"' };
9522
9703
  if (vErrors === null) {
9523
9704
  vErrors = [err13];
@@ -9556,7 +9737,7 @@ function validate65(data, { instancePath = "", parentData, parentDataProperty, r
9556
9737
  }
9557
9738
  }
9558
9739
  if (typeof data8 === "string") {
9559
- if (!pattern14.test(data8)) {
9740
+ if (!pattern15.test(data8)) {
9560
9741
  const err15 = { instancePath: instancePath + "/typeAliases/" + i0 + "/name", schemaPath: "#/$defs/pythonTypeAlias/properties/name/pattern", keyword: "pattern", params: { pattern: "^(?!(?:False|None|True|and|as|assert|async|await|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)$)[A-Za-z_][A-Za-z0-9_]*$" }, message: 'must match pattern "^(?!(?:False|None|True|and|as|assert|async|await|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)$)[A-Za-z_][A-Za-z0-9_]*$"' };
9561
9742
  if (vErrors === null) {
9562
9743
  vErrors = [err15];
@@ -9595,7 +9776,7 @@ function validate65(data, { instancePath = "", parentData, parentDataProperty, r
9595
9776
  }
9596
9777
  }
9597
9778
  if (typeof data9 === "string") {
9598
- if (!pattern15.test(data9)) {
9779
+ if (!pattern16.test(data9)) {
9599
9780
  const err17 = { instancePath: instancePath + "/typeAliases/" + i0 + "/to", schemaPath: "#/$defs/pythonTypeAlias/properties/to/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)+$" }, message: 'must match pattern "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)+$"' };
9600
9781
  if (vErrors === null) {
9601
9782
  vErrors = [err17];
@@ -9743,7 +9924,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
9743
9924
  }
9744
9925
  }
9745
9926
  if (!(data1 === "automatic" || data1 === "manual")) {
9746
- const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
9927
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
9747
9928
  if (vErrors === null) {
9748
9929
  vErrors = [err1];
9749
9930
  } else {
@@ -9925,7 +10106,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
9925
10106
  }
9926
10107
  }
9927
10108
  if (typeof data8 === "string") {
9928
- if (!pattern8.test(data8)) {
10109
+ if (!pattern9.test(data8)) {
9929
10110
  const err8 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
9930
10111
  if (vErrors === null) {
9931
10112
  vErrors = [err8];
@@ -9955,7 +10136,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
9955
10136
  return errors === 0;
9956
10137
  }
9957
10138
  validate58.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "projectName": true, "publish": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
9958
- var schema84 = { "type": "object", "properties": { "codeStyle": { "enum": ["v1", "v2"], "default": "v1" }, "optionsFieldExported": { "type": "boolean", "default": true } } };
10139
+ var schema85 = { "type": "object", "properties": { "codeStyle": { "enum": ["v1", "v2"], "default": "v1" }, "optionsFieldExported": { "type": "boolean", "default": true } } };
9959
10140
  function validate71(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9960
10141
  let vErrors = null;
9961
10142
  let errors = 0;
@@ -9986,7 +10167,7 @@ function validate71(data, { instancePath = "", parentData, parentDataProperty, r
9986
10167
  return errors === 0;
9987
10168
  }
9988
10169
  validate71.evaluated = { "props": { "go": true }, "dynamicProps": false, "dynamicItems": false };
9989
- var pattern16 = new RegExp("^[A-Za-z0-9][A-Za-z0-9._~+-]*(/[A-Za-z0-9][A-Za-z0-9._~+-]*)*$", "u");
10170
+ var pattern17 = new RegExp("^[A-Za-z0-9][A-Za-z0-9._~+-]*(/[A-Za-z0-9][A-Za-z0-9._~+-]*)*$", "u");
9990
10171
  function validate69(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9991
10172
  let vErrors = null;
9992
10173
  let errors = 0;
@@ -10032,7 +10213,7 @@ function validate69(data, { instancePath = "", parentData, parentDataProperty, r
10032
10213
  }
10033
10214
  }
10034
10215
  if (!(data1 === "automatic" || data1 === "manual")) {
10035
- const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
10216
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
10036
10217
  if (vErrors === null) {
10037
10218
  vErrors = [err1];
10038
10219
  } else {
@@ -10180,7 +10361,7 @@ function validate69(data, { instancePath = "", parentData, parentDataProperty, r
10180
10361
  }
10181
10362
  }
10182
10363
  if (typeof data6 === "string") {
10183
- if (!pattern16.test(data6)) {
10364
+ if (!pattern17.test(data6)) {
10184
10365
  const err7 = { instancePath: instancePath + "/goModulePathOverride", schemaPath: "#/properties/goModulePathOverride/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z0-9][A-Za-z0-9._~+-]*(/[A-Za-z0-9][A-Za-z0-9._~+-]*)*$" }, message: 'must match pattern "^[A-Za-z0-9][A-Za-z0-9._~+-]*(/[A-Za-z0-9][A-Za-z0-9._~+-]*)*$"' };
10185
10366
  if (vErrors === null) {
10186
10367
  vErrors = [err7];
@@ -10252,7 +10433,7 @@ function validate69(data, { instancePath = "", parentData, parentDataProperty, r
10252
10433
  }
10253
10434
  }
10254
10435
  if (typeof data9 === "string") {
10255
- if (!pattern8.test(data9)) {
10436
+ if (!pattern9.test(data9)) {
10256
10437
  const err10 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
10257
10438
  if (vErrors === null) {
10258
10439
  vErrors = [err10];
@@ -10269,7 +10450,7 @@ function validate69(data, { instancePath = "", parentData, parentDataProperty, r
10269
10450
  if (data10.codeStyle !== void 0) {
10270
10451
  let data11 = data10.codeStyle;
10271
10452
  if (!(data11 === "v1" || data11 === "v2")) {
10272
- const err11 = { instancePath: instancePath + "/options/codeStyle", schemaPath: "#/$defs/goTargetOptions/properties/codeStyle/enum", keyword: "enum", params: { allowedValues: schema84.properties.codeStyle.enum }, message: "must be equal to one of the allowed values" };
10453
+ const err11 = { instancePath: instancePath + "/options/codeStyle", schemaPath: "#/$defs/goTargetOptions/properties/codeStyle/enum", keyword: "enum", params: { allowedValues: schema85.properties.codeStyle.enum }, message: "must be equal to one of the allowed values" };
10273
10454
  if (vErrors === null) {
10274
10455
  vErrors = [err11];
10275
10456
  } else {
@@ -10328,7 +10509,7 @@ function validate69(data, { instancePath = "", parentData, parentDataProperty, r
10328
10509
  return errors === 0;
10329
10510
  }
10330
10511
  validate69.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "goModulePathOverride": true, "pointerServices": true, "publish": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
10331
- var schema87 = { "type": "object", "properties": { "crate_name": { "type": "string" }, "package_repository": { "type": "string" }, "client_name": { "type": "string" }, "environment_enum_name": { "type": "string", "default": "Environment" }, "date_time_type": { "enum": ["offset", "utc", "string"], "default": "offset" }, "http_client": { "enum": ["reqwest"], "default": "reqwest" }, "reqwest_tls": { "enum": ["rustls", "native-tls"], "default": "rustls" }, "max_retries": { "type": "integer", "minimum": 0 }, "extra_dependencies": { "type": "object" }, "extra_dev_dependencies": { "type": "object" } } };
10512
+ var schema88 = { "type": "object", "properties": { "crate_name": { "type": "string" }, "package_repository": { "type": "string" }, "client_name": { "type": "string" }, "environment_enum_name": { "type": "string", "default": "Environment" }, "date_time_type": { "enum": ["offset", "utc", "string"], "default": "offset" }, "http_client": { "enum": ["reqwest"], "default": "reqwest" }, "reqwest_tls": { "enum": ["rustls", "native-tls"], "default": "rustls" }, "max_retries": { "type": "integer", "minimum": 0 }, "extra_dependencies": { "type": "object" }, "extra_dev_dependencies": { "type": "object" } } };
10332
10513
  function validate77(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10333
10514
  let vErrors = null;
10334
10515
  let errors = 0;
@@ -10404,7 +10585,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
10404
10585
  }
10405
10586
  }
10406
10587
  if (!(data1 === "automatic" || data1 === "manual")) {
10407
- const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
10588
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
10408
10589
  if (vErrors === null) {
10409
10590
  vErrors = [err1];
10410
10591
  } else {
@@ -10642,7 +10823,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
10642
10823
  if (data6.date_time_type !== void 0) {
10643
10824
  let data11 = data6.date_time_type;
10644
10825
  if (!(data11 === "offset" || data11 === "utc" || data11 === "string")) {
10645
- const err10 = { instancePath: instancePath + "/options/date_time_type", schemaPath: "#/$defs/rustTargetOptions/properties/date_time_type/enum", keyword: "enum", params: { allowedValues: schema87.properties.date_time_type.enum }, message: "must be equal to one of the allowed values" };
10826
+ const err10 = { instancePath: instancePath + "/options/date_time_type", schemaPath: "#/$defs/rustTargetOptions/properties/date_time_type/enum", keyword: "enum", params: { allowedValues: schema88.properties.date_time_type.enum }, message: "must be equal to one of the allowed values" };
10646
10827
  if (vErrors === null) {
10647
10828
  vErrors = [err10];
10648
10829
  } else {
@@ -10653,7 +10834,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
10653
10834
  }
10654
10835
  if (data6.http_client !== void 0) {
10655
10836
  if (!(data6.http_client === "reqwest")) {
10656
- const err11 = { instancePath: instancePath + "/options/http_client", schemaPath: "#/$defs/rustTargetOptions/properties/http_client/enum", keyword: "enum", params: { allowedValues: schema87.properties.http_client.enum }, message: "must be equal to one of the allowed values" };
10837
+ const err11 = { instancePath: instancePath + "/options/http_client", schemaPath: "#/$defs/rustTargetOptions/properties/http_client/enum", keyword: "enum", params: { allowedValues: schema88.properties.http_client.enum }, message: "must be equal to one of the allowed values" };
10657
10838
  if (vErrors === null) {
10658
10839
  vErrors = [err11];
10659
10840
  } else {
@@ -10665,7 +10846,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
10665
10846
  if (data6.reqwest_tls !== void 0) {
10666
10847
  let data13 = data6.reqwest_tls;
10667
10848
  if (!(data13 === "rustls" || data13 === "native-tls")) {
10668
- const err12 = { instancePath: instancePath + "/options/reqwest_tls", schemaPath: "#/$defs/rustTargetOptions/properties/reqwest_tls/enum", keyword: "enum", params: { allowedValues: schema87.properties.reqwest_tls.enum }, message: "must be equal to one of the allowed values" };
10849
+ const err12 = { instancePath: instancePath + "/options/reqwest_tls", schemaPath: "#/$defs/rustTargetOptions/properties/reqwest_tls/enum", keyword: "enum", params: { allowedValues: schema88.properties.reqwest_tls.enum }, message: "must be equal to one of the allowed values" };
10669
10850
  if (vErrors === null) {
10670
10851
  vErrors = [err12];
10671
10852
  } else {
@@ -10779,7 +10960,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
10779
10960
  }
10780
10961
  }
10781
10962
  if (typeof data18 === "string") {
10782
- if (!pattern8.test(data18)) {
10963
+ if (!pattern9.test(data18)) {
10783
10964
  const err19 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
10784
10965
  if (vErrors === null) {
10785
10966
  vErrors = [err19];
@@ -10803,7 +10984,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
10803
10984
  return errors === 0;
10804
10985
  }
10805
10986
  validate75.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "options": true, "publish": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
10806
- var pattern19 = new RegExp("^[A-Za-z0-9]+([._-][A-Za-z0-9]+)*$", "u");
10987
+ var pattern20 = new RegExp("^[A-Za-z0-9]+([._-][A-Za-z0-9]+)*$", "u");
10807
10988
  function validate84(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10808
10989
  let vErrors = null;
10809
10990
  let errors = 0;
@@ -10903,7 +11084,7 @@ function validate84(data, { instancePath = "", parentData, parentDataProperty, r
10903
11084
  }
10904
11085
  }
10905
11086
  if (typeof data0 === "string") {
10906
- if (!pattern19.test(data0)) {
11087
+ if (!pattern20.test(data0)) {
10907
11088
  const err4 = { instancePath: instancePath + "/artifactId", schemaPath: "#/anyOf/1/properties/artifactId/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z0-9]+([._-][A-Za-z0-9]+)*$" }, message: 'must match pattern "^[A-Za-z0-9]+([._-][A-Za-z0-9]+)*$"' };
10908
11089
  if (vErrors === null) {
10909
11090
  vErrors = [err4];
@@ -10942,7 +11123,7 @@ function validate84(data, { instancePath = "", parentData, parentDataProperty, r
10942
11123
  }
10943
11124
  }
10944
11125
  if (!(data1 === "oidc" || data1 === "access-token")) {
10945
- const err6 = { instancePath: instancePath + "/authMethod", schemaPath: "#/$defs/publishAuthMethod/enum", keyword: "enum", params: { allowedValues: schema66.enum }, message: "must be equal to one of the allowed values" };
11126
+ const err6 = { instancePath: instancePath + "/authMethod", schemaPath: "#/$defs/publishAuthMethod/enum", keyword: "enum", params: { allowedValues: schema67.enum }, message: "must be equal to one of the allowed values" };
10946
11127
  if (vErrors === null) {
10947
11128
  vErrors = [err6];
10948
11129
  } else {
@@ -11183,10 +11364,10 @@ function validate83(data, { instancePath = "", parentData, parentDataProperty, r
11183
11364
  return errors === 0;
11184
11365
  }
11185
11366
  validate83.evaluated = { "props": { "maven": true }, "dynamicProps": false, "dynamicItems": false };
11186
- function validate87(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11367
+ function validate88(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11187
11368
  let vErrors = null;
11188
11369
  let errors = 0;
11189
- const evaluated0 = validate87.evaluated;
11370
+ const evaluated0 = validate88.evaluated;
11190
11371
  if (evaluated0.dynamicProps) {
11191
11372
  evaluated0.props = void 0;
11192
11373
  }
@@ -11324,14 +11505,14 @@ function validate87(data, { instancePath = "", parentData, parentDataProperty, r
11324
11505
  }
11325
11506
  errors++;
11326
11507
  }
11327
- validate87.errors = vErrors;
11508
+ validate88.errors = vErrors;
11328
11509
  return errors === 0;
11329
11510
  }
11330
- validate87.evaluated = { "props": { "backCompat": true, "elideConst": true }, "dynamicProps": false, "dynamicItems": false };
11331
- function validate81(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11511
+ validate88.evaluated = { "props": { "backCompat": true, "elideConst": true }, "dynamicProps": false, "dynamicItems": false };
11512
+ function validate90(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11332
11513
  let vErrors = null;
11333
11514
  let errors = 0;
11334
- const evaluated0 = validate81.evaluated;
11515
+ const evaluated0 = validate90.evaluated;
11335
11516
  if (evaluated0.dynamicProps) {
11336
11517
  evaluated0.props = void 0;
11337
11518
  }
@@ -11339,24 +11520,17 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
11339
11520
  evaluated0.items = void 0;
11340
11521
  }
11341
11522
  if (data && typeof data == "object" && !Array.isArray(data)) {
11342
- if (data.destinations !== void 0) {
11343
- if (!validate47(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
11344
- vErrors = vErrors === null ? validate47.errors : vErrors.concat(validate47.errors);
11345
- errors = vErrors.length;
11346
- }
11347
- }
11348
- if (data.promotion !== void 0) {
11349
- let data1 = data.promotion;
11350
- if (typeof data1 !== "string") {
11351
- let dataType0 = typeof data1;
11523
+ if (data.flatModelPackages !== void 0) {
11524
+ let data0 = data.flatModelPackages;
11525
+ if (typeof data0 !== "boolean") {
11352
11526
  let coerced0 = void 0;
11353
11527
  if (!(coerced0 !== void 0)) {
11354
- if (dataType0 == "number" || dataType0 == "boolean") {
11355
- coerced0 = "" + data1;
11356
- } else if (data1 === null) {
11357
- coerced0 = "";
11528
+ if (data0 === "false" || data0 === 0 || data0 === null) {
11529
+ coerced0 = false;
11530
+ } else if (data0 === "true" || data0 === 1) {
11531
+ coerced0 = true;
11358
11532
  } else {
11359
- const err0 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/type", keyword: "type", params: { type: "string" }, message: "must be string" };
11533
+ const err0 = { instancePath: instancePath + "/flatModelPackages", schemaPath: "#/$defs/jvmBackCompatOptions/properties/flatModelPackages/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
11360
11534
  if (vErrors === null) {
11361
11535
  vErrors = [err0];
11362
11536
  } else {
@@ -11366,89 +11540,88 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
11366
11540
  }
11367
11541
  }
11368
11542
  if (coerced0 !== void 0) {
11369
- data1 = coerced0;
11543
+ data0 = coerced0;
11370
11544
  if (data !== void 0) {
11371
- data["promotion"] = coerced0;
11545
+ data["flatModelPackages"] = coerced0;
11372
11546
  }
11373
11547
  }
11374
11548
  }
11375
- if (!(data1 === "automatic" || data1 === "manual")) {
11376
- const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
11377
- if (vErrors === null) {
11378
- vErrors = [err1];
11379
- } else {
11380
- vErrors.push(err1);
11381
- }
11382
- errors++;
11383
- }
11384
11549
  }
11385
- if (data.generatorVersion !== void 0) {
11386
- let data2 = data.generatorVersion;
11387
- if (typeof data2 !== "string") {
11388
- let dataType1 = typeof data2;
11550
+ if (data.refNameNestedModels !== void 0) {
11551
+ let data1 = data.refNameNestedModels;
11552
+ if (typeof data1 !== "boolean") {
11389
11553
  let coerced1 = void 0;
11390
11554
  if (!(coerced1 !== void 0)) {
11391
- if (dataType1 == "number" || dataType1 == "boolean") {
11392
- coerced1 = "" + data2;
11393
- } else if (data2 === null) {
11394
- coerced1 = "";
11555
+ if (data1 === "false" || data1 === 0 || data1 === null) {
11556
+ coerced1 = false;
11557
+ } else if (data1 === "true" || data1 === 1) {
11558
+ coerced1 = true;
11395
11559
  } else {
11396
- const err2 = { instancePath: instancePath + "/generatorVersion", schemaPath: "#/properties/generatorVersion/type", keyword: "type", params: { type: "string" }, message: "must be string" };
11560
+ const err1 = { instancePath: instancePath + "/refNameNestedModels", schemaPath: "#/$defs/jvmBackCompatOptions/properties/refNameNestedModels/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
11397
11561
  if (vErrors === null) {
11398
- vErrors = [err2];
11562
+ vErrors = [err1];
11399
11563
  } else {
11400
- vErrors.push(err2);
11564
+ vErrors.push(err1);
11401
11565
  }
11402
11566
  errors++;
11403
11567
  }
11404
11568
  }
11405
11569
  if (coerced1 !== void 0) {
11406
- data2 = coerced1;
11570
+ data1 = coerced1;
11407
11571
  if (data !== void 0) {
11408
- data["generatorVersion"] = coerced1;
11572
+ data["refNameNestedModels"] = coerced1;
11409
11573
  }
11410
11574
  }
11411
11575
  }
11412
11576
  }
11413
- if (data.skip !== void 0) {
11414
- let data3 = data.skip;
11415
- if (typeof data3 !== "boolean") {
11577
+ if (data.unnamespacedImplicitResponses !== void 0) {
11578
+ let data2 = data.unnamespacedImplicitResponses;
11579
+ if (typeof data2 !== "boolean") {
11416
11580
  let coerced2 = void 0;
11417
11581
  if (!(coerced2 !== void 0)) {
11418
- if (data3 === "false" || data3 === 0 || data3 === null) {
11582
+ if (data2 === "false" || data2 === 0 || data2 === null) {
11419
11583
  coerced2 = false;
11420
- } else if (data3 === "true" || data3 === 1) {
11584
+ } else if (data2 === "true" || data2 === 1) {
11421
11585
  coerced2 = true;
11422
11586
  } else {
11423
- const err3 = { instancePath: instancePath + "/skip", schemaPath: "#/properties/skip/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
11587
+ const err2 = { instancePath: instancePath + "/unnamespacedImplicitResponses", schemaPath: "#/$defs/jvmBackCompatOptions/properties/unnamespacedImplicitResponses/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
11424
11588
  if (vErrors === null) {
11425
- vErrors = [err3];
11589
+ vErrors = [err2];
11426
11590
  } else {
11427
- vErrors.push(err3);
11591
+ vErrors.push(err2);
11428
11592
  }
11429
11593
  errors++;
11430
11594
  }
11431
11595
  }
11432
11596
  if (coerced2 !== void 0) {
11433
- data3 = coerced2;
11597
+ data2 = coerced2;
11434
11598
  if (data !== void 0) {
11435
- data["skip"] = coerced2;
11599
+ data["unnamespacedImplicitResponses"] = coerced2;
11436
11600
  }
11437
11601
  }
11438
11602
  }
11439
11603
  }
11440
- if (data.readmeTitle !== void 0) {
11441
- let data4 = data.readmeTitle;
11442
- if (typeof data4 !== "string") {
11443
- let dataType3 = typeof data4;
11604
+ } else {
11605
+ const err3 = { instancePath, schemaPath: "#/$defs/jvmBackCompatOptions/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11606
+ if (vErrors === null) {
11607
+ vErrors = [err3];
11608
+ } else {
11609
+ vErrors.push(err3);
11610
+ }
11611
+ errors++;
11612
+ }
11613
+ if (data && typeof data == "object" && !Array.isArray(data)) {
11614
+ if (data.camelCasePackageSegments !== void 0) {
11615
+ let data3 = data.camelCasePackageSegments;
11616
+ if (typeof data3 !== "boolean") {
11444
11617
  let coerced3 = void 0;
11445
11618
  if (!(coerced3 !== void 0)) {
11446
- if (dataType3 == "number" || dataType3 == "boolean") {
11447
- coerced3 = "" + data4;
11448
- } else if (data4 === null) {
11449
- coerced3 = "";
11619
+ if (data3 === "false" || data3 === 0 || data3 === null) {
11620
+ coerced3 = false;
11621
+ } else if (data3 === "true" || data3 === 1) {
11622
+ coerced3 = true;
11450
11623
  } else {
11451
- const err4 = { instancePath: instancePath + "/readmeTitle", schemaPath: "#/properties/readmeTitle/type", keyword: "type", params: { type: "string" }, message: "must be string" };
11624
+ const err4 = { instancePath: instancePath + "/camelCasePackageSegments", schemaPath: "#/properties/camelCasePackageSegments/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
11452
11625
  if (vErrors === null) {
11453
11626
  vErrors = [err4];
11454
11627
  } else {
@@ -11458,16 +11631,200 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
11458
11631
  }
11459
11632
  }
11460
11633
  if (coerced3 !== void 0) {
11461
- data4 = coerced3;
11634
+ data3 = coerced3;
11462
11635
  if (data !== void 0) {
11463
- data["readmeTitle"] = coerced3;
11636
+ data["camelCasePackageSegments"] = coerced3;
11464
11637
  }
11465
11638
  }
11466
11639
  }
11467
11640
  }
11468
- if (data.reverseDomain !== void 0) {
11469
- let data5 = data.reverseDomain;
11470
- if (typeof data5 !== "string") {
11641
+ } else {
11642
+ const err5 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11643
+ if (vErrors === null) {
11644
+ vErrors = [err5];
11645
+ } else {
11646
+ vErrors.push(err5);
11647
+ }
11648
+ errors++;
11649
+ }
11650
+ validate90.errors = vErrors;
11651
+ return errors === 0;
11652
+ }
11653
+ validate90.evaluated = { "props": { "camelCasePackageSegments": true, "flatModelPackages": true, "refNameNestedModels": true, "unnamespacedImplicitResponses": true }, "dynamicProps": false, "dynamicItems": false };
11654
+ function validate87(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11655
+ let vErrors = null;
11656
+ let errors = 0;
11657
+ const evaluated0 = validate87.evaluated;
11658
+ if (evaluated0.dynamicProps) {
11659
+ evaluated0.props = void 0;
11660
+ }
11661
+ if (evaluated0.dynamicItems) {
11662
+ evaluated0.items = void 0;
11663
+ }
11664
+ if (!validate88(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
11665
+ vErrors = vErrors === null ? validate88.errors : vErrors.concat(validate88.errors);
11666
+ errors = vErrors.length;
11667
+ }
11668
+ if (data && typeof data == "object" && !Array.isArray(data)) {
11669
+ if (data.backCompat !== void 0) {
11670
+ if (!validate90(data.backCompat, { instancePath: instancePath + "/backCompat", parentData: data, parentDataProperty: "backCompat", rootData, dynamicAnchors })) {
11671
+ vErrors = vErrors === null ? validate90.errors : vErrors.concat(validate90.errors);
11672
+ errors = vErrors.length;
11673
+ }
11674
+ }
11675
+ } else {
11676
+ const err0 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11677
+ if (vErrors === null) {
11678
+ vErrors = [err0];
11679
+ } else {
11680
+ vErrors.push(err0);
11681
+ }
11682
+ errors++;
11683
+ }
11684
+ validate87.errors = vErrors;
11685
+ return errors === 0;
11686
+ }
11687
+ validate87.evaluated = { "props": { "backCompat": true, "elideConst": true }, "dynamicProps": false, "dynamicItems": false };
11688
+ function validate81(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11689
+ let vErrors = null;
11690
+ let errors = 0;
11691
+ const evaluated0 = validate81.evaluated;
11692
+ if (evaluated0.dynamicProps) {
11693
+ evaluated0.props = void 0;
11694
+ }
11695
+ if (evaluated0.dynamicItems) {
11696
+ evaluated0.items = void 0;
11697
+ }
11698
+ if (data && typeof data == "object" && !Array.isArray(data)) {
11699
+ if (data.destinations !== void 0) {
11700
+ if (!validate47(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
11701
+ vErrors = vErrors === null ? validate47.errors : vErrors.concat(validate47.errors);
11702
+ errors = vErrors.length;
11703
+ }
11704
+ }
11705
+ if (data.promotion !== void 0) {
11706
+ let data1 = data.promotion;
11707
+ if (typeof data1 !== "string") {
11708
+ let dataType0 = typeof data1;
11709
+ let coerced0 = void 0;
11710
+ if (!(coerced0 !== void 0)) {
11711
+ if (dataType0 == "number" || dataType0 == "boolean") {
11712
+ coerced0 = "" + data1;
11713
+ } else if (data1 === null) {
11714
+ coerced0 = "";
11715
+ } else {
11716
+ const err0 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/type", keyword: "type", params: { type: "string" }, message: "must be string" };
11717
+ if (vErrors === null) {
11718
+ vErrors = [err0];
11719
+ } else {
11720
+ vErrors.push(err0);
11721
+ }
11722
+ errors++;
11723
+ }
11724
+ }
11725
+ if (coerced0 !== void 0) {
11726
+ data1 = coerced0;
11727
+ if (data !== void 0) {
11728
+ data["promotion"] = coerced0;
11729
+ }
11730
+ }
11731
+ }
11732
+ if (!(data1 === "automatic" || data1 === "manual")) {
11733
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
11734
+ if (vErrors === null) {
11735
+ vErrors = [err1];
11736
+ } else {
11737
+ vErrors.push(err1);
11738
+ }
11739
+ errors++;
11740
+ }
11741
+ }
11742
+ if (data.generatorVersion !== void 0) {
11743
+ let data2 = data.generatorVersion;
11744
+ if (typeof data2 !== "string") {
11745
+ let dataType1 = typeof data2;
11746
+ let coerced1 = void 0;
11747
+ if (!(coerced1 !== void 0)) {
11748
+ if (dataType1 == "number" || dataType1 == "boolean") {
11749
+ coerced1 = "" + data2;
11750
+ } else if (data2 === null) {
11751
+ coerced1 = "";
11752
+ } else {
11753
+ const err2 = { instancePath: instancePath + "/generatorVersion", schemaPath: "#/properties/generatorVersion/type", keyword: "type", params: { type: "string" }, message: "must be string" };
11754
+ if (vErrors === null) {
11755
+ vErrors = [err2];
11756
+ } else {
11757
+ vErrors.push(err2);
11758
+ }
11759
+ errors++;
11760
+ }
11761
+ }
11762
+ if (coerced1 !== void 0) {
11763
+ data2 = coerced1;
11764
+ if (data !== void 0) {
11765
+ data["generatorVersion"] = coerced1;
11766
+ }
11767
+ }
11768
+ }
11769
+ }
11770
+ if (data.skip !== void 0) {
11771
+ let data3 = data.skip;
11772
+ if (typeof data3 !== "boolean") {
11773
+ let coerced2 = void 0;
11774
+ if (!(coerced2 !== void 0)) {
11775
+ if (data3 === "false" || data3 === 0 || data3 === null) {
11776
+ coerced2 = false;
11777
+ } else if (data3 === "true" || data3 === 1) {
11778
+ coerced2 = true;
11779
+ } else {
11780
+ const err3 = { instancePath: instancePath + "/skip", schemaPath: "#/properties/skip/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
11781
+ if (vErrors === null) {
11782
+ vErrors = [err3];
11783
+ } else {
11784
+ vErrors.push(err3);
11785
+ }
11786
+ errors++;
11787
+ }
11788
+ }
11789
+ if (coerced2 !== void 0) {
11790
+ data3 = coerced2;
11791
+ if (data !== void 0) {
11792
+ data["skip"] = coerced2;
11793
+ }
11794
+ }
11795
+ }
11796
+ }
11797
+ if (data.readmeTitle !== void 0) {
11798
+ let data4 = data.readmeTitle;
11799
+ if (typeof data4 !== "string") {
11800
+ let dataType3 = typeof data4;
11801
+ let coerced3 = void 0;
11802
+ if (!(coerced3 !== void 0)) {
11803
+ if (dataType3 == "number" || dataType3 == "boolean") {
11804
+ coerced3 = "" + data4;
11805
+ } else if (data4 === null) {
11806
+ coerced3 = "";
11807
+ } else {
11808
+ const err4 = { instancePath: instancePath + "/readmeTitle", schemaPath: "#/properties/readmeTitle/type", keyword: "type", params: { type: "string" }, message: "must be string" };
11809
+ if (vErrors === null) {
11810
+ vErrors = [err4];
11811
+ } else {
11812
+ vErrors.push(err4);
11813
+ }
11814
+ errors++;
11815
+ }
11816
+ }
11817
+ if (coerced3 !== void 0) {
11818
+ data4 = coerced3;
11819
+ if (data !== void 0) {
11820
+ data["readmeTitle"] = coerced3;
11821
+ }
11822
+ }
11823
+ }
11824
+ }
11825
+ if (data.reverseDomain !== void 0) {
11826
+ let data5 = data.reverseDomain;
11827
+ if (typeof data5 !== "string") {
11471
11828
  let dataType4 = typeof data5;
11472
11829
  let coerced4 = void 0;
11473
11830
  if (!(coerced4 !== void 0)) {
@@ -11527,7 +11884,7 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
11527
11884
  }
11528
11885
  }
11529
11886
  if (typeof data7 === "string") {
11530
- if (!pattern8.test(data7)) {
11887
+ if (!pattern9.test(data7)) {
11531
11888
  const err7 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
11532
11889
  if (vErrors === null) {
11533
11890
  vErrors = [err7];
@@ -11557,10 +11914,239 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
11557
11914
  return errors === 0;
11558
11915
  }
11559
11916
  validate81.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "reverseDomain": true, "publish": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
11560
- function validate93(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11917
+ function validate94(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11561
11918
  let vErrors = null;
11562
11919
  let errors = 0;
11563
- const evaluated0 = validate93.evaluated;
11920
+ const evaluated0 = validate94.evaluated;
11921
+ if (evaluated0.dynamicProps) {
11922
+ evaluated0.props = void 0;
11923
+ }
11924
+ if (evaluated0.dynamicItems) {
11925
+ evaluated0.items = void 0;
11926
+ }
11927
+ if (data && typeof data == "object" && !Array.isArray(data)) {
11928
+ if (data.destinations !== void 0) {
11929
+ if (!validate47(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
11930
+ vErrors = vErrors === null ? validate47.errors : vErrors.concat(validate47.errors);
11931
+ errors = vErrors.length;
11932
+ }
11933
+ }
11934
+ if (data.promotion !== void 0) {
11935
+ let data1 = data.promotion;
11936
+ if (typeof data1 !== "string") {
11937
+ let dataType0 = typeof data1;
11938
+ let coerced0 = void 0;
11939
+ if (!(coerced0 !== void 0)) {
11940
+ if (dataType0 == "number" || dataType0 == "boolean") {
11941
+ coerced0 = "" + data1;
11942
+ } else if (data1 === null) {
11943
+ coerced0 = "";
11944
+ } else {
11945
+ const err0 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/type", keyword: "type", params: { type: "string" }, message: "must be string" };
11946
+ if (vErrors === null) {
11947
+ vErrors = [err0];
11948
+ } else {
11949
+ vErrors.push(err0);
11950
+ }
11951
+ errors++;
11952
+ }
11953
+ }
11954
+ if (coerced0 !== void 0) {
11955
+ data1 = coerced0;
11956
+ if (data !== void 0) {
11957
+ data["promotion"] = coerced0;
11958
+ }
11959
+ }
11960
+ }
11961
+ if (!(data1 === "automatic" || data1 === "manual")) {
11962
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
11963
+ if (vErrors === null) {
11964
+ vErrors = [err1];
11965
+ } else {
11966
+ vErrors.push(err1);
11967
+ }
11968
+ errors++;
11969
+ }
11970
+ }
11971
+ if (data.generatorVersion !== void 0) {
11972
+ let data2 = data.generatorVersion;
11973
+ if (typeof data2 !== "string") {
11974
+ let dataType1 = typeof data2;
11975
+ let coerced1 = void 0;
11976
+ if (!(coerced1 !== void 0)) {
11977
+ if (dataType1 == "number" || dataType1 == "boolean") {
11978
+ coerced1 = "" + data2;
11979
+ } else if (data2 === null) {
11980
+ coerced1 = "";
11981
+ } else {
11982
+ const err2 = { instancePath: instancePath + "/generatorVersion", schemaPath: "#/properties/generatorVersion/type", keyword: "type", params: { type: "string" }, message: "must be string" };
11983
+ if (vErrors === null) {
11984
+ vErrors = [err2];
11985
+ } else {
11986
+ vErrors.push(err2);
11987
+ }
11988
+ errors++;
11989
+ }
11990
+ }
11991
+ if (coerced1 !== void 0) {
11992
+ data2 = coerced1;
11993
+ if (data !== void 0) {
11994
+ data["generatorVersion"] = coerced1;
11995
+ }
11996
+ }
11997
+ }
11998
+ }
11999
+ if (data.skip !== void 0) {
12000
+ let data3 = data.skip;
12001
+ if (typeof data3 !== "boolean") {
12002
+ let coerced2 = void 0;
12003
+ if (!(coerced2 !== void 0)) {
12004
+ if (data3 === "false" || data3 === 0 || data3 === null) {
12005
+ coerced2 = false;
12006
+ } else if (data3 === "true" || data3 === 1) {
12007
+ coerced2 = true;
12008
+ } else {
12009
+ const err3 = { instancePath: instancePath + "/skip", schemaPath: "#/properties/skip/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
12010
+ if (vErrors === null) {
12011
+ vErrors = [err3];
12012
+ } else {
12013
+ vErrors.push(err3);
12014
+ }
12015
+ errors++;
12016
+ }
12017
+ }
12018
+ if (coerced2 !== void 0) {
12019
+ data3 = coerced2;
12020
+ if (data !== void 0) {
12021
+ data["skip"] = coerced2;
12022
+ }
12023
+ }
12024
+ }
12025
+ }
12026
+ if (data.readmeTitle !== void 0) {
12027
+ let data4 = data.readmeTitle;
12028
+ if (typeof data4 !== "string") {
12029
+ let dataType3 = typeof data4;
12030
+ let coerced3 = void 0;
12031
+ if (!(coerced3 !== void 0)) {
12032
+ if (dataType3 == "number" || dataType3 == "boolean") {
12033
+ coerced3 = "" + data4;
12034
+ } else if (data4 === null) {
12035
+ coerced3 = "";
12036
+ } else {
12037
+ const err4 = { instancePath: instancePath + "/readmeTitle", schemaPath: "#/properties/readmeTitle/type", keyword: "type", params: { type: "string" }, message: "must be string" };
12038
+ if (vErrors === null) {
12039
+ vErrors = [err4];
12040
+ } else {
12041
+ vErrors.push(err4);
12042
+ }
12043
+ errors++;
12044
+ }
12045
+ }
12046
+ if (coerced3 !== void 0) {
12047
+ data4 = coerced3;
12048
+ if (data !== void 0) {
12049
+ data["readmeTitle"] = coerced3;
12050
+ }
12051
+ }
12052
+ }
12053
+ }
12054
+ if (data.reverseDomain !== void 0) {
12055
+ let data5 = data.reverseDomain;
12056
+ if (typeof data5 !== "string") {
12057
+ let dataType4 = typeof data5;
12058
+ let coerced4 = void 0;
12059
+ if (!(coerced4 !== void 0)) {
12060
+ if (dataType4 == "number" || dataType4 == "boolean") {
12061
+ coerced4 = "" + data5;
12062
+ } else if (data5 === null) {
12063
+ coerced4 = "";
12064
+ } else {
12065
+ const err5 = { instancePath: instancePath + "/reverseDomain", schemaPath: "#/properties/reverseDomain/type", keyword: "type", params: { type: "string" }, message: "must be string" };
12066
+ if (vErrors === null) {
12067
+ vErrors = [err5];
12068
+ } else {
12069
+ vErrors.push(err5);
12070
+ }
12071
+ errors++;
12072
+ }
12073
+ }
12074
+ if (coerced4 !== void 0) {
12075
+ data5 = coerced4;
12076
+ if (data !== void 0) {
12077
+ data["reverseDomain"] = coerced4;
12078
+ }
12079
+ }
12080
+ }
12081
+ }
12082
+ if (data.publish !== void 0) {
12083
+ if (!validate83(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
12084
+ vErrors = vErrors === null ? validate83.errors : vErrors.concat(validate83.errors);
12085
+ errors = vErrors.length;
12086
+ }
12087
+ }
12088
+ if (data.prereleaseType !== void 0) {
12089
+ let data7 = data.prereleaseType;
12090
+ if (typeof data7 !== "string") {
12091
+ let dataType5 = typeof data7;
12092
+ let coerced5 = void 0;
12093
+ if (!(coerced5 !== void 0)) {
12094
+ if (dataType5 == "number" || dataType5 == "boolean") {
12095
+ coerced5 = "" + data7;
12096
+ } else if (data7 === null) {
12097
+ coerced5 = "";
12098
+ } else {
12099
+ const err6 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/type", keyword: "type", params: { type: "string" }, message: "must be string" };
12100
+ if (vErrors === null) {
12101
+ vErrors = [err6];
12102
+ } else {
12103
+ vErrors.push(err6);
12104
+ }
12105
+ errors++;
12106
+ }
12107
+ }
12108
+ if (coerced5 !== void 0) {
12109
+ data7 = coerced5;
12110
+ if (data !== void 0) {
12111
+ data["prereleaseType"] = coerced5;
12112
+ }
12113
+ }
12114
+ }
12115
+ if (typeof data7 === "string") {
12116
+ if (!pattern9.test(data7)) {
12117
+ const err7 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
12118
+ if (vErrors === null) {
12119
+ vErrors = [err7];
12120
+ } else {
12121
+ vErrors.push(err7);
12122
+ }
12123
+ errors++;
12124
+ }
12125
+ }
12126
+ }
12127
+ if (data.options !== void 0) {
12128
+ if (!validate88(data.options, { instancePath: instancePath + "/options", parentData: data, parentDataProperty: "options", rootData, dynamicAnchors })) {
12129
+ vErrors = vErrors === null ? validate88.errors : vErrors.concat(validate88.errors);
12130
+ errors = vErrors.length;
12131
+ }
12132
+ }
12133
+ } else {
12134
+ const err8 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
12135
+ if (vErrors === null) {
12136
+ vErrors = [err8];
12137
+ } else {
12138
+ vErrors.push(err8);
12139
+ }
12140
+ errors++;
12141
+ }
12142
+ validate94.errors = vErrors;
12143
+ return errors === 0;
12144
+ }
12145
+ validate94.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "reverseDomain": true, "publish": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
12146
+ function validate101(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12147
+ let vErrors = null;
12148
+ let errors = 0;
12149
+ const evaluated0 = validate101.evaluated;
11564
12150
  if (evaluated0.dynamicProps) {
11565
12151
  evaluated0.props = void 0;
11566
12152
  }
@@ -11583,14 +12169,14 @@ function validate93(data, { instancePath = "", parentData, parentDataProperty, r
11583
12169
  }
11584
12170
  errors++;
11585
12171
  }
11586
- validate93.errors = vErrors;
12172
+ validate101.errors = vErrors;
11587
12173
  return errors === 0;
11588
12174
  }
11589
- validate93.evaluated = { "props": { "swiftpm": true }, "dynamicProps": false, "dynamicItems": false };
11590
- function validate91(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12175
+ validate101.evaluated = { "props": { "swiftpm": true }, "dynamicProps": false, "dynamicItems": false };
12176
+ function validate99(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11591
12177
  let vErrors = null;
11592
12178
  let errors = 0;
11593
- const evaluated0 = validate91.evaluated;
12179
+ const evaluated0 = validate99.evaluated;
11594
12180
  if (evaluated0.dynamicProps) {
11595
12181
  evaluated0.props = void 0;
11596
12182
  }
@@ -11632,7 +12218,7 @@ function validate91(data, { instancePath = "", parentData, parentDataProperty, r
11632
12218
  }
11633
12219
  }
11634
12220
  if (!(data1 === "automatic" || data1 === "manual")) {
11635
- const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
12221
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
11636
12222
  if (vErrors === null) {
11637
12223
  vErrors = [err1];
11638
12224
  } else {
@@ -11753,8 +12339,8 @@ function validate91(data, { instancePath = "", parentData, parentDataProperty, r
11753
12339
  }
11754
12340
  }
11755
12341
  if (data.publish !== void 0) {
11756
- if (!validate93(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
11757
- vErrors = vErrors === null ? validate93.errors : vErrors.concat(validate93.errors);
12342
+ if (!validate101(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
12343
+ vErrors = vErrors === null ? validate101.errors : vErrors.concat(validate101.errors);
11758
12344
  errors = vErrors.length;
11759
12345
  }
11760
12346
  }
@@ -11786,7 +12372,7 @@ function validate91(data, { instancePath = "", parentData, parentDataProperty, r
11786
12372
  }
11787
12373
  }
11788
12374
  if (typeof data7 === "string") {
11789
- if (!pattern8.test(data7)) {
12375
+ if (!pattern9.test(data7)) {
11790
12376
  const err7 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
11791
12377
  if (vErrors === null) {
11792
12378
  vErrors = [err7];
@@ -11883,14 +12469,14 @@ function validate91(data, { instancePath = "", parentData, parentDataProperty, r
11883
12469
  }
11884
12470
  errors++;
11885
12471
  }
11886
- validate91.errors = vErrors;
12472
+ validate99.errors = vErrors;
11887
12473
  return errors === 0;
11888
12474
  }
11889
- validate91.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "publish": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
11890
- function validate99(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12475
+ validate99.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "publish": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
12476
+ function validate107(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11891
12477
  let vErrors = null;
11892
12478
  let errors = 0;
11893
- const evaluated0 = validate99.evaluated;
12479
+ const evaluated0 = validate107.evaluated;
11894
12480
  if (evaluated0.dynamicProps) {
11895
12481
  evaluated0.props = void 0;
11896
12482
  }
@@ -11913,14 +12499,14 @@ function validate99(data, { instancePath = "", parentData, parentDataProperty, r
11913
12499
  }
11914
12500
  errors++;
11915
12501
  }
11916
- validate99.errors = vErrors;
12502
+ validate107.errors = vErrors;
11917
12503
  return errors === 0;
11918
12504
  }
11919
- validate99.evaluated = { "props": { "rubygems": true }, "dynamicProps": false, "dynamicItems": false };
11920
- function validate97(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12505
+ validate107.evaluated = { "props": { "rubygems": true }, "dynamicProps": false, "dynamicItems": false };
12506
+ function validate105(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11921
12507
  let vErrors = null;
11922
12508
  let errors = 0;
11923
- const evaluated0 = validate97.evaluated;
12509
+ const evaluated0 = validate105.evaluated;
11924
12510
  if (evaluated0.dynamicProps) {
11925
12511
  evaluated0.props = void 0;
11926
12512
  }
@@ -11962,7 +12548,7 @@ function validate97(data, { instancePath = "", parentData, parentDataProperty, r
11962
12548
  }
11963
12549
  }
11964
12550
  if (!(data1 === "automatic" || data1 === "manual")) {
11965
- const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
12551
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
11966
12552
  if (vErrors === null) {
11967
12553
  vErrors = [err1];
11968
12554
  } else {
@@ -12083,8 +12669,8 @@ function validate97(data, { instancePath = "", parentData, parentDataProperty, r
12083
12669
  }
12084
12670
  }
12085
12671
  if (data.publish !== void 0) {
12086
- if (!validate99(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
12087
- vErrors = vErrors === null ? validate99.errors : vErrors.concat(validate99.errors);
12672
+ if (!validate107(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
12673
+ vErrors = vErrors === null ? validate107.errors : vErrors.concat(validate107.errors);
12088
12674
  errors = vErrors.length;
12089
12675
  }
12090
12676
  }
@@ -12116,7 +12702,7 @@ function validate97(data, { instancePath = "", parentData, parentDataProperty, r
12116
12702
  }
12117
12703
  }
12118
12704
  if (typeof data7 === "string") {
12119
- if (!pattern8.test(data7)) {
12705
+ if (!pattern9.test(data7)) {
12120
12706
  const err7 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
12121
12707
  if (vErrors === null) {
12122
12708
  vErrors = [err7];
@@ -12136,14 +12722,14 @@ function validate97(data, { instancePath = "", parentData, parentDataProperty, r
12136
12722
  }
12137
12723
  errors++;
12138
12724
  }
12139
- validate97.errors = vErrors;
12725
+ validate105.errors = vErrors;
12140
12726
  return errors === 0;
12141
12727
  }
12142
- validate97.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "gemName": true, "publish": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
12143
- function validate105(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12728
+ validate105.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "gemName": true, "publish": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
12729
+ function validate113(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12144
12730
  let vErrors = null;
12145
12731
  let errors = 0;
12146
- const evaluated0 = validate105.evaluated;
12732
+ const evaluated0 = validate113.evaluated;
12147
12733
  if (evaluated0.dynamicProps) {
12148
12734
  evaluated0.props = void 0;
12149
12735
  }
@@ -12166,14 +12752,14 @@ function validate105(data, { instancePath = "", parentData, parentDataProperty,
12166
12752
  }
12167
12753
  errors++;
12168
12754
  }
12169
- validate105.errors = vErrors;
12755
+ validate113.errors = vErrors;
12170
12756
  return errors === 0;
12171
12757
  }
12172
- validate105.evaluated = { "props": { "packagist": true }, "dynamicProps": false, "dynamicItems": false };
12173
- function validate103(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12758
+ validate113.evaluated = { "props": { "packagist": true }, "dynamicProps": false, "dynamicItems": false };
12759
+ function validate111(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12174
12760
  let vErrors = null;
12175
12761
  let errors = 0;
12176
- const evaluated0 = validate103.evaluated;
12762
+ const evaluated0 = validate111.evaluated;
12177
12763
  if (evaluated0.dynamicProps) {
12178
12764
  evaluated0.props = void 0;
12179
12765
  }
@@ -12215,7 +12801,7 @@ function validate103(data, { instancePath = "", parentData, parentDataProperty,
12215
12801
  }
12216
12802
  }
12217
12803
  if (!(data1 === "automatic" || data1 === "manual")) {
12218
- const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
12804
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
12219
12805
  if (vErrors === null) {
12220
12806
  vErrors = [err1];
12221
12807
  } else {
@@ -12392,8 +12978,8 @@ function validate103(data, { instancePath = "", parentData, parentDataProperty,
12392
12978
  }
12393
12979
  }
12394
12980
  if (data.publish !== void 0) {
12395
- if (!validate105(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
12396
- vErrors = vErrors === null ? validate105.errors : vErrors.concat(validate105.errors);
12981
+ if (!validate113(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
12982
+ vErrors = vErrors === null ? validate113.errors : vErrors.concat(validate113.errors);
12397
12983
  errors = vErrors.length;
12398
12984
  }
12399
12985
  }
@@ -12425,7 +13011,7 @@ function validate103(data, { instancePath = "", parentData, parentDataProperty,
12425
13011
  }
12426
13012
  }
12427
13013
  if (typeof data9 === "string") {
12428
- if (!pattern8.test(data9)) {
13014
+ if (!pattern9.test(data9)) {
12429
13015
  const err9 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
12430
13016
  if (vErrors === null) {
12431
13017
  vErrors = [err9];
@@ -12445,14 +13031,14 @@ function validate103(data, { instancePath = "", parentData, parentDataProperty,
12445
13031
  }
12446
13032
  errors++;
12447
13033
  }
12448
- validate103.errors = vErrors;
13034
+ validate111.errors = vErrors;
12449
13035
  return errors === 0;
12450
13036
  }
12451
- validate103.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "composerPackageName": true, "composerRepositoryUrl": true, "publish": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
12452
- function validate111(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13037
+ validate111.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "composerPackageName": true, "composerRepositoryUrl": true, "publish": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
13038
+ function validate119(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12453
13039
  let vErrors = null;
12454
13040
  let errors = 0;
12455
- const evaluated0 = validate111.evaluated;
13041
+ const evaluated0 = validate119.evaluated;
12456
13042
  if (evaluated0.dynamicProps) {
12457
13043
  evaluated0.props = void 0;
12458
13044
  }
@@ -12475,14 +13061,14 @@ function validate111(data, { instancePath = "", parentData, parentDataProperty,
12475
13061
  }
12476
13062
  errors++;
12477
13063
  }
12478
- validate111.errors = vErrors;
13064
+ validate119.errors = vErrors;
12479
13065
  return errors === 0;
12480
13066
  }
12481
- validate111.evaluated = { "props": { "nuget": true }, "dynamicProps": false, "dynamicItems": false };
12482
- function validate109(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13067
+ validate119.evaluated = { "props": { "nuget": true }, "dynamicProps": false, "dynamicItems": false };
13068
+ function validate117(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12483
13069
  let vErrors = null;
12484
13070
  let errors = 0;
12485
- const evaluated0 = validate109.evaluated;
13071
+ const evaluated0 = validate117.evaluated;
12486
13072
  if (evaluated0.dynamicProps) {
12487
13073
  evaluated0.props = void 0;
12488
13074
  }
@@ -12524,7 +13110,7 @@ function validate109(data, { instancePath = "", parentData, parentDataProperty,
12524
13110
  }
12525
13111
  }
12526
13112
  if (!(data1 === "automatic" || data1 === "manual")) {
12527
- const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
13113
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
12528
13114
  if (vErrors === null) {
12529
13115
  vErrors = [err1];
12530
13116
  } else {
@@ -12645,8 +13231,8 @@ function validate109(data, { instancePath = "", parentData, parentDataProperty,
12645
13231
  }
12646
13232
  }
12647
13233
  if (data.publish !== void 0) {
12648
- if (!validate111(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
12649
- vErrors = vErrors === null ? validate111.errors : vErrors.concat(validate111.errors);
13234
+ if (!validate119(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
13235
+ vErrors = vErrors === null ? validate119.errors : vErrors.concat(validate119.errors);
12650
13236
  errors = vErrors.length;
12651
13237
  }
12652
13238
  }
@@ -12678,7 +13264,7 @@ function validate109(data, { instancePath = "", parentData, parentDataProperty,
12678
13264
  }
12679
13265
  }
12680
13266
  if (typeof data7 === "string") {
12681
- if (!pattern8.test(data7)) {
13267
+ if (!pattern9.test(data7)) {
12682
13268
  const err7 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
12683
13269
  if (vErrors === null) {
12684
13270
  vErrors = [err7];
@@ -12698,14 +13284,14 @@ function validate109(data, { instancePath = "", parentData, parentDataProperty,
12698
13284
  }
12699
13285
  errors++;
12700
13286
  }
12701
- validate109.errors = vErrors;
13287
+ validate117.errors = vErrors;
12702
13288
  return errors === 0;
12703
13289
  }
12704
- validate109.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "publish": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
12705
- function validate115(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13290
+ validate117.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "publish": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
13291
+ function validate123(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12706
13292
  let vErrors = null;
12707
13293
  let errors = 0;
12708
- const evaluated0 = validate115.evaluated;
13294
+ const evaluated0 = validate123.evaluated;
12709
13295
  if (evaluated0.dynamicProps) {
12710
13296
  evaluated0.props = void 0;
12711
13297
  }
@@ -12830,7 +13416,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
12830
13416
  }
12831
13417
  }
12832
13418
  if (!(data4 === "automatic" || data4 === "manual")) {
12833
- const err4 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
13419
+ const err4 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
12834
13420
  if (vErrors === null) {
12835
13421
  vErrors = [err4];
12836
13422
  } else {
@@ -12848,14 +13434,14 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
12848
13434
  }
12849
13435
  errors++;
12850
13436
  }
12851
- validate115.errors = vErrors;
13437
+ validate123.errors = vErrors;
12852
13438
  return errors === 0;
12853
13439
  }
12854
- validate115.evaluated = { "props": { "generatorVersion": true, "skip": true, "readmeTitle": true, "destinations": true, "promotion": true }, "dynamicProps": false, "dynamicItems": false };
12855
- function validate120(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13440
+ validate123.evaluated = { "props": { "generatorVersion": true, "skip": true, "readmeTitle": true, "destinations": true, "promotion": true }, "dynamicProps": false, "dynamicItems": false };
13441
+ function validate128(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12856
13442
  let vErrors = null;
12857
13443
  let errors = 0;
12858
- const evaluated0 = validate120.evaluated;
13444
+ const evaluated0 = validate128.evaluated;
12859
13445
  if (evaluated0.dynamicProps) {
12860
13446
  evaluated0.props = void 0;
12861
13447
  }
@@ -12878,14 +13464,14 @@ function validate120(data, { instancePath = "", parentData, parentDataProperty,
12878
13464
  }
12879
13465
  errors++;
12880
13466
  }
12881
- validate120.errors = vErrors;
13467
+ validate128.errors = vErrors;
12882
13468
  return errors === 0;
12883
13469
  }
12884
- validate120.evaluated = { "props": { "pub": true }, "dynamicProps": false, "dynamicItems": false };
12885
- function validate118(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13470
+ validate128.evaluated = { "props": { "pub": true }, "dynamicProps": false, "dynamicItems": false };
13471
+ function validate126(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12886
13472
  let vErrors = null;
12887
13473
  let errors = 0;
12888
- const evaluated0 = validate118.evaluated;
13474
+ const evaluated0 = validate126.evaluated;
12889
13475
  if (evaluated0.dynamicProps) {
12890
13476
  evaluated0.props = void 0;
12891
13477
  }
@@ -12927,7 +13513,7 @@ function validate118(data, { instancePath = "", parentData, parentDataProperty,
12927
13513
  }
12928
13514
  }
12929
13515
  if (!(data1 === "automatic" || data1 === "manual")) {
12930
- const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
13516
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
12931
13517
  if (vErrors === null) {
12932
13518
  vErrors = [err1];
12933
13519
  } else {
@@ -13048,8 +13634,8 @@ function validate118(data, { instancePath = "", parentData, parentDataProperty,
13048
13634
  }
13049
13635
  }
13050
13636
  if (data.publish !== void 0) {
13051
- if (!validate120(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
13052
- vErrors = vErrors === null ? validate120.errors : vErrors.concat(validate120.errors);
13637
+ if (!validate128(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
13638
+ vErrors = vErrors === null ? validate128.errors : vErrors.concat(validate128.errors);
13053
13639
  errors = vErrors.length;
13054
13640
  }
13055
13641
  }
@@ -13081,7 +13667,7 @@ function validate118(data, { instancePath = "", parentData, parentDataProperty,
13081
13667
  }
13082
13668
  }
13083
13669
  if (typeof data7 === "string") {
13084
- if (!pattern8.test(data7)) {
13670
+ if (!pattern9.test(data7)) {
13085
13671
  const err7 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
13086
13672
  if (vErrors === null) {
13087
13673
  vErrors = [err7];
@@ -13101,16 +13687,16 @@ function validate118(data, { instancePath = "", parentData, parentDataProperty,
13101
13687
  }
13102
13688
  errors++;
13103
13689
  }
13104
- validate118.errors = vErrors;
13690
+ validate126.errors = vErrors;
13105
13691
  return errors === 0;
13106
13692
  }
13107
- validate118.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "publish": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
13108
- var schema121 = { "type": "object", "properties": { "destinations": { "$ref": "#/$defs/destinationsConfig" }, "promotion": { "$ref": "#/$defs/promotion" }, "generatorVersion": { "type": "string" }, "skip": { "type": "boolean" }, "readmeTitle": { "type": "string" }, "packageName": { "type": "string" }, "binaryName": { "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9_])?$" }, "defaultFormat": { "type": "string" }, "defaultErrorFormat": { "type": "string" }, "shellCompletions": { "type": "boolean", "default": true }, "subresourceSeparator": { "enum": ["colon", "space"], "default": "colon" }, "publish": { "$ref": "#/$defs/cliPublishConfig" }, "credentialStore": { "$ref": "#/$defs/cliCredentialStoreConfig" }, "prereleaseType": { "$ref": "#/$defs/prereleaseType" } } };
13109
- var pattern27 = new RegExp("^[A-Za-z0-9][A-Za-z0-9._-]*/[A-Za-z0-9][A-Za-z0-9._-]*$", "u");
13110
- function validate129(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13693
+ validate126.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "publish": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
13694
+ var schema128 = { "type": "object", "properties": { "destinations": { "$ref": "#/$defs/destinationsConfig" }, "promotion": { "$ref": "#/$defs/promotion" }, "generatorVersion": { "type": "string" }, "skip": { "type": "boolean" }, "readmeTitle": { "type": "string" }, "packageName": { "type": "string" }, "binaryName": { "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9_])?$" }, "defaultFormat": { "type": "string" }, "defaultErrorFormat": { "type": "string" }, "shellCompletions": { "type": "boolean", "default": true }, "subresourceSeparator": { "enum": ["colon", "space"], "default": "colon" }, "publish": { "$ref": "#/$defs/cliPublishConfig" }, "credentialStore": { "$ref": "#/$defs/cliCredentialStoreConfig" }, "prereleaseType": { "$ref": "#/$defs/prereleaseType" } } };
13695
+ var pattern29 = new RegExp("^[A-Za-z0-9][A-Za-z0-9._-]*/[A-Za-z0-9][A-Za-z0-9._-]*$", "u");
13696
+ function validate137(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13111
13697
  let vErrors = null;
13112
13698
  let errors = 0;
13113
- const evaluated0 = validate129.evaluated;
13699
+ const evaluated0 = validate137.evaluated;
13114
13700
  if (evaluated0.dynamicProps) {
13115
13701
  evaluated0.props = void 0;
13116
13702
  }
@@ -13264,7 +13850,7 @@ function validate129(data, { instancePath = "", parentData, parentDataProperty,
13264
13850
  }
13265
13851
  }
13266
13852
  if (typeof data3 === "string") {
13267
- if (!pattern27.test(data3)) {
13853
+ if (!pattern29.test(data3)) {
13268
13854
  const err7 = { instancePath: instancePath + "/tapRepo", schemaPath: "#/anyOf/0/properties/tapRepo/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z0-9][A-Za-z0-9._-]*/[A-Za-z0-9][A-Za-z0-9._-]*$" }, message: 'must match pattern "^[A-Za-z0-9][A-Za-z0-9._-]*/[A-Za-z0-9][A-Za-z0-9._-]*$"' };
13269
13855
  if (vErrors === null) {
13270
13856
  vErrors = [err7];
@@ -13303,7 +13889,7 @@ function validate129(data, { instancePath = "", parentData, parentDataProperty,
13303
13889
  }
13304
13890
  }
13305
13891
  if (!(data4 === "oidc" || data4 === "access-token")) {
13306
- const err9 = { instancePath: instancePath + "/authMethod", schemaPath: "#/$defs/publishAuthMethod/enum", keyword: "enum", params: { allowedValues: schema66.enum }, message: "must be equal to one of the allowed values" };
13892
+ const err9 = { instancePath: instancePath + "/authMethod", schemaPath: "#/$defs/publishAuthMethod/enum", keyword: "enum", params: { allowedValues: schema67.enum }, message: "must be equal to one of the allowed values" };
13307
13893
  if (vErrors === null) {
13308
13894
  vErrors = [err9];
13309
13895
  } else {
@@ -13569,16 +14155,16 @@ function validate129(data, { instancePath = "", parentData, parentDataProperty,
13569
14155
  }
13570
14156
  }
13571
14157
  }
13572
- validate129.errors = vErrors;
14158
+ validate137.errors = vErrors;
13573
14159
  evaluated0.props = props0;
13574
14160
  return errors === 0;
13575
14161
  }
13576
- validate129.evaluated = { "dynamicProps": true, "dynamicItems": false };
13577
- var schema127 = { "type": "string", "enum": ["sign", "sign-and-notarize"] };
13578
- function validate131(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14162
+ validate137.evaluated = { "dynamicProps": true, "dynamicItems": false };
14163
+ var schema134 = { "type": "string", "enum": ["sign", "sign-and-notarize"] };
14164
+ function validate139(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13579
14165
  let vErrors = null;
13580
14166
  let errors = 0;
13581
- const evaluated0 = validate131.evaluated;
14167
+ const evaluated0 = validate139.evaluated;
13582
14168
  if (evaluated0.dynamicProps) {
13583
14169
  evaluated0.props = void 0;
13584
14170
  }
@@ -13625,7 +14211,7 @@ function validate131(data, { instancePath = "", parentData, parentDataProperty,
13625
14211
  }
13626
14212
  }
13627
14213
  if (!(data0 === "sign" || data0 === "sign-and-notarize")) {
13628
- const err2 = { instancePath: instancePath + "/macos", schemaPath: "#/$defs/macosSigningConfig/enum", keyword: "enum", params: { allowedValues: schema127.enum }, message: "must be equal to one of the allowed values" };
14214
+ const err2 = { instancePath: instancePath + "/macos", schemaPath: "#/$defs/macosSigningConfig/enum", keyword: "enum", params: { allowedValues: schema134.enum }, message: "must be equal to one of the allowed values" };
13629
14215
  if (vErrors === null) {
13630
14216
  vErrors = [err2];
13631
14217
  } else {
@@ -13643,14 +14229,14 @@ function validate131(data, { instancePath = "", parentData, parentDataProperty,
13643
14229
  }
13644
14230
  errors++;
13645
14231
  }
13646
- validate131.errors = vErrors;
14232
+ validate139.errors = vErrors;
13647
14233
  return errors === 0;
13648
14234
  }
13649
- validate131.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
13650
- function validate126(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14235
+ validate139.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
14236
+ function validate134(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13651
14237
  let vErrors = null;
13652
14238
  let errors = 0;
13653
- const evaluated0 = validate126.evaluated;
14239
+ const evaluated0 = validate134.evaluated;
13654
14240
  if (evaluated0.dynamicProps) {
13655
14241
  evaluated0.props = void 0;
13656
14242
  }
@@ -13804,14 +14390,14 @@ function validate126(data, { instancePath = "", parentData, parentDataProperty,
13804
14390
  }
13805
14391
  }
13806
14392
  if (data.homebrew !== void 0) {
13807
- if (!validate129(data.homebrew, { instancePath: instancePath + "/homebrew", parentData: data, parentDataProperty: "homebrew", rootData, dynamicAnchors })) {
13808
- vErrors = vErrors === null ? validate129.errors : vErrors.concat(validate129.errors);
14393
+ if (!validate137(data.homebrew, { instancePath: instancePath + "/homebrew", parentData: data, parentDataProperty: "homebrew", rootData, dynamicAnchors })) {
14394
+ vErrors = vErrors === null ? validate137.errors : vErrors.concat(validate137.errors);
13809
14395
  errors = vErrors.length;
13810
14396
  }
13811
14397
  }
13812
14398
  if (data.signing !== void 0) {
13813
- if (!validate131(data.signing, { instancePath: instancePath + "/signing", parentData: data, parentDataProperty: "signing", rootData, dynamicAnchors })) {
13814
- vErrors = vErrors === null ? validate131.errors : vErrors.concat(validate131.errors);
14399
+ if (!validate139(data.signing, { instancePath: instancePath + "/signing", parentData: data, parentDataProperty: "signing", rootData, dynamicAnchors })) {
14400
+ vErrors = vErrors === null ? validate139.errors : vErrors.concat(validate139.errors);
13815
14401
  errors = vErrors.length;
13816
14402
  }
13817
14403
  }
@@ -13824,12 +14410,12 @@ function validate126(data, { instancePath = "", parentData, parentDataProperty,
13824
14410
  }
13825
14411
  errors++;
13826
14412
  }
13827
- validate126.errors = vErrors;
14413
+ validate134.errors = vErrors;
13828
14414
  evaluated0.props = props0;
13829
14415
  return errors === 0;
13830
14416
  }
13831
- validate126.evaluated = { "dynamicProps": true, "dynamicItems": false };
13832
- var schema128 = { "type": "object", "properties": { "enabled": { "type": "boolean", "default": true }, "backend": { "type": "string", "enum": ["auto", "keychain", "file"], "default": "auto" }, "oauth": { "$ref": "#/$defs/cliOauthClientConfig" } } };
14417
+ validate134.evaluated = { "dynamicProps": true, "dynamicItems": false };
14418
+ var schema135 = { "type": "object", "properties": { "enabled": { "type": "boolean", "default": true }, "backend": { "type": "string", "enum": ["auto", "keychain", "file"], "default": "auto" }, "oauth": { "$ref": "#/$defs/cliOauthClientConfig" } } };
13833
14419
  var func4 = (function ucs2length(str) {
13834
14420
  const len = str.length;
13835
14421
  let length = 0;
@@ -13846,11 +14432,11 @@ var func4 = (function ucs2length(str) {
13846
14432
  }
13847
14433
  return length;
13848
14434
  });
13849
- var pattern28 = new RegExp("^(https://[^\\s/?#@]+|http://(localhost|127\\.0\\.0\\.1|\\[::1\\])(:[0-9]+)?)(/[^\\s?#]*)?$", "u");
13850
- function validate134(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14435
+ var pattern30 = new RegExp("^(https://[^\\s/?#@]+|http://(localhost|127\\.0\\.0\\.1|\\[::1\\])(:[0-9]+)?)(/[^\\s?#]*)?$", "u");
14436
+ function validate142(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13851
14437
  let vErrors = null;
13852
14438
  let errors = 0;
13853
- const evaluated0 = validate134.evaluated;
14439
+ const evaluated0 = validate142.evaluated;
13854
14440
  if (evaluated0.dynamicProps) {
13855
14441
  evaluated0.props = void 0;
13856
14442
  }
@@ -13913,7 +14499,7 @@ function validate134(data, { instancePath = "", parentData, parentDataProperty,
13913
14499
  }
13914
14500
  }
13915
14501
  if (!(data1 === "auto" || data1 === "keychain" || data1 === "file")) {
13916
- const err2 = { instancePath: instancePath + "/backend", schemaPath: "#/properties/backend/enum", keyword: "enum", params: { allowedValues: schema128.properties.backend.enum }, message: "must be equal to one of the allowed values" };
14502
+ const err2 = { instancePath: instancePath + "/backend", schemaPath: "#/properties/backend/enum", keyword: "enum", params: { allowedValues: schema135.properties.backend.enum }, message: "must be equal to one of the allowed values" };
13917
14503
  if (vErrors === null) {
13918
14504
  vErrors = [err2];
13919
14505
  } else {
@@ -14070,8 +14656,8 @@ function validate134(data, { instancePath = "", parentData, parentDataProperty,
14070
14656
  errors++;
14071
14657
  }
14072
14658
  }
14073
- if (data2.issuer !== void 0) {
14074
- let data7 = data2.issuer;
14659
+ if (data2.revocationUrl !== void 0) {
14660
+ let data7 = data2.revocationUrl;
14075
14661
  if (typeof data7 !== "string") {
14076
14662
  let dataType5 = typeof data7;
14077
14663
  let coerced5 = void 0;
@@ -14081,62 +14667,101 @@ function validate134(data, { instancePath = "", parentData, parentDataProperty,
14081
14667
  } else if (data7 === null) {
14082
14668
  coerced5 = "";
14083
14669
  } else {
14084
- const err12 = { instancePath: instancePath + "/oauth/issuer", schemaPath: "#/$defs/cliOauthClientConfig/properties/issuer/type", keyword: "type", params: { type: "string" }, message: "must be string" };
14670
+ const err12 = { instancePath: instancePath + "/oauth/revocationUrl", schemaPath: "#/$defs/cliOauthClientConfig/properties/revocationUrl/type", keyword: "type", params: { type: "string" }, message: "must be string" };
14671
+ if (vErrors === null) {
14672
+ vErrors = [err12];
14673
+ } else {
14674
+ vErrors.push(err12);
14675
+ }
14676
+ errors++;
14677
+ }
14678
+ }
14679
+ if (coerced5 !== void 0) {
14680
+ data7 = coerced5;
14681
+ if (data2 !== void 0) {
14682
+ data2["revocationUrl"] = coerced5;
14683
+ }
14684
+ }
14685
+ }
14686
+ if (typeof data7 === "string") {
14687
+ if (func4(data7) < 1) {
14688
+ const err13 = { instancePath: instancePath + "/oauth/revocationUrl", schemaPath: "#/$defs/cliOauthClientConfig/properties/revocationUrl/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
14689
+ if (vErrors === null) {
14690
+ vErrors = [err13];
14691
+ } else {
14692
+ vErrors.push(err13);
14693
+ }
14694
+ errors++;
14695
+ }
14696
+ }
14697
+ }
14698
+ if (data2.issuer !== void 0) {
14699
+ let data8 = data2.issuer;
14700
+ if (typeof data8 !== "string") {
14701
+ let dataType6 = typeof data8;
14702
+ let coerced6 = void 0;
14703
+ if (!(coerced6 !== void 0)) {
14704
+ if (dataType6 == "number" || dataType6 == "boolean") {
14705
+ coerced6 = "" + data8;
14706
+ } else if (data8 === null) {
14707
+ coerced6 = "";
14708
+ } else {
14709
+ const err14 = { instancePath: instancePath + "/oauth/issuer", schemaPath: "#/$defs/cliOauthClientConfig/properties/issuer/type", keyword: "type", params: { type: "string" }, message: "must be string" };
14085
14710
  if (vErrors === null) {
14086
- vErrors = [err12];
14711
+ vErrors = [err14];
14087
14712
  } else {
14088
- vErrors.push(err12);
14713
+ vErrors.push(err14);
14089
14714
  }
14090
14715
  errors++;
14091
14716
  }
14092
14717
  }
14093
- if (coerced5 !== void 0) {
14094
- data7 = coerced5;
14718
+ if (coerced6 !== void 0) {
14719
+ data8 = coerced6;
14095
14720
  if (data2 !== void 0) {
14096
- data2["issuer"] = coerced5;
14721
+ data2["issuer"] = coerced6;
14097
14722
  }
14098
14723
  }
14099
14724
  }
14100
- if (typeof data7 === "string") {
14101
- if (!pattern28.test(data7)) {
14102
- const err13 = { instancePath: instancePath + "/oauth/issuer", schemaPath: "#/$defs/cliOauthClientConfig/properties/issuer/pattern", keyword: "pattern", params: { pattern: "^(https://[^\\s/?#@]+|http://(localhost|127\\.0\\.0\\.1|\\[::1\\])(:[0-9]+)?)(/[^\\s?#]*)?$" }, message: 'must match pattern "^(https://[^\\s/?#@]+|http://(localhost|127\\.0\\.0\\.1|\\[::1\\])(:[0-9]+)?)(/[^\\s?#]*)?$"' };
14725
+ if (typeof data8 === "string") {
14726
+ if (!pattern30.test(data8)) {
14727
+ const err15 = { instancePath: instancePath + "/oauth/issuer", schemaPath: "#/$defs/cliOauthClientConfig/properties/issuer/pattern", keyword: "pattern", params: { pattern: "^(https://[^\\s/?#@]+|http://(localhost|127\\.0\\.0\\.1|\\[::1\\])(:[0-9]+)?)(/[^\\s?#]*)?$" }, message: 'must match pattern "^(https://[^\\s/?#@]+|http://(localhost|127\\.0\\.0\\.1|\\[::1\\])(:[0-9]+)?)(/[^\\s?#]*)?$"' };
14103
14728
  if (vErrors === null) {
14104
- vErrors = [err13];
14729
+ vErrors = [err15];
14105
14730
  } else {
14106
- vErrors.push(err13);
14731
+ vErrors.push(err15);
14107
14732
  }
14108
14733
  errors++;
14109
14734
  }
14110
14735
  }
14111
14736
  }
14112
14737
  } else {
14113
- const err14 = { instancePath: instancePath + "/oauth", schemaPath: "#/$defs/cliOauthClientConfig/type", keyword: "type", params: { type: "object" }, message: "must be object" };
14738
+ const err16 = { instancePath: instancePath + "/oauth", schemaPath: "#/$defs/cliOauthClientConfig/type", keyword: "type", params: { type: "object" }, message: "must be object" };
14114
14739
  if (vErrors === null) {
14115
- vErrors = [err14];
14740
+ vErrors = [err16];
14116
14741
  } else {
14117
- vErrors.push(err14);
14742
+ vErrors.push(err16);
14118
14743
  }
14119
14744
  errors++;
14120
14745
  }
14121
14746
  }
14122
14747
  } else {
14123
- const err15 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
14748
+ const err17 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
14124
14749
  if (vErrors === null) {
14125
- vErrors = [err15];
14750
+ vErrors = [err17];
14126
14751
  } else {
14127
- vErrors.push(err15);
14752
+ vErrors.push(err17);
14128
14753
  }
14129
14754
  errors++;
14130
14755
  }
14131
- validate134.errors = vErrors;
14756
+ validate142.errors = vErrors;
14132
14757
  return errors === 0;
14133
14758
  }
14134
- validate134.evaluated = { "props": { "enabled": true, "backend": true, "oauth": true }, "dynamicProps": false, "dynamicItems": false };
14135
- var pattern26 = new RegExp("^[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9_])?$", "u");
14136
- function validate124(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14759
+ validate142.evaluated = { "props": { "enabled": true, "backend": true, "oauth": true }, "dynamicProps": false, "dynamicItems": false };
14760
+ var pattern28 = new RegExp("^[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9_])?$", "u");
14761
+ function validate132(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14137
14762
  let vErrors = null;
14138
14763
  let errors = 0;
14139
- const evaluated0 = validate124.evaluated;
14764
+ const evaluated0 = validate132.evaluated;
14140
14765
  if (evaluated0.dynamicProps) {
14141
14766
  evaluated0.props = void 0;
14142
14767
  }
@@ -14178,7 +14803,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
14178
14803
  }
14179
14804
  }
14180
14805
  if (!(data1 === "automatic" || data1 === "manual")) {
14181
- const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema63.enum }, message: "must be equal to one of the allowed values" };
14806
+ const err1 = { instancePath: instancePath + "/promotion", schemaPath: "#/$defs/promotion/enum", keyword: "enum", params: { allowedValues: schema64.enum }, message: "must be equal to one of the allowed values" };
14182
14807
  if (vErrors === null) {
14183
14808
  vErrors = [err1];
14184
14809
  } else {
@@ -14326,7 +14951,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
14326
14951
  }
14327
14952
  }
14328
14953
  if (typeof data6 === "string") {
14329
- if (!pattern26.test(data6)) {
14954
+ if (!pattern28.test(data6)) {
14330
14955
  const err7 = { instancePath: instancePath + "/binaryName", schemaPath: "#/properties/binaryName/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9_])?$" }, message: 'must match pattern "^[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9_])?$"' };
14331
14956
  if (vErrors === null) {
14332
14957
  vErrors = [err7];
@@ -14423,7 +15048,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
14423
15048
  if (data.subresourceSeparator !== void 0) {
14424
15049
  let data10 = data.subresourceSeparator;
14425
15050
  if (!(data10 === "colon" || data10 === "space")) {
14426
- const err11 = { instancePath: instancePath + "/subresourceSeparator", schemaPath: "#/properties/subresourceSeparator/enum", keyword: "enum", params: { allowedValues: schema121.properties.subresourceSeparator.enum }, message: "must be equal to one of the allowed values" };
15051
+ const err11 = { instancePath: instancePath + "/subresourceSeparator", schemaPath: "#/properties/subresourceSeparator/enum", keyword: "enum", params: { allowedValues: schema128.properties.subresourceSeparator.enum }, message: "must be equal to one of the allowed values" };
14427
15052
  if (vErrors === null) {
14428
15053
  vErrors = [err11];
14429
15054
  } else {
@@ -14433,14 +15058,14 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
14433
15058
  }
14434
15059
  }
14435
15060
  if (data.publish !== void 0) {
14436
- if (!validate126(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
14437
- vErrors = vErrors === null ? validate126.errors : vErrors.concat(validate126.errors);
15061
+ if (!validate134(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
15062
+ vErrors = vErrors === null ? validate134.errors : vErrors.concat(validate134.errors);
14438
15063
  errors = vErrors.length;
14439
15064
  }
14440
15065
  }
14441
15066
  if (data.credentialStore !== void 0) {
14442
- if (!validate134(data.credentialStore, { instancePath: instancePath + "/credentialStore", parentData: data, parentDataProperty: "credentialStore", rootData, dynamicAnchors })) {
14443
- vErrors = vErrors === null ? validate134.errors : vErrors.concat(validate134.errors);
15067
+ if (!validate142(data.credentialStore, { instancePath: instancePath + "/credentialStore", parentData: data, parentDataProperty: "credentialStore", rootData, dynamicAnchors })) {
15068
+ vErrors = vErrors === null ? validate142.errors : vErrors.concat(validate142.errors);
14444
15069
  errors = vErrors.length;
14445
15070
  }
14446
15071
  }
@@ -14472,7 +15097,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
14472
15097
  }
14473
15098
  }
14474
15099
  if (typeof data13 === "string") {
14475
- if (!pattern8.test(data13)) {
15100
+ if (!pattern9.test(data13)) {
14476
15101
  const err13 = { instancePath: instancePath + "/prereleaseType", schemaPath: "#/$defs/prereleaseType/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z][0-9A-Za-z-]*$" }, message: 'must match pattern "^[A-Za-z][0-9A-Za-z-]*$"' };
14477
15102
  if (vErrors === null) {
14478
15103
  vErrors = [err13];
@@ -14492,10 +15117,10 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
14492
15117
  }
14493
15118
  errors++;
14494
15119
  }
14495
- validate124.errors = vErrors;
15120
+ validate132.errors = vErrors;
14496
15121
  return errors === 0;
14497
15122
  }
14498
- validate124.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "binaryName": true, "defaultFormat": true, "defaultErrorFormat": true, "shellCompletions": true, "subresourceSeparator": true, "publish": true, "credentialStore": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
15123
+ validate132.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "binaryName": true, "defaultFormat": true, "defaultErrorFormat": true, "shellCompletions": true, "subresourceSeparator": true, "publish": true, "credentialStore": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
14499
15124
  function validate45(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14500
15125
  let vErrors = null;
14501
15126
  let errors = 0;
@@ -14538,50 +15163,50 @@ function validate45(data, { instancePath = "", parentData, parentDataProperty, r
14538
15163
  }
14539
15164
  }
14540
15165
  if (data.kotlin !== void 0) {
14541
- if (!validate81(data.kotlin, { instancePath: instancePath + "/kotlin", parentData: data, parentDataProperty: "kotlin", rootData, dynamicAnchors })) {
14542
- vErrors = vErrors === null ? validate81.errors : vErrors.concat(validate81.errors);
15166
+ if (!validate94(data.kotlin, { instancePath: instancePath + "/kotlin", parentData: data, parentDataProperty: "kotlin", rootData, dynamicAnchors })) {
15167
+ vErrors = vErrors === null ? validate94.errors : vErrors.concat(validate94.errors);
14543
15168
  errors = vErrors.length;
14544
15169
  }
14545
15170
  }
14546
15171
  if (data.swift !== void 0) {
14547
- if (!validate91(data.swift, { instancePath: instancePath + "/swift", parentData: data, parentDataProperty: "swift", rootData, dynamicAnchors })) {
14548
- vErrors = vErrors === null ? validate91.errors : vErrors.concat(validate91.errors);
15172
+ if (!validate99(data.swift, { instancePath: instancePath + "/swift", parentData: data, parentDataProperty: "swift", rootData, dynamicAnchors })) {
15173
+ vErrors = vErrors === null ? validate99.errors : vErrors.concat(validate99.errors);
14549
15174
  errors = vErrors.length;
14550
15175
  }
14551
15176
  }
14552
15177
  if (data.ruby !== void 0) {
14553
- if (!validate97(data.ruby, { instancePath: instancePath + "/ruby", parentData: data, parentDataProperty: "ruby", rootData, dynamicAnchors })) {
14554
- vErrors = vErrors === null ? validate97.errors : vErrors.concat(validate97.errors);
15178
+ if (!validate105(data.ruby, { instancePath: instancePath + "/ruby", parentData: data, parentDataProperty: "ruby", rootData, dynamicAnchors })) {
15179
+ vErrors = vErrors === null ? validate105.errors : vErrors.concat(validate105.errors);
14555
15180
  errors = vErrors.length;
14556
15181
  }
14557
15182
  }
14558
15183
  if (data.php !== void 0) {
14559
- if (!validate103(data.php, { instancePath: instancePath + "/php", parentData: data, parentDataProperty: "php", rootData, dynamicAnchors })) {
14560
- vErrors = vErrors === null ? validate103.errors : vErrors.concat(validate103.errors);
15184
+ if (!validate111(data.php, { instancePath: instancePath + "/php", parentData: data, parentDataProperty: "php", rootData, dynamicAnchors })) {
15185
+ vErrors = vErrors === null ? validate111.errors : vErrors.concat(validate111.errors);
14561
15186
  errors = vErrors.length;
14562
15187
  }
14563
15188
  }
14564
15189
  if (data.csharp !== void 0) {
14565
- if (!validate109(data.csharp, { instancePath: instancePath + "/csharp", parentData: data, parentDataProperty: "csharp", rootData, dynamicAnchors })) {
14566
- vErrors = vErrors === null ? validate109.errors : vErrors.concat(validate109.errors);
15190
+ if (!validate117(data.csharp, { instancePath: instancePath + "/csharp", parentData: data, parentDataProperty: "csharp", rootData, dynamicAnchors })) {
15191
+ vErrors = vErrors === null ? validate117.errors : vErrors.concat(validate117.errors);
14567
15192
  errors = vErrors.length;
14568
15193
  }
14569
15194
  }
14570
15195
  if (data.cpp !== void 0) {
14571
- if (!validate115(data.cpp, { instancePath: instancePath + "/cpp", parentData: data, parentDataProperty: "cpp", rootData, dynamicAnchors })) {
14572
- vErrors = vErrors === null ? validate115.errors : vErrors.concat(validate115.errors);
15196
+ if (!validate123(data.cpp, { instancePath: instancePath + "/cpp", parentData: data, parentDataProperty: "cpp", rootData, dynamicAnchors })) {
15197
+ vErrors = vErrors === null ? validate123.errors : vErrors.concat(validate123.errors);
14573
15198
  errors = vErrors.length;
14574
15199
  }
14575
15200
  }
14576
15201
  if (data.dart !== void 0) {
14577
- if (!validate118(data.dart, { instancePath: instancePath + "/dart", parentData: data, parentDataProperty: "dart", rootData, dynamicAnchors })) {
14578
- vErrors = vErrors === null ? validate118.errors : vErrors.concat(validate118.errors);
15202
+ if (!validate126(data.dart, { instancePath: instancePath + "/dart", parentData: data, parentDataProperty: "dart", rootData, dynamicAnchors })) {
15203
+ vErrors = vErrors === null ? validate126.errors : vErrors.concat(validate126.errors);
14579
15204
  errors = vErrors.length;
14580
15205
  }
14581
15206
  }
14582
15207
  if (data.cli !== void 0) {
14583
- if (!validate124(data.cli, { instancePath: instancePath + "/cli", parentData: data, parentDataProperty: "cli", rootData, dynamicAnchors })) {
14584
- vErrors = vErrors === null ? validate124.errors : vErrors.concat(validate124.errors);
15208
+ if (!validate132(data.cli, { instancePath: instancePath + "/cli", parentData: data, parentDataProperty: "cli", rootData, dynamicAnchors })) {
15209
+ vErrors = vErrors === null ? validate132.errors : vErrors.concat(validate132.errors);
14585
15210
  errors = vErrors.length;
14586
15211
  }
14587
15212
  }
@@ -14598,12 +15223,12 @@ function validate45(data, { instancePath = "", parentData, parentDataProperty, r
14598
15223
  return errors === 0;
14599
15224
  }
14600
15225
  validate45.evaluated = { "props": { "typescript": true, "python": true, "go": true, "rust": true, "java": true, "kotlin": true, "swift": true, "ruby": true, "php": true, "csharp": true, "cpp": true, "dart": true, "cli": true }, "dynamicProps": false, "dynamicItems": false };
14601
- var schema131 = { "type": "object", "properties": { "opts": { "type": "object", "additionalProperties": { "$ref": "#/$defs/clientOpt" } }, "baseUrlAliases": { "type": "array", "items": { "type": "string" } }, "defaultHeaders": { "type": "object", "additionalProperties": { "type": "string" } }, "defaultClientName": { "type": "string" }, "defaultClientExampleName": { "type": "string" }, "defaultEnvPrefix": { "type": "string" }, "idempotencyHeader": { "type": "string" }, "emptyResponseAccept": { "enum": ["wildcard", "inherit"] }, "defaultTimeout": { "anyOf": [{ "type": "number" }, { "type": "string" }] }, "defaultRetries": { "$ref": "#/$defs/retrySettings" }, "responseHeaders": { "type": "object", "additionalProperties": { "type": "string" } } }, "required": ["opts"] };
14602
- var schema133 = { "enum": ["value", "username", "password", "clientId", "clientSecret"] };
14603
- function validate139(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15226
+ var schema138 = { "type": "object", "properties": { "opts": { "type": "object", "additionalProperties": { "$ref": "#/$defs/clientOpt" } }, "baseUrlAliases": { "type": "array", "items": { "type": "string" } }, "defaultHeaders": { "type": "object", "additionalProperties": { "type": "string" } }, "defaultClientName": { "type": "string" }, "defaultClientExampleName": { "type": "string" }, "defaultEnvPrefix": { "type": "string" }, "idempotencyHeader": { "type": "string" }, "emptyResponseAccept": { "enum": ["wildcard", "inherit"] }, "defaultTimeout": { "anyOf": [{ "type": "number" }, { "type": "string" }] }, "defaultRetries": { "$ref": "#/$defs/retrySettings" }, "responseHeaders": { "type": "object", "additionalProperties": { "type": "string" } } }, "required": ["opts"] };
15227
+ var schema140 = { "enum": ["value", "username", "password", "clientId", "clientSecret"] };
15228
+ function validate147(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14604
15229
  let vErrors = null;
14605
15230
  let errors = 0;
14606
- const evaluated0 = validate139.evaluated;
15231
+ const evaluated0 = validate147.evaluated;
14607
15232
  if (evaluated0.dynamicProps) {
14608
15233
  evaluated0.props = void 0;
14609
15234
  }
@@ -14737,7 +15362,7 @@ function validate139(data, { instancePath = "", parentData, parentDataProperty,
14737
15362
  if (data.role !== void 0) {
14738
15363
  let data5 = data.role;
14739
15364
  if (!(data5 === "value" || data5 === "username" || data5 === "password" || data5 === "clientId" || data5 === "clientSecret")) {
14740
- const err5 = { instancePath: instancePath + "/role", schemaPath: "#/$defs/clientOptRole/enum", keyword: "enum", params: { allowedValues: schema133.enum }, message: "must be equal to one of the allowed values" };
15365
+ const err5 = { instancePath: instancePath + "/role", schemaPath: "#/$defs/clientOptRole/enum", keyword: "enum", params: { allowedValues: schema140.enum }, message: "must be equal to one of the allowed values" };
14741
15366
  if (vErrors === null) {
14742
15367
  vErrors = [err5];
14743
15368
  } else {
@@ -14917,14 +15542,14 @@ function validate139(data, { instancePath = "", parentData, parentDataProperty,
14917
15542
  }
14918
15543
  errors++;
14919
15544
  }
14920
- validate139.errors = vErrors;
15545
+ validate147.errors = vErrors;
14921
15546
  return errors === 0;
14922
15547
  }
14923
- validate139.evaluated = { "props": { "type": true, "description": true, "example": true, "defaultValue": true, "nullable": true, "readEnv": true, "securityScheme": true, "role": true, "serverVariable": true, "sendInHeader": true, "sendAsQueryParam": true, "sendAsBodyParam": true, "sendAsPathParam": true, "requiredInTests": true, "overridable": true }, "dynamicProps": false, "dynamicItems": false };
14924
- function validate138(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15548
+ validate147.evaluated = { "props": { "type": true, "description": true, "example": true, "defaultValue": true, "nullable": true, "readEnv": true, "securityScheme": true, "role": true, "serverVariable": true, "sendInHeader": true, "sendAsQueryParam": true, "sendAsBodyParam": true, "sendAsPathParam": true, "requiredInTests": true, "overridable": true }, "dynamicProps": false, "dynamicItems": false };
15549
+ function validate146(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14925
15550
  let vErrors = null;
14926
15551
  let errors = 0;
14927
- const evaluated0 = validate138.evaluated;
15552
+ const evaluated0 = validate146.evaluated;
14928
15553
  if (evaluated0.dynamicProps) {
14929
15554
  evaluated0.props = void 0;
14930
15555
  }
@@ -14945,8 +15570,8 @@ function validate138(data, { instancePath = "", parentData, parentDataProperty,
14945
15570
  let data0 = data.opts;
14946
15571
  if (data0 && typeof data0 == "object" && !Array.isArray(data0)) {
14947
15572
  for (const key0 in data0) {
14948
- if (!validate139(data0[key0], { instancePath: instancePath + "/opts/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data0, parentDataProperty: key0, rootData, dynamicAnchors })) {
14949
- vErrors = vErrors === null ? validate139.errors : vErrors.concat(validate139.errors);
15573
+ if (!validate147(data0[key0], { instancePath: instancePath + "/opts/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data0, parentDataProperty: key0, rootData, dynamicAnchors })) {
15574
+ vErrors = vErrors === null ? validate147.errors : vErrors.concat(validate147.errors);
14950
15575
  errors = vErrors.length;
14951
15576
  }
14952
15577
  }
@@ -15158,7 +15783,7 @@ function validate138(data, { instancePath = "", parentData, parentDataProperty,
15158
15783
  if (data.emptyResponseAccept !== void 0) {
15159
15784
  let data10 = data.emptyResponseAccept;
15160
15785
  if (!(data10 === "wildcard" || data10 === "inherit")) {
15161
- const err10 = { instancePath: instancePath + "/emptyResponseAccept", schemaPath: "#/properties/emptyResponseAccept/enum", keyword: "enum", params: { allowedValues: schema131.properties.emptyResponseAccept.enum }, message: "must be equal to one of the allowed values" };
15786
+ const err10 = { instancePath: instancePath + "/emptyResponseAccept", schemaPath: "#/properties/emptyResponseAccept/enum", keyword: "enum", params: { allowedValues: schema138.properties.emptyResponseAccept.enum }, message: "must be equal to one of the allowed values" };
15162
15787
  if (vErrors === null) {
15163
15788
  vErrors = [err10];
15164
15789
  } else {
@@ -15385,19 +16010,19 @@ function validate138(data, { instancePath = "", parentData, parentDataProperty,
15385
16010
  }
15386
16011
  errors++;
15387
16012
  }
15388
- validate138.errors = vErrors;
16013
+ validate146.errors = vErrors;
15389
16014
  return errors === 0;
15390
16015
  }
15391
- validate138.evaluated = { "props": { "opts": true, "baseUrlAliases": true, "defaultHeaders": true, "defaultClientName": true, "defaultClientExampleName": true, "defaultEnvPrefix": true, "idempotencyHeader": true, "emptyResponseAccept": true, "defaultTimeout": true, "defaultRetries": true, "responseHeaders": true }, "dynamicProps": false, "dynamicItems": false };
15392
- var schema136 = { "enum": ["cursor", "cursorId", "cursorUrl", "fakePage", "offset", "pageNumber"] };
15393
- var schema137 = { "enum": ["query", "body"] };
15394
- var schema139 = { "enum": ["cursor", "cursorId", "cursorUrl", "offset", "pageNumber", "limit", "pageSize"] };
15395
- var schema140 = { "enum": ["query", "body", "header"] };
15396
- var schema141 = { "enum": ["next", "previous"] };
15397
- function validate143(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16016
+ validate146.evaluated = { "props": { "opts": true, "baseUrlAliases": true, "defaultHeaders": true, "defaultClientName": true, "defaultClientExampleName": true, "defaultEnvPrefix": true, "idempotencyHeader": true, "emptyResponseAccept": true, "defaultTimeout": true, "defaultRetries": true, "responseHeaders": true }, "dynamicProps": false, "dynamicItems": false };
16017
+ var schema143 = { "enum": ["cursor", "cursorId", "cursorUrl", "fakePage", "offset", "pageNumber"] };
16018
+ var schema144 = { "enum": ["query", "body"] };
16019
+ var schema146 = { "enum": ["cursor", "cursorId", "cursorUrl", "offset", "pageNumber", "limit", "pageSize"] };
16020
+ var schema147 = { "enum": ["query", "body", "header"] };
16021
+ var schema148 = { "enum": ["next", "previous"] };
16022
+ function validate151(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15398
16023
  let vErrors = null;
15399
16024
  let errors = 0;
15400
- const evaluated0 = validate143.evaluated;
16025
+ const evaluated0 = validate151.evaluated;
15401
16026
  if (evaluated0.dynamicProps) {
15402
16027
  evaluated0.props = void 0;
15403
16028
  }
@@ -15417,7 +16042,7 @@ function validate143(data, { instancePath = "", parentData, parentDataProperty,
15417
16042
  if (data.type !== void 0) {
15418
16043
  let data0 = data.type;
15419
16044
  if (!(data0 === "cursor" || data0 === "cursorId" || data0 === "cursorUrl" || data0 === "offset" || data0 === "pageNumber" || data0 === "limit" || data0 === "pageSize")) {
15420
- const err1 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/paginationRequestFieldRole/enum", keyword: "enum", params: { allowedValues: schema139.enum }, message: "must be equal to one of the allowed values" };
16045
+ const err1 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/paginationRequestFieldRole/enum", keyword: "enum", params: { allowedValues: schema146.enum }, message: "must be equal to one of the allowed values" };
15421
16046
  if (vErrors === null) {
15422
16047
  vErrors = [err1];
15423
16048
  } else {
@@ -15457,7 +16082,7 @@ function validate143(data, { instancePath = "", parentData, parentDataProperty,
15457
16082
  if (data.location !== void 0) {
15458
16083
  let data2 = data.location;
15459
16084
  if (!(data2 === "query" || data2 === "body" || data2 === "header")) {
15460
- const err3 = { instancePath: instancePath + "/location", schemaPath: "#/$defs/paginationRequestLocation/enum", keyword: "enum", params: { allowedValues: schema140.enum }, message: "must be equal to one of the allowed values" };
16085
+ const err3 = { instancePath: instancePath + "/location", schemaPath: "#/$defs/paginationRequestLocation/enum", keyword: "enum", params: { allowedValues: schema147.enum }, message: "must be equal to one of the allowed values" };
15461
16086
  if (vErrors === null) {
15462
16087
  vErrors = [err3];
15463
16088
  } else {
@@ -15469,7 +16094,7 @@ function validate143(data, { instancePath = "", parentData, parentDataProperty,
15469
16094
  if (data.direction !== void 0) {
15470
16095
  let data3 = data.direction;
15471
16096
  if (!(data3 === "next" || data3 === "previous")) {
15472
- const err4 = { instancePath: instancePath + "/direction", schemaPath: "#/$defs/paginationCursorDirection/enum", keyword: "enum", params: { allowedValues: schema141.enum }, message: "must be equal to one of the allowed values" };
16097
+ const err4 = { instancePath: instancePath + "/direction", schemaPath: "#/$defs/paginationCursorDirection/enum", keyword: "enum", params: { allowedValues: schema148.enum }, message: "must be equal to one of the allowed values" };
15473
16098
  if (vErrors === null) {
15474
16099
  vErrors = [err4];
15475
16100
  } else {
@@ -15584,16 +16209,16 @@ function validate143(data, { instancePath = "", parentData, parentDataProperty,
15584
16209
  }
15585
16210
  errors++;
15586
16211
  }
15587
- validate143.errors = vErrors;
16212
+ validate151.errors = vErrors;
15588
16213
  return errors === 0;
15589
16214
  }
15590
- validate143.evaluated = { "props": { "type": true, "param": true, "location": true, "direction": true, "path": true, "property": true, "value": true, "schema": true, "required": true }, "dynamicProps": false, "dynamicItems": false };
15591
- var schema144 = { "enum": ["items", "cursor", "cursorId", "cursorUrl", "offset", "pageNumber", "hasMore", "total", "totalPages", "currentPage", "pageSize"] };
15592
- var schema145 = { "enum": ["body", "header", "linkHeader", "bodyLink"] };
15593
- function validate145(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16215
+ validate151.evaluated = { "props": { "type": true, "param": true, "location": true, "direction": true, "path": true, "property": true, "value": true, "schema": true, "required": true }, "dynamicProps": false, "dynamicItems": false };
16216
+ var schema151 = { "enum": ["items", "cursor", "cursorId", "cursorUrl", "offset", "pageNumber", "hasMore", "total", "totalPages", "currentPage", "pageSize"] };
16217
+ var schema152 = { "enum": ["body", "header", "linkHeader", "bodyLink"] };
16218
+ function validate153(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15594
16219
  let vErrors = null;
15595
16220
  let errors = 0;
15596
- const evaluated0 = validate145.evaluated;
16221
+ const evaluated0 = validate153.evaluated;
15597
16222
  if (evaluated0.dynamicProps) {
15598
16223
  evaluated0.props = void 0;
15599
16224
  }
@@ -15613,7 +16238,7 @@ function validate145(data, { instancePath = "", parentData, parentDataProperty,
15613
16238
  if (data.type !== void 0) {
15614
16239
  let data0 = data.type;
15615
16240
  if (!(data0 === "items" || data0 === "cursor" || data0 === "cursorId" || data0 === "cursorUrl" || data0 === "offset" || data0 === "pageNumber" || data0 === "hasMore" || data0 === "total" || data0 === "totalPages" || data0 === "currentPage" || data0 === "pageSize")) {
15616
- const err1 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/paginationResponseFieldRole/enum", keyword: "enum", params: { allowedValues: schema144.enum }, message: "must be equal to one of the allowed values" };
16241
+ const err1 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/paginationResponseFieldRole/enum", keyword: "enum", params: { allowedValues: schema151.enum }, message: "must be equal to one of the allowed values" };
15617
16242
  if (vErrors === null) {
15618
16243
  vErrors = [err1];
15619
16244
  } else {
@@ -15625,7 +16250,7 @@ function validate145(data, { instancePath = "", parentData, parentDataProperty,
15625
16250
  if (data.location !== void 0) {
15626
16251
  let data1 = data.location;
15627
16252
  if (!(data1 === "body" || data1 === "header" || data1 === "linkHeader" || data1 === "bodyLink")) {
15628
- const err2 = { instancePath: instancePath + "/location", schemaPath: "#/$defs/paginationResponseLocation/enum", keyword: "enum", params: { allowedValues: schema145.enum }, message: "must be equal to one of the allowed values" };
16253
+ const err2 = { instancePath: instancePath + "/location", schemaPath: "#/$defs/paginationResponseLocation/enum", keyword: "enum", params: { allowedValues: schema152.enum }, message: "must be equal to one of the allowed values" };
15629
16254
  if (vErrors === null) {
15630
16255
  vErrors = [err2];
15631
16256
  } else {
@@ -15637,7 +16262,7 @@ function validate145(data, { instancePath = "", parentData, parentDataProperty,
15637
16262
  if (data.direction !== void 0) {
15638
16263
  let data2 = data.direction;
15639
16264
  if (!(data2 === "next" || data2 === "previous")) {
15640
- const err3 = { instancePath: instancePath + "/direction", schemaPath: "#/$defs/paginationCursorDirection/enum", keyword: "enum", params: { allowedValues: schema141.enum }, message: "must be equal to one of the allowed values" };
16265
+ const err3 = { instancePath: instancePath + "/direction", schemaPath: "#/$defs/paginationCursorDirection/enum", keyword: "enum", params: { allowedValues: schema148.enum }, message: "must be equal to one of the allowed values" };
15641
16266
  if (vErrors === null) {
15642
16267
  vErrors = [err3];
15643
16268
  } else {
@@ -15892,14 +16517,14 @@ function validate145(data, { instancePath = "", parentData, parentDataProperty,
15892
16517
  }
15893
16518
  errors++;
15894
16519
  }
15895
- validate145.errors = vErrors;
16520
+ validate153.errors = vErrors;
15896
16521
  return errors === 0;
15897
16522
  }
15898
- validate145.evaluated = { "props": { "type": true, "location": true, "direction": true, "path": true, "headerName": true, "rel": true, "property": true, "itemCursor": true, "cursorPath": true, "schema": true, "required": true }, "dynamicProps": false, "dynamicItems": false };
15899
- function validate142(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16523
+ validate153.evaluated = { "props": { "type": true, "location": true, "direction": true, "path": true, "headerName": true, "rel": true, "property": true, "itemCursor": true, "cursorPath": true, "schema": true, "required": true }, "dynamicProps": false, "dynamicItems": false };
16524
+ function validate150(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15900
16525
  let vErrors = null;
15901
16526
  let errors = 0;
15902
- const evaluated0 = validate142.evaluated;
16527
+ const evaluated0 = validate150.evaluated;
15903
16528
  if (evaluated0.dynamicProps) {
15904
16529
  evaluated0.props = void 0;
15905
16530
  }
@@ -16002,7 +16627,7 @@ function validate142(data, { instancePath = "", parentData, parentDataProperty,
16002
16627
  if (data.type !== void 0) {
16003
16628
  let data2 = data.type;
16004
16629
  if (!(data2 === "cursor" || data2 === "cursorId" || data2 === "cursorUrl" || data2 === "fakePage" || data2 === "offset" || data2 === "pageNumber")) {
16005
- const err6 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/paginationType/enum", keyword: "enum", params: { allowedValues: schema136.enum }, message: "must be equal to one of the allowed values" };
16630
+ const err6 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/paginationType/enum", keyword: "enum", params: { allowedValues: schema143.enum }, message: "must be equal to one of the allowed values" };
16006
16631
  if (vErrors === null) {
16007
16632
  vErrors = [err6];
16008
16633
  } else {
@@ -16014,7 +16639,7 @@ function validate142(data, { instancePath = "", parentData, parentDataProperty,
16014
16639
  if (data.paramLocation !== void 0) {
16015
16640
  let data3 = data.paramLocation;
16016
16641
  if (!(data3 === "query" || data3 === "body")) {
16017
- const err7 = { instancePath: instancePath + "/paramLocation", schemaPath: "#/$defs/paginationParamLocation/enum", keyword: "enum", params: { allowedValues: schema137.enum }, message: "must be equal to one of the allowed values" };
16642
+ const err7 = { instancePath: instancePath + "/paramLocation", schemaPath: "#/$defs/paginationParamLocation/enum", keyword: "enum", params: { allowedValues: schema144.enum }, message: "must be equal to one of the allowed values" };
16018
16643
  if (vErrors === null) {
16019
16644
  vErrors = [err7];
16020
16645
  } else {
@@ -16054,8 +16679,8 @@ function validate142(data, { instancePath = "", parentData, parentDataProperty,
16054
16679
  let data5 = data.request;
16055
16680
  if (data5 && typeof data5 == "object" && !Array.isArray(data5)) {
16056
16681
  for (const key0 in data5) {
16057
- if (!validate143(data5[key0], { instancePath: instancePath + "/request/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data5, parentDataProperty: key0, rootData, dynamicAnchors })) {
16058
- vErrors = vErrors === null ? validate143.errors : vErrors.concat(validate143.errors);
16682
+ if (!validate151(data5[key0], { instancePath: instancePath + "/request/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data5, parentDataProperty: key0, rootData, dynamicAnchors })) {
16683
+ vErrors = vErrors === null ? validate151.errors : vErrors.concat(validate151.errors);
16059
16684
  errors = vErrors.length;
16060
16685
  }
16061
16686
  }
@@ -16073,8 +16698,8 @@ function validate142(data, { instancePath = "", parentData, parentDataProperty,
16073
16698
  let data7 = data.response;
16074
16699
  if (data7 && typeof data7 == "object" && !Array.isArray(data7)) {
16075
16700
  for (const key1 in data7) {
16076
- if (!validate145(data7[key1], { instancePath: instancePath + "/response/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data7, parentDataProperty: key1, rootData, dynamicAnchors })) {
16077
- vErrors = vErrors === null ? validate145.errors : vErrors.concat(validate145.errors);
16701
+ if (!validate153(data7[key1], { instancePath: instancePath + "/response/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data7, parentDataProperty: key1, rootData, dynamicAnchors })) {
16702
+ vErrors = vErrors === null ? validate153.errors : vErrors.concat(validate153.errors);
16078
16703
  errors = vErrors.length;
16079
16704
  }
16080
16705
  }
@@ -16097,16 +16722,16 @@ function validate142(data, { instancePath = "", parentData, parentDataProperty,
16097
16722
  }
16098
16723
  errors++;
16099
16724
  }
16100
- validate142.errors = vErrors;
16725
+ validate150.errors = vErrors;
16101
16726
  return errors === 0;
16102
16727
  }
16103
- validate142.evaluated = { "props": { "name": true, "description": true, "type": true, "paramLocation": true, "continueOnEmptyItems": true, "request": true, "response": true }, "dynamicProps": false, "dynamicItems": false };
16104
- var schema151 = { "enum": ["brackets", "dots"] };
16105
- var schema152 = { "enum": ["comma", "repeat", "indices", "brackets"] };
16106
- function validate148(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16728
+ validate150.evaluated = { "props": { "name": true, "description": true, "type": true, "paramLocation": true, "continueOnEmptyItems": true, "request": true, "response": true }, "dynamicProps": false, "dynamicItems": false };
16729
+ var schema158 = { "enum": ["brackets", "dots"] };
16730
+ var schema159 = { "enum": ["comma", "repeat", "indices", "brackets"] };
16731
+ function validate156(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16107
16732
  let vErrors = null;
16108
16733
  let errors = 0;
16109
- const evaluated0 = validate148.evaluated;
16734
+ const evaluated0 = validate156.evaluated;
16110
16735
  if (evaluated0.dynamicProps) {
16111
16736
  evaluated0.props = void 0;
16112
16737
  }
@@ -16117,7 +16742,7 @@ function validate148(data, { instancePath = "", parentData, parentDataProperty,
16117
16742
  if (data.nestedFormat !== void 0) {
16118
16743
  let data0 = data.nestedFormat;
16119
16744
  if (!(data0 === "brackets" || data0 === "dots")) {
16120
- const err0 = { instancePath: instancePath + "/nestedFormat", schemaPath: "#/$defs/queryNestedFormat/enum", keyword: "enum", params: { allowedValues: schema151.enum }, message: "must be equal to one of the allowed values" };
16745
+ const err0 = { instancePath: instancePath + "/nestedFormat", schemaPath: "#/$defs/queryNestedFormat/enum", keyword: "enum", params: { allowedValues: schema158.enum }, message: "must be equal to one of the allowed values" };
16121
16746
  if (vErrors === null) {
16122
16747
  vErrors = [err0];
16123
16748
  } else {
@@ -16129,7 +16754,7 @@ function validate148(data, { instancePath = "", parentData, parentDataProperty,
16129
16754
  if (data.arrayFormat !== void 0) {
16130
16755
  let data1 = data.arrayFormat;
16131
16756
  if (!(data1 === "comma" || data1 === "repeat" || data1 === "indices" || data1 === "brackets")) {
16132
- const err1 = { instancePath: instancePath + "/arrayFormat", schemaPath: "#/$defs/queryArrayFormat/enum", keyword: "enum", params: { allowedValues: schema152.enum }, message: "must be equal to one of the allowed values" };
16757
+ const err1 = { instancePath: instancePath + "/arrayFormat", schemaPath: "#/$defs/queryArrayFormat/enum", keyword: "enum", params: { allowedValues: schema159.enum }, message: "must be equal to one of the allowed values" };
16133
16758
  if (vErrors === null) {
16134
16759
  vErrors = [err1];
16135
16760
  } else {
@@ -16147,14 +16772,14 @@ function validate148(data, { instancePath = "", parentData, parentDataProperty,
16147
16772
  }
16148
16773
  errors++;
16149
16774
  }
16150
- validate148.errors = vErrors;
16775
+ validate156.errors = vErrors;
16151
16776
  return errors === 0;
16152
16777
  }
16153
- validate148.evaluated = { "props": { "nestedFormat": true, "arrayFormat": true }, "dynamicProps": false, "dynamicItems": false };
16154
- function validate150(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16778
+ validate156.evaluated = { "props": { "nestedFormat": true, "arrayFormat": true }, "dynamicProps": false, "dynamicItems": false };
16779
+ function validate158(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16155
16780
  let vErrors = null;
16156
16781
  let errors = 0;
16157
- const evaluated0 = validate150.evaluated;
16782
+ const evaluated0 = validate158.evaluated;
16158
16783
  if (evaluated0.dynamicProps) {
16159
16784
  evaluated0.props = void 0;
16160
16785
  }
@@ -16165,7 +16790,7 @@ function validate150(data, { instancePath = "", parentData, parentDataProperty,
16165
16790
  if (data.arrayFormat !== void 0) {
16166
16791
  let data0 = data.arrayFormat;
16167
16792
  if (!(data0 === "comma" || data0 === "repeat" || data0 === "indices" || data0 === "brackets")) {
16168
- const err0 = { instancePath: instancePath + "/arrayFormat", schemaPath: "#/$defs/queryArrayFormat/enum", keyword: "enum", params: { allowedValues: schema152.enum }, message: "must be equal to one of the allowed values" };
16793
+ const err0 = { instancePath: instancePath + "/arrayFormat", schemaPath: "#/$defs/queryArrayFormat/enum", keyword: "enum", params: { allowedValues: schema159.enum }, message: "must be equal to one of the allowed values" };
16169
16794
  if (vErrors === null) {
16170
16795
  vErrors = [err0];
16171
16796
  } else {
@@ -16183,18 +16808,18 @@ function validate150(data, { instancePath = "", parentData, parentDataProperty,
16183
16808
  }
16184
16809
  errors++;
16185
16810
  }
16186
- validate150.errors = vErrors;
16811
+ validate158.errors = vErrors;
16187
16812
  return errors === 0;
16188
16813
  }
16189
- validate150.evaluated = { "props": { "arrayFormat": true }, "dynamicProps": false, "dynamicItems": false };
16190
- var schema156 = { "type": "object", "properties": { "codeSamples": { "enum": ["x-codeSamples", "x-code-samples", "x-scalar-examples", "x-custom-examples"], "default": "x-codeSamples" }, "codeSampleLanguages": { "type": "object", "additionalProperties": { "type": "boolean" } }, "tags": { "enum": ["document", "resources"], "default": "document" }, "security": { "type": "array", "items": { "$ref": "#/$defs/securityRequirementObject" } }, "securitySchemes": { "type": "object", "additionalProperties": { "$ref": "#/$defs/securitySchemeObject" } }, "operationSecurity": { "type": "boolean" }, "transformations": { "type": "array", "items": { "$ref": "#/$defs/openAPITransformation" } } } };
16191
- var schema172 = { "type": "object", "properties": { "command": { "enum": ["copySchemaObject", "mergeObject", "removePaths", "removeProperties", "renameProperty", "renameSchema", "renameValue", "replaceValue", "updatePatternExamples"] }, "args": { "type": "object", "additionalProperties": true }, "reason": { "type": "string" } }, "required": ["command", "args"], "additionalProperties": false };
16192
- var schema159 = { "enum": ["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"] };
16193
- var schema160 = { "enum": ["query", "header", "cookie"] };
16194
- function validate155(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16814
+ validate158.evaluated = { "props": { "arrayFormat": true }, "dynamicProps": false, "dynamicItems": false };
16815
+ var schema163 = { "type": "object", "properties": { "codeSamples": { "enum": ["x-codeSamples", "x-code-samples", "x-scalar-examples", "x-custom-examples"], "default": "x-codeSamples" }, "codeSampleLanguages": { "type": "object", "additionalProperties": { "type": "boolean" } }, "tags": { "enum": ["document", "resources"], "default": "document" }, "security": { "type": "array", "items": { "$ref": "#/$defs/securityRequirementObject" } }, "securitySchemes": { "type": "object", "additionalProperties": { "$ref": "#/$defs/securitySchemeObject" } }, "securitySchemeSettings": { "type": "object", "additionalProperties": { "$ref": "#/$defs/securitySchemeSettings" } }, "operationSecurity": { "type": "boolean" }, "transformations": { "type": "array", "items": { "$ref": "#/$defs/openAPITransformation" } } } };
16816
+ var schema180 = { "type": "object", "properties": { "command": { "enum": ["copySchemaObject", "mergeObject", "removePaths", "removeProperties", "renameProperty", "renameSchema", "renameValue", "replaceValue", "updatePatternExamples"] }, "args": { "type": "object", "additionalProperties": true }, "reason": { "type": "string" } }, "required": ["command", "args"], "additionalProperties": false };
16817
+ var schema166 = { "enum": ["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"] };
16818
+ var schema167 = { "enum": ["query", "header", "cookie"] };
16819
+ function validate163(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16195
16820
  let vErrors = null;
16196
16821
  let errors = 0;
16197
- const evaluated0 = validate155.evaluated;
16822
+ const evaluated0 = validate163.evaluated;
16198
16823
  if (evaluated0.dynamicProps) {
16199
16824
  evaluated0.props = void 0;
16200
16825
  }
@@ -16308,14 +16933,14 @@ function validate155(data, { instancePath = "", parentData, parentDataProperty,
16308
16933
  }
16309
16934
  errors++;
16310
16935
  }
16311
- validate155.errors = vErrors;
16936
+ validate163.errors = vErrors;
16312
16937
  return errors === 0;
16313
16938
  }
16314
- validate155.evaluated = { "props": { "authorizationUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
16315
- function validate157(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16939
+ validate163.evaluated = { "props": { "authorizationUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
16940
+ function validate165(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16316
16941
  let vErrors = null;
16317
16942
  let errors = 0;
16318
- const evaluated0 = validate157.evaluated;
16943
+ const evaluated0 = validate165.evaluated;
16319
16944
  if (evaluated0.dynamicProps) {
16320
16945
  evaluated0.props = void 0;
16321
16946
  }
@@ -16429,14 +17054,14 @@ function validate157(data, { instancePath = "", parentData, parentDataProperty,
16429
17054
  }
16430
17055
  errors++;
16431
17056
  }
16432
- validate157.errors = vErrors;
17057
+ validate165.errors = vErrors;
16433
17058
  return errors === 0;
16434
17059
  }
16435
- validate157.evaluated = { "props": { "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
16436
- function validate159(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17060
+ validate165.evaluated = { "props": { "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
17061
+ function validate167(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16437
17062
  let vErrors = null;
16438
17063
  let errors = 0;
16439
- const evaluated0 = validate159.evaluated;
17064
+ const evaluated0 = validate167.evaluated;
16440
17065
  if (evaluated0.dynamicProps) {
16441
17066
  evaluated0.props = void 0;
16442
17067
  }
@@ -16550,14 +17175,14 @@ function validate159(data, { instancePath = "", parentData, parentDataProperty,
16550
17175
  }
16551
17176
  errors++;
16552
17177
  }
16553
- validate159.errors = vErrors;
17178
+ validate167.errors = vErrors;
16554
17179
  return errors === 0;
16555
17180
  }
16556
- validate159.evaluated = { "props": { "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
16557
- function validate161(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17181
+ validate167.evaluated = { "props": { "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
17182
+ function validate169(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16558
17183
  let vErrors = null;
16559
17184
  let errors = 0;
16560
- const evaluated0 = validate161.evaluated;
17185
+ const evaluated0 = validate169.evaluated;
16561
17186
  if (evaluated0.dynamicProps) {
16562
17187
  evaluated0.props = void 0;
16563
17188
  }
@@ -16699,14 +17324,14 @@ function validate161(data, { instancePath = "", parentData, parentDataProperty,
16699
17324
  }
16700
17325
  errors++;
16701
17326
  }
16702
- validate161.errors = vErrors;
17327
+ validate169.errors = vErrors;
16703
17328
  return errors === 0;
16704
17329
  }
16705
- validate161.evaluated = { "props": { "deviceAuthorizationUrl": true, "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
16706
- function validate163(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17330
+ validate169.evaluated = { "props": { "deviceAuthorizationUrl": true, "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
17331
+ function validate171(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16707
17332
  let vErrors = null;
16708
17333
  let errors = 0;
16709
- const evaluated0 = validate163.evaluated;
17334
+ const evaluated0 = validate171.evaluated;
16710
17335
  if (evaluated0.dynamicProps) {
16711
17336
  evaluated0.props = void 0;
16712
17337
  }
@@ -16848,14 +17473,14 @@ function validate163(data, { instancePath = "", parentData, parentDataProperty,
16848
17473
  }
16849
17474
  errors++;
16850
17475
  }
16851
- validate163.errors = vErrors;
17476
+ validate171.errors = vErrors;
16852
17477
  return errors === 0;
16853
17478
  }
16854
- validate163.evaluated = { "props": { "authorizationUrl": true, "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
16855
- function validate154(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17479
+ validate171.evaluated = { "props": { "authorizationUrl": true, "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
17480
+ function validate162(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16856
17481
  let vErrors = null;
16857
17482
  let errors = 0;
16858
- const evaluated0 = validate154.evaluated;
17483
+ const evaluated0 = validate162.evaluated;
16859
17484
  if (evaluated0.dynamicProps) {
16860
17485
  evaluated0.props = void 0;
16861
17486
  }
@@ -16864,32 +17489,32 @@ function validate154(data, { instancePath = "", parentData, parentDataProperty,
16864
17489
  }
16865
17490
  if (data && typeof data == "object" && !Array.isArray(data)) {
16866
17491
  if (data.implicit !== void 0) {
16867
- if (!validate155(data.implicit, { instancePath: instancePath + "/implicit", parentData: data, parentDataProperty: "implicit", rootData, dynamicAnchors })) {
16868
- vErrors = vErrors === null ? validate155.errors : vErrors.concat(validate155.errors);
17492
+ if (!validate163(data.implicit, { instancePath: instancePath + "/implicit", parentData: data, parentDataProperty: "implicit", rootData, dynamicAnchors })) {
17493
+ vErrors = vErrors === null ? validate163.errors : vErrors.concat(validate163.errors);
16869
17494
  errors = vErrors.length;
16870
17495
  }
16871
17496
  }
16872
17497
  if (data.password !== void 0) {
16873
- if (!validate157(data.password, { instancePath: instancePath + "/password", parentData: data, parentDataProperty: "password", rootData, dynamicAnchors })) {
16874
- vErrors = vErrors === null ? validate157.errors : vErrors.concat(validate157.errors);
17498
+ if (!validate165(data.password, { instancePath: instancePath + "/password", parentData: data, parentDataProperty: "password", rootData, dynamicAnchors })) {
17499
+ vErrors = vErrors === null ? validate165.errors : vErrors.concat(validate165.errors);
16875
17500
  errors = vErrors.length;
16876
17501
  }
16877
17502
  }
16878
17503
  if (data.clientCredentials !== void 0) {
16879
- if (!validate159(data.clientCredentials, { instancePath: instancePath + "/clientCredentials", parentData: data, parentDataProperty: "clientCredentials", rootData, dynamicAnchors })) {
16880
- vErrors = vErrors === null ? validate159.errors : vErrors.concat(validate159.errors);
17504
+ if (!validate167(data.clientCredentials, { instancePath: instancePath + "/clientCredentials", parentData: data, parentDataProperty: "clientCredentials", rootData, dynamicAnchors })) {
17505
+ vErrors = vErrors === null ? validate167.errors : vErrors.concat(validate167.errors);
16881
17506
  errors = vErrors.length;
16882
17507
  }
16883
17508
  }
16884
17509
  if (data.deviceAuthorization !== void 0) {
16885
- if (!validate161(data.deviceAuthorization, { instancePath: instancePath + "/deviceAuthorization", parentData: data, parentDataProperty: "deviceAuthorization", rootData, dynamicAnchors })) {
16886
- vErrors = vErrors === null ? validate161.errors : vErrors.concat(validate161.errors);
17510
+ if (!validate169(data.deviceAuthorization, { instancePath: instancePath + "/deviceAuthorization", parentData: data, parentDataProperty: "deviceAuthorization", rootData, dynamicAnchors })) {
17511
+ vErrors = vErrors === null ? validate169.errors : vErrors.concat(validate169.errors);
16887
17512
  errors = vErrors.length;
16888
17513
  }
16889
17514
  }
16890
17515
  if (data.authorizationCode !== void 0) {
16891
- if (!validate163(data.authorizationCode, { instancePath: instancePath + "/authorizationCode", parentData: data, parentDataProperty: "authorizationCode", rootData, dynamicAnchors })) {
16892
- vErrors = vErrors === null ? validate163.errors : vErrors.concat(validate163.errors);
17516
+ if (!validate171(data.authorizationCode, { instancePath: instancePath + "/authorizationCode", parentData: data, parentDataProperty: "authorizationCode", rootData, dynamicAnchors })) {
17517
+ vErrors = vErrors === null ? validate171.errors : vErrors.concat(validate171.errors);
16893
17518
  errors = vErrors.length;
16894
17519
  }
16895
17520
  }
@@ -16902,14 +17527,14 @@ function validate154(data, { instancePath = "", parentData, parentDataProperty,
16902
17527
  }
16903
17528
  errors++;
16904
17529
  }
16905
- validate154.errors = vErrors;
17530
+ validate162.errors = vErrors;
16906
17531
  return errors === 0;
16907
17532
  }
16908
- validate154.evaluated = { "props": { "implicit": true, "password": true, "clientCredentials": true, "deviceAuthorization": true, "authorizationCode": true }, "dynamicProps": false, "dynamicItems": false };
16909
- function validate153(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17533
+ validate162.evaluated = { "props": { "implicit": true, "password": true, "clientCredentials": true, "deviceAuthorization": true, "authorizationCode": true }, "dynamicProps": false, "dynamicItems": false };
17534
+ function validate161(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16910
17535
  let vErrors = null;
16911
17536
  let errors = 0;
16912
- const evaluated0 = validate153.evaluated;
17537
+ const evaluated0 = validate161.evaluated;
16913
17538
  if (evaluated0.dynamicProps) {
16914
17539
  evaluated0.props = void 0;
16915
17540
  }
@@ -16920,7 +17545,7 @@ function validate153(data, { instancePath = "", parentData, parentDataProperty,
16920
17545
  if (data.type !== void 0) {
16921
17546
  let data0 = data.type;
16922
17547
  if (!(data0 === "apiKey" || data0 === "http" || data0 === "mutualTLS" || data0 === "oauth2" || data0 === "openIdConnect")) {
16923
- const err0 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/securitySchemeType/enum", keyword: "enum", params: { allowedValues: schema159.enum }, message: "must be equal to one of the allowed values" };
17548
+ const err0 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/securitySchemeType/enum", keyword: "enum", params: { allowedValues: schema166.enum }, message: "must be equal to one of the allowed values" };
16924
17549
  if (vErrors === null) {
16925
17550
  vErrors = [err0];
16926
17551
  } else {
@@ -16988,7 +17613,7 @@ function validate153(data, { instancePath = "", parentData, parentDataProperty,
16988
17613
  if (data.in !== void 0) {
16989
17614
  let data3 = data.in;
16990
17615
  if (!(data3 === "query" || data3 === "header" || data3 === "cookie")) {
16991
- const err3 = { instancePath: instancePath + "/in", schemaPath: "#/$defs/apiKeyLocation/enum", keyword: "enum", params: { allowedValues: schema160.enum }, message: "must be equal to one of the allowed values" };
17616
+ const err3 = { instancePath: instancePath + "/in", schemaPath: "#/$defs/apiKeyLocation/enum", keyword: "enum", params: { allowedValues: schema167.enum }, message: "must be equal to one of the allowed values" };
16992
17617
  if (vErrors === null) {
16993
17618
  vErrors = [err3];
16994
17619
  } else {
@@ -17054,8 +17679,8 @@ function validate153(data, { instancePath = "", parentData, parentDataProperty,
17054
17679
  }
17055
17680
  }
17056
17681
  if (data.flows !== void 0) {
17057
- if (!validate154(data.flows, { instancePath: instancePath + "/flows", parentData: data, parentDataProperty: "flows", rootData, dynamicAnchors })) {
17058
- vErrors = vErrors === null ? validate154.errors : vErrors.concat(validate154.errors);
17682
+ if (!validate162(data.flows, { instancePath: instancePath + "/flows", parentData: data, parentDataProperty: "flows", rootData, dynamicAnchors })) {
17683
+ vErrors = vErrors === null ? validate162.errors : vErrors.concat(validate162.errors);
17059
17684
  errors = vErrors.length;
17060
17685
  }
17061
17686
  }
@@ -17087,23 +17712,52 @@ function validate153(data, { instancePath = "", parentData, parentDataProperty,
17087
17712
  }
17088
17713
  }
17089
17714
  }
17715
+ if (data.oauth2MetadataUrl !== void 0) {
17716
+ let data8 = data.oauth2MetadataUrl;
17717
+ if (typeof data8 !== "string") {
17718
+ let dataType5 = typeof data8;
17719
+ let coerced5 = void 0;
17720
+ if (!(coerced5 !== void 0)) {
17721
+ if (dataType5 == "number" || dataType5 == "boolean") {
17722
+ coerced5 = "" + data8;
17723
+ } else if (data8 === null) {
17724
+ coerced5 = "";
17725
+ } else {
17726
+ const err7 = { instancePath: instancePath + "/oauth2MetadataUrl", schemaPath: "#/properties/oauth2MetadataUrl/type", keyword: "type", params: { type: "string" }, message: "must be string" };
17727
+ if (vErrors === null) {
17728
+ vErrors = [err7];
17729
+ } else {
17730
+ vErrors.push(err7);
17731
+ }
17732
+ errors++;
17733
+ }
17734
+ }
17735
+ if (coerced5 !== void 0) {
17736
+ data8 = coerced5;
17737
+ if (data !== void 0) {
17738
+ data["oauth2MetadataUrl"] = coerced5;
17739
+ }
17740
+ }
17741
+ }
17742
+ }
17090
17743
  } else {
17091
- const err7 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17744
+ const err8 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17092
17745
  if (vErrors === null) {
17093
- vErrors = [err7];
17746
+ vErrors = [err8];
17094
17747
  } else {
17095
- vErrors.push(err7);
17748
+ vErrors.push(err8);
17096
17749
  }
17097
17750
  errors++;
17098
17751
  }
17099
- validate153.errors = vErrors;
17752
+ validate161.errors = vErrors;
17100
17753
  return errors === 0;
17101
17754
  }
17102
- validate153.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17103
- function validate152(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17755
+ validate161.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17756
+ var pattern32 = new RegExp('^(?:[A-Za-z][A-Za-z0-9+.-]*://[!"$-.0-9;->A-~][!"$-~]*|[Uu][Rr][Nn]:[A-Za-z0-9][A-Za-z0-9-]{0,30}[A-Za-z0-9]:[!"$-~]+)$', "u");
17757
+ function validate160(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17104
17758
  let vErrors = null;
17105
17759
  let errors = 0;
17106
- const evaluated0 = validate152.evaluated;
17760
+ const evaluated0 = validate160.evaluated;
17107
17761
  if (evaluated0.dynamicProps) {
17108
17762
  evaluated0.props = void 0;
17109
17763
  }
@@ -17114,7 +17768,7 @@ function validate152(data, { instancePath = "", parentData, parentDataProperty,
17114
17768
  if (data.codeSamples !== void 0) {
17115
17769
  let data0 = data.codeSamples;
17116
17770
  if (!(data0 === "x-codeSamples" || data0 === "x-code-samples" || data0 === "x-scalar-examples" || data0 === "x-custom-examples")) {
17117
- const err0 = { instancePath: instancePath + "/codeSamples", schemaPath: "#/properties/codeSamples/enum", keyword: "enum", params: { allowedValues: schema156.properties.codeSamples.enum }, message: "must be equal to one of the allowed values" };
17771
+ const err0 = { instancePath: instancePath + "/codeSamples", schemaPath: "#/properties/codeSamples/enum", keyword: "enum", params: { allowedValues: schema163.properties.codeSamples.enum }, message: "must be equal to one of the allowed values" };
17118
17772
  if (vErrors === null) {
17119
17773
  vErrors = [err0];
17120
17774
  } else {
@@ -17166,7 +17820,7 @@ function validate152(data, { instancePath = "", parentData, parentDataProperty,
17166
17820
  if (data.tags !== void 0) {
17167
17821
  let data3 = data.tags;
17168
17822
  if (!(data3 === "document" || data3 === "resources")) {
17169
- const err3 = { instancePath: instancePath + "/tags", schemaPath: "#/properties/tags/enum", keyword: "enum", params: { allowedValues: schema156.properties.tags.enum }, message: "must be equal to one of the allowed values" };
17823
+ const err3 = { instancePath: instancePath + "/tags", schemaPath: "#/properties/tags/enum", keyword: "enum", params: { allowedValues: schema163.properties.tags.enum }, message: "must be equal to one of the allowed values" };
17170
17824
  if (vErrors === null) {
17171
17825
  vErrors = [err3];
17172
17826
  } else {
@@ -17248,8 +17902,8 @@ function validate152(data, { instancePath = "", parentData, parentDataProperty,
17248
17902
  let data8 = data.securitySchemes;
17249
17903
  if (data8 && typeof data8 == "object" && !Array.isArray(data8)) {
17250
17904
  for (const key2 in data8) {
17251
- if (!validate153(data8[key2], { instancePath: instancePath + "/securitySchemes/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data8, parentDataProperty: key2, rootData, dynamicAnchors })) {
17252
- vErrors = vErrors === null ? validate153.errors : vErrors.concat(validate153.errors);
17905
+ if (!validate161(data8[key2], { instancePath: instancePath + "/securitySchemes/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data8, parentDataProperty: key2, rootData, dynamicAnchors })) {
17906
+ vErrors = vErrors === null ? validate161.errors : vErrors.concat(validate161.errors);
17253
17907
  errors = vErrors.length;
17254
17908
  }
17255
17909
  }
@@ -17263,162 +17917,300 @@ function validate152(data, { instancePath = "", parentData, parentDataProperty,
17263
17917
  errors++;
17264
17918
  }
17265
17919
  }
17920
+ if (data.securitySchemeSettings !== void 0) {
17921
+ let data10 = data.securitySchemeSettings;
17922
+ if (data10 && typeof data10 == "object" && !Array.isArray(data10)) {
17923
+ for (const key3 in data10) {
17924
+ let data11 = data10[key3];
17925
+ if (data11 && typeof data11 == "object" && !Array.isArray(data11)) {
17926
+ for (const key4 in data11) {
17927
+ if (!(key4 === "resource" || key4 === "audience")) {
17928
+ const err9 = { instancePath: instancePath + "/securitySchemeSettings/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/securitySchemeSettings/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key4 }, message: "must NOT have additional properties" };
17929
+ if (vErrors === null) {
17930
+ vErrors = [err9];
17931
+ } else {
17932
+ vErrors.push(err9);
17933
+ }
17934
+ errors++;
17935
+ }
17936
+ }
17937
+ if (data11.resource !== void 0) {
17938
+ let data12 = data11.resource;
17939
+ if (Array.isArray(data12)) {
17940
+ if (data12.length < 1) {
17941
+ const err10 = { instancePath: instancePath + "/securitySchemeSettings/" + key3.replace(/~/g, "~0").replace(/\//g, "~1") + "/resource", schemaPath: "#/$defs/securitySchemeSettings/properties/resource/minItems", keyword: "minItems", params: { limit: 1 }, message: "must NOT have fewer than 1 items" };
17942
+ if (vErrors === null) {
17943
+ vErrors = [err10];
17944
+ } else {
17945
+ vErrors.push(err10);
17946
+ }
17947
+ errors++;
17948
+ }
17949
+ const len2 = data12.length;
17950
+ for (let i2 = 0; i2 < len2; i2++) {
17951
+ let data13 = data12[i2];
17952
+ if (typeof data13 !== "string") {
17953
+ let dataType2 = typeof data13;
17954
+ let coerced2 = void 0;
17955
+ if (!(coerced2 !== void 0)) {
17956
+ if (dataType2 == "number" || dataType2 == "boolean") {
17957
+ coerced2 = "" + data13;
17958
+ } else if (data13 === null) {
17959
+ coerced2 = "";
17960
+ } else {
17961
+ const err11 = { instancePath: instancePath + "/securitySchemeSettings/" + key3.replace(/~/g, "~0").replace(/\//g, "~1") + "/resource/" + i2, schemaPath: "#/$defs/securitySchemeSettings/properties/resource/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
17962
+ if (vErrors === null) {
17963
+ vErrors = [err11];
17964
+ } else {
17965
+ vErrors.push(err11);
17966
+ }
17967
+ errors++;
17968
+ }
17969
+ }
17970
+ if (coerced2 !== void 0) {
17971
+ data13 = coerced2;
17972
+ if (data12 !== void 0) {
17973
+ data12[i2] = coerced2;
17974
+ }
17975
+ }
17976
+ }
17977
+ if (typeof data13 === "string") {
17978
+ if (!pattern32.test(data13)) {
17979
+ const err12 = { instancePath: instancePath + "/securitySchemeSettings/" + key3.replace(/~/g, "~0").replace(/\//g, "~1") + "/resource/" + i2, schemaPath: "#/$defs/securitySchemeSettings/properties/resource/items/pattern", keyword: "pattern", params: { pattern: '^(?:[A-Za-z][A-Za-z0-9+.-]*://[!"$-.0-9;->A-~][!"$-~]*|[Uu][Rr][Nn]:[A-Za-z0-9][A-Za-z0-9-]{0,30}[A-Za-z0-9]:[!"$-~]+)$' }, message: 'must match pattern "^(?:[A-Za-z][A-Za-z0-9+.-]*://[!"$-.0-9;->A-~][!"$-~]*|[Uu][Rr][Nn]:[A-Za-z0-9][A-Za-z0-9-]{0,30}[A-Za-z0-9]:[!"$-~]+)$"' };
17980
+ if (vErrors === null) {
17981
+ vErrors = [err12];
17982
+ } else {
17983
+ vErrors.push(err12);
17984
+ }
17985
+ errors++;
17986
+ }
17987
+ }
17988
+ }
17989
+ } else {
17990
+ const err13 = { instancePath: instancePath + "/securitySchemeSettings/" + key3.replace(/~/g, "~0").replace(/\//g, "~1") + "/resource", schemaPath: "#/$defs/securitySchemeSettings/properties/resource/type", keyword: "type", params: { type: "array" }, message: "must be array" };
17991
+ if (vErrors === null) {
17992
+ vErrors = [err13];
17993
+ } else {
17994
+ vErrors.push(err13);
17995
+ }
17996
+ errors++;
17997
+ }
17998
+ }
17999
+ if (data11.audience !== void 0) {
18000
+ let data14 = data11.audience;
18001
+ if (typeof data14 !== "string") {
18002
+ let dataType3 = typeof data14;
18003
+ let coerced3 = void 0;
18004
+ if (!(coerced3 !== void 0)) {
18005
+ if (dataType3 == "number" || dataType3 == "boolean") {
18006
+ coerced3 = "" + data14;
18007
+ } else if (data14 === null) {
18008
+ coerced3 = "";
18009
+ } else {
18010
+ const err14 = { instancePath: instancePath + "/securitySchemeSettings/" + key3.replace(/~/g, "~0").replace(/\//g, "~1") + "/audience", schemaPath: "#/$defs/securitySchemeSettings/properties/audience/type", keyword: "type", params: { type: "string" }, message: "must be string" };
18011
+ if (vErrors === null) {
18012
+ vErrors = [err14];
18013
+ } else {
18014
+ vErrors.push(err14);
18015
+ }
18016
+ errors++;
18017
+ }
18018
+ }
18019
+ if (coerced3 !== void 0) {
18020
+ data14 = coerced3;
18021
+ if (data11 !== void 0) {
18022
+ data11["audience"] = coerced3;
18023
+ }
18024
+ }
18025
+ }
18026
+ if (typeof data14 === "string") {
18027
+ if (func4(data14) < 1) {
18028
+ const err15 = { instancePath: instancePath + "/securitySchemeSettings/" + key3.replace(/~/g, "~0").replace(/\//g, "~1") + "/audience", schemaPath: "#/$defs/securitySchemeSettings/properties/audience/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
18029
+ if (vErrors === null) {
18030
+ vErrors = [err15];
18031
+ } else {
18032
+ vErrors.push(err15);
18033
+ }
18034
+ errors++;
18035
+ }
18036
+ }
18037
+ }
18038
+ } else {
18039
+ const err16 = { instancePath: instancePath + "/securitySchemeSettings/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/securitySchemeSettings/type", keyword: "type", params: { type: "object" }, message: "must be object" };
18040
+ if (vErrors === null) {
18041
+ vErrors = [err16];
18042
+ } else {
18043
+ vErrors.push(err16);
18044
+ }
18045
+ errors++;
18046
+ }
18047
+ }
18048
+ } else {
18049
+ const err17 = { instancePath: instancePath + "/securitySchemeSettings", schemaPath: "#/properties/securitySchemeSettings/type", keyword: "type", params: { type: "object" }, message: "must be object" };
18050
+ if (vErrors === null) {
18051
+ vErrors = [err17];
18052
+ } else {
18053
+ vErrors.push(err17);
18054
+ }
18055
+ errors++;
18056
+ }
18057
+ }
17266
18058
  if (data.operationSecurity !== void 0) {
17267
- let data10 = data.operationSecurity;
17268
- if (typeof data10 !== "boolean") {
17269
- let coerced2 = void 0;
17270
- if (!(coerced2 !== void 0)) {
17271
- if (data10 === "false" || data10 === 0 || data10 === null) {
17272
- coerced2 = false;
17273
- } else if (data10 === "true" || data10 === 1) {
17274
- coerced2 = true;
18059
+ let data15 = data.operationSecurity;
18060
+ if (typeof data15 !== "boolean") {
18061
+ let coerced4 = void 0;
18062
+ if (!(coerced4 !== void 0)) {
18063
+ if (data15 === "false" || data15 === 0 || data15 === null) {
18064
+ coerced4 = false;
18065
+ } else if (data15 === "true" || data15 === 1) {
18066
+ coerced4 = true;
17275
18067
  } else {
17276
- const err9 = { instancePath: instancePath + "/operationSecurity", schemaPath: "#/properties/operationSecurity/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
18068
+ const err18 = { instancePath: instancePath + "/operationSecurity", schemaPath: "#/properties/operationSecurity/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
17277
18069
  if (vErrors === null) {
17278
- vErrors = [err9];
18070
+ vErrors = [err18];
17279
18071
  } else {
17280
- vErrors.push(err9);
18072
+ vErrors.push(err18);
17281
18073
  }
17282
18074
  errors++;
17283
18075
  }
17284
18076
  }
17285
- if (coerced2 !== void 0) {
17286
- data10 = coerced2;
18077
+ if (coerced4 !== void 0) {
18078
+ data15 = coerced4;
17287
18079
  if (data !== void 0) {
17288
- data["operationSecurity"] = coerced2;
18080
+ data["operationSecurity"] = coerced4;
17289
18081
  }
17290
18082
  }
17291
18083
  }
17292
18084
  }
17293
18085
  if (data.transformations !== void 0) {
17294
- let data11 = data.transformations;
17295
- if (Array.isArray(data11)) {
17296
- const len2 = data11.length;
17297
- for (let i2 = 0; i2 < len2; i2++) {
17298
- let data12 = data11[i2];
17299
- if (data12 && typeof data12 == "object" && !Array.isArray(data12)) {
17300
- if (data12.command === void 0) {
17301
- const err10 = { instancePath: instancePath + "/transformations/" + i2, schemaPath: "#/$defs/openAPITransformation/required", keyword: "required", params: { missingProperty: "command" }, message: "must have required property 'command'" };
18086
+ let data16 = data.transformations;
18087
+ if (Array.isArray(data16)) {
18088
+ const len3 = data16.length;
18089
+ for (let i3 = 0; i3 < len3; i3++) {
18090
+ let data17 = data16[i3];
18091
+ if (data17 && typeof data17 == "object" && !Array.isArray(data17)) {
18092
+ if (data17.command === void 0) {
18093
+ const err19 = { instancePath: instancePath + "/transformations/" + i3, schemaPath: "#/$defs/openAPITransformation/required", keyword: "required", params: { missingProperty: "command" }, message: "must have required property 'command'" };
17302
18094
  if (vErrors === null) {
17303
- vErrors = [err10];
18095
+ vErrors = [err19];
17304
18096
  } else {
17305
- vErrors.push(err10);
18097
+ vErrors.push(err19);
17306
18098
  }
17307
18099
  errors++;
17308
18100
  }
17309
- if (data12.args === void 0) {
17310
- const err11 = { instancePath: instancePath + "/transformations/" + i2, schemaPath: "#/$defs/openAPITransformation/required", keyword: "required", params: { missingProperty: "args" }, message: "must have required property 'args'" };
18101
+ if (data17.args === void 0) {
18102
+ const err20 = { instancePath: instancePath + "/transformations/" + i3, schemaPath: "#/$defs/openAPITransformation/required", keyword: "required", params: { missingProperty: "args" }, message: "must have required property 'args'" };
17311
18103
  if (vErrors === null) {
17312
- vErrors = [err11];
18104
+ vErrors = [err20];
17313
18105
  } else {
17314
- vErrors.push(err11);
18106
+ vErrors.push(err20);
17315
18107
  }
17316
18108
  errors++;
17317
18109
  }
17318
- for (const key3 in data12) {
17319
- if (!(key3 === "command" || key3 === "args" || key3 === "reason")) {
17320
- const err12 = { instancePath: instancePath + "/transformations/" + i2, schemaPath: "#/$defs/openAPITransformation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key3 }, message: "must NOT have additional properties" };
18110
+ for (const key5 in data17) {
18111
+ if (!(key5 === "command" || key5 === "args" || key5 === "reason")) {
18112
+ const err21 = { instancePath: instancePath + "/transformations/" + i3, schemaPath: "#/$defs/openAPITransformation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key5 }, message: "must NOT have additional properties" };
17321
18113
  if (vErrors === null) {
17322
- vErrors = [err12];
18114
+ vErrors = [err21];
17323
18115
  } else {
17324
- vErrors.push(err12);
18116
+ vErrors.push(err21);
17325
18117
  }
17326
18118
  errors++;
17327
18119
  }
17328
18120
  }
17329
- if (data12.command !== void 0) {
17330
- let data13 = data12.command;
17331
- if (!(data13 === "copySchemaObject" || data13 === "mergeObject" || data13 === "removePaths" || data13 === "removeProperties" || data13 === "renameProperty" || data13 === "renameSchema" || data13 === "renameValue" || data13 === "replaceValue" || data13 === "updatePatternExamples")) {
17332
- const err13 = { instancePath: instancePath + "/transformations/" + i2 + "/command", schemaPath: "#/$defs/openAPITransformation/properties/command/enum", keyword: "enum", params: { allowedValues: schema172.properties.command.enum }, message: "must be equal to one of the allowed values" };
18121
+ if (data17.command !== void 0) {
18122
+ let data18 = data17.command;
18123
+ if (!(data18 === "copySchemaObject" || data18 === "mergeObject" || data18 === "removePaths" || data18 === "removeProperties" || data18 === "renameProperty" || data18 === "renameSchema" || data18 === "renameValue" || data18 === "replaceValue" || data18 === "updatePatternExamples")) {
18124
+ const err22 = { instancePath: instancePath + "/transformations/" + i3 + "/command", schemaPath: "#/$defs/openAPITransformation/properties/command/enum", keyword: "enum", params: { allowedValues: schema180.properties.command.enum }, message: "must be equal to one of the allowed values" };
17333
18125
  if (vErrors === null) {
17334
- vErrors = [err13];
18126
+ vErrors = [err22];
17335
18127
  } else {
17336
- vErrors.push(err13);
18128
+ vErrors.push(err22);
17337
18129
  }
17338
18130
  errors++;
17339
18131
  }
17340
18132
  }
17341
- if (data12.args !== void 0) {
17342
- let data14 = data12.args;
17343
- if (data14 && typeof data14 == "object" && !Array.isArray(data14)) {
18133
+ if (data17.args !== void 0) {
18134
+ let data19 = data17.args;
18135
+ if (data19 && typeof data19 == "object" && !Array.isArray(data19)) {
17344
18136
  } else {
17345
- const err14 = { instancePath: instancePath + "/transformations/" + i2 + "/args", schemaPath: "#/$defs/openAPITransformation/properties/args/type", keyword: "type", params: { type: "object" }, message: "must be object" };
18137
+ const err23 = { instancePath: instancePath + "/transformations/" + i3 + "/args", schemaPath: "#/$defs/openAPITransformation/properties/args/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17346
18138
  if (vErrors === null) {
17347
- vErrors = [err14];
18139
+ vErrors = [err23];
17348
18140
  } else {
17349
- vErrors.push(err14);
18141
+ vErrors.push(err23);
17350
18142
  }
17351
18143
  errors++;
17352
18144
  }
17353
18145
  }
17354
- if (data12.reason !== void 0) {
17355
- let data15 = data12.reason;
17356
- if (typeof data15 !== "string") {
17357
- let dataType3 = typeof data15;
17358
- let coerced3 = void 0;
17359
- if (!(coerced3 !== void 0)) {
17360
- if (dataType3 == "number" || dataType3 == "boolean") {
17361
- coerced3 = "" + data15;
17362
- } else if (data15 === null) {
17363
- coerced3 = "";
18146
+ if (data17.reason !== void 0) {
18147
+ let data20 = data17.reason;
18148
+ if (typeof data20 !== "string") {
18149
+ let dataType5 = typeof data20;
18150
+ let coerced5 = void 0;
18151
+ if (!(coerced5 !== void 0)) {
18152
+ if (dataType5 == "number" || dataType5 == "boolean") {
18153
+ coerced5 = "" + data20;
18154
+ } else if (data20 === null) {
18155
+ coerced5 = "";
17364
18156
  } else {
17365
- const err15 = { instancePath: instancePath + "/transformations/" + i2 + "/reason", schemaPath: "#/$defs/openAPITransformation/properties/reason/type", keyword: "type", params: { type: "string" }, message: "must be string" };
18157
+ const err24 = { instancePath: instancePath + "/transformations/" + i3 + "/reason", schemaPath: "#/$defs/openAPITransformation/properties/reason/type", keyword: "type", params: { type: "string" }, message: "must be string" };
17366
18158
  if (vErrors === null) {
17367
- vErrors = [err15];
18159
+ vErrors = [err24];
17368
18160
  } else {
17369
- vErrors.push(err15);
18161
+ vErrors.push(err24);
17370
18162
  }
17371
18163
  errors++;
17372
18164
  }
17373
18165
  }
17374
- if (coerced3 !== void 0) {
17375
- data15 = coerced3;
17376
- if (data12 !== void 0) {
17377
- data12["reason"] = coerced3;
18166
+ if (coerced5 !== void 0) {
18167
+ data20 = coerced5;
18168
+ if (data17 !== void 0) {
18169
+ data17["reason"] = coerced5;
17378
18170
  }
17379
18171
  }
17380
18172
  }
17381
18173
  }
17382
18174
  } else {
17383
- const err16 = { instancePath: instancePath + "/transformations/" + i2, schemaPath: "#/$defs/openAPITransformation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
18175
+ const err25 = { instancePath: instancePath + "/transformations/" + i3, schemaPath: "#/$defs/openAPITransformation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17384
18176
  if (vErrors === null) {
17385
- vErrors = [err16];
18177
+ vErrors = [err25];
17386
18178
  } else {
17387
- vErrors.push(err16);
18179
+ vErrors.push(err25);
17388
18180
  }
17389
18181
  errors++;
17390
18182
  }
17391
18183
  }
17392
18184
  } else {
17393
- const err17 = { instancePath: instancePath + "/transformations", schemaPath: "#/properties/transformations/type", keyword: "type", params: { type: "array" }, message: "must be array" };
18185
+ const err26 = { instancePath: instancePath + "/transformations", schemaPath: "#/properties/transformations/type", keyword: "type", params: { type: "array" }, message: "must be array" };
17394
18186
  if (vErrors === null) {
17395
- vErrors = [err17];
18187
+ vErrors = [err26];
17396
18188
  } else {
17397
- vErrors.push(err17);
18189
+ vErrors.push(err26);
17398
18190
  }
17399
18191
  errors++;
17400
18192
  }
17401
18193
  }
17402
18194
  } else {
17403
- const err18 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
18195
+ const err27 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17404
18196
  if (vErrors === null) {
17405
- vErrors = [err18];
18197
+ vErrors = [err27];
17406
18198
  } else {
17407
- vErrors.push(err18);
18199
+ vErrors.push(err27);
17408
18200
  }
17409
18201
  errors++;
17410
18202
  }
17411
- validate152.errors = vErrors;
18203
+ validate160.errors = vErrors;
17412
18204
  return errors === 0;
17413
18205
  }
17414
- validate152.evaluated = { "props": { "codeSamples": true, "codeSampleLanguages": true, "tags": true, "security": true, "securitySchemes": true, "operationSecurity": true, "transformations": true }, "dynamicProps": false, "dynamicItems": false };
17415
- var schema174 = { "enum": ["connect", "transcode"] };
17416
- var pattern30 = new RegExp("^[^-\\s\\u0000-\\u001f\\u007f-\\u009f][^\\u0000-\\u001f\\u007f-\\u009f]*$", "u");
17417
- var pattern32 = new RegExp("^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*/[A-Za-z_][A-Za-z0-9_]*$", "u");
17418
- function validate169(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18206
+ validate160.evaluated = { "props": { "codeSamples": true, "codeSampleLanguages": true, "tags": true, "security": true, "securitySchemes": true, "securitySchemeSettings": true, "operationSecurity": true, "transformations": true }, "dynamicProps": false, "dynamicItems": false };
18207
+ var schema182 = { "enum": ["connect", "transcode"] };
18208
+ var pattern33 = new RegExp("^[^-\\s\\u0000-\\u001f\\u007f-\\u009f][^\\u0000-\\u001f\\u007f-\\u009f]*$", "u");
18209
+ var pattern35 = new RegExp("^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*/[A-Za-z_][A-Za-z0-9_]*$", "u");
18210
+ function validate177(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17419
18211
  let vErrors = null;
17420
18212
  let errors = 0;
17421
- const evaluated0 = validate169.evaluated;
18213
+ const evaluated0 = validate177.evaluated;
17422
18214
  if (evaluated0.dynamicProps) {
17423
18215
  evaluated0.props = void 0;
17424
18216
  }
@@ -17536,14 +18328,14 @@ function validate169(data, { instancePath = "", parentData, parentDataProperty,
17536
18328
  }
17537
18329
  errors++;
17538
18330
  }
17539
- validate169.errors = vErrors;
18331
+ validate177.errors = vErrors;
17540
18332
  return errors === 0;
17541
18333
  }
17542
- validate169.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17543
- function validate168(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18334
+ validate177.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
18335
+ function validate176(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17544
18336
  let vErrors = null;
17545
18337
  let errors = 0;
17546
- const evaluated0 = validate168.evaluated;
18338
+ const evaluated0 = validate176.evaluated;
17547
18339
  if (evaluated0.dynamicProps) {
17548
18340
  evaluated0.props = void 0;
17549
18341
  }
@@ -17590,7 +18382,7 @@ function validate168(data, { instancePath = "", parentData, parentDataProperty,
17590
18382
  }
17591
18383
  }
17592
18384
  if (typeof data0 === "string") {
17593
- if (!pattern30.test(data0)) {
18385
+ if (!pattern33.test(data0)) {
17594
18386
  const err2 = { instancePath: instancePath + "/target", schemaPath: "#/properties/target/pattern", keyword: "pattern", params: { pattern: "^[^-\\s\\u0000-\\u001f\\u007f-\\u009f][^\\u0000-\\u001f\\u007f-\\u009f]*$" }, message: 'must match pattern "^[^-\\s\\u0000-\\u001f\\u007f-\\u009f][^\\u0000-\\u001f\\u007f-\\u009f]*$"' };
17595
18387
  if (vErrors === null) {
17596
18388
  vErrors = [err2];
@@ -17604,7 +18396,7 @@ function validate168(data, { instancePath = "", parentData, parentDataProperty,
17604
18396
  if (data.protocol !== void 0) {
17605
18397
  let data1 = data.protocol;
17606
18398
  if (!(data1 === "connect" || data1 === "transcode")) {
17607
- const err3 = { instancePath: instancePath + "/protocol", schemaPath: "#/$defs/grpcProtocol/enum", keyword: "enum", params: { allowedValues: schema174.enum }, message: "must be equal to one of the allowed values" };
18399
+ const err3 = { instancePath: instancePath + "/protocol", schemaPath: "#/$defs/grpcProtocol/enum", keyword: "enum", params: { allowedValues: schema182.enum }, message: "must be equal to one of the allowed values" };
17608
18400
  if (vErrors === null) {
17609
18401
  vErrors = [err3];
17610
18402
  } else {
@@ -17619,7 +18411,7 @@ function validate168(data, { instancePath = "", parentData, parentDataProperty,
17619
18411
  for (const key1 in data2) {
17620
18412
  const _errs8 = errors;
17621
18413
  if (typeof key1 === "string") {
17622
- if (!pattern13.test(key1)) {
18414
+ if (!pattern14.test(key1)) {
17623
18415
  const err4 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/propertyNames/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$" }, message: 'must match pattern "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"', propertyName: key1 };
17624
18416
  if (vErrors === null) {
17625
18417
  vErrors = [err4];
@@ -17641,8 +18433,8 @@ function validate168(data, { instancePath = "", parentData, parentDataProperty,
17641
18433
  }
17642
18434
  }
17643
18435
  for (const key2 in data2) {
17644
- if (!validate169(data2[key2], { instancePath: instancePath + "/services/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data2, parentDataProperty: key2, rootData, dynamicAnchors })) {
17645
- vErrors = vErrors === null ? validate169.errors : vErrors.concat(validate169.errors);
18436
+ if (!validate177(data2[key2], { instancePath: instancePath + "/services/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data2, parentDataProperty: key2, rootData, dynamicAnchors })) {
18437
+ vErrors = vErrors === null ? validate177.errors : vErrors.concat(validate177.errors);
17646
18438
  errors = vErrors.length;
17647
18439
  }
17648
18440
  }
@@ -17688,7 +18480,7 @@ function validate168(data, { instancePath = "", parentData, parentDataProperty,
17688
18480
  }
17689
18481
  }
17690
18482
  if (typeof data5 === "string") {
17691
- if (!pattern32.test(data5)) {
18483
+ if (!pattern35.test(data5)) {
17692
18484
  const err8 = { instancePath: instancePath + "/ignoredMethods/" + i0, schemaPath: "#/properties/ignoredMethods/items/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*/[A-Za-z_][A-Za-z0-9_]*$" }, message: 'must match pattern "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*/[A-Za-z_][A-Za-z0-9_]*$"' };
17693
18485
  if (vErrors === null) {
17694
18486
  vErrors = [err8];
@@ -17718,16 +18510,16 @@ function validate168(data, { instancePath = "", parentData, parentDataProperty,
17718
18510
  }
17719
18511
  errors++;
17720
18512
  }
17721
- validate168.errors = vErrors;
18513
+ validate176.errors = vErrors;
17722
18514
  return errors === 0;
17723
18515
  }
17724
- validate168.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17725
- var schema178 = { "type": "object", "properties": { "kind": { "$ref": "#/$defs/streamingEventHandlerKind" }, "handle": { "type": "string" }, "eventType": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }, { "const": null }] }, "errorProperty": { "type": "string" }, "dataStartsWith": { "type": "string" } }, "required": ["kind", "handle"] };
17726
- var schema179 = { "enum": ["event", "fallthrough", "data"] };
17727
- function validate175(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18516
+ validate176.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
18517
+ var schema186 = { "type": "object", "properties": { "kind": { "$ref": "#/$defs/streamingEventHandlerKind" }, "handle": { "type": "string" }, "eventType": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }, { "const": null }] }, "errorProperty": { "type": "string" }, "dataStartsWith": { "type": "string" } }, "required": ["kind", "handle"] };
18518
+ var schema187 = { "enum": ["event", "fallthrough", "data"] };
18519
+ function validate183(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17728
18520
  let vErrors = null;
17729
18521
  let errors = 0;
17730
- const evaluated0 = validate175.evaluated;
18522
+ const evaluated0 = validate183.evaluated;
17731
18523
  if (evaluated0.dynamicProps) {
17732
18524
  evaluated0.props = void 0;
17733
18525
  }
@@ -17756,7 +18548,7 @@ function validate175(data, { instancePath = "", parentData, parentDataProperty,
17756
18548
  if (data.kind !== void 0) {
17757
18549
  let data0 = data.kind;
17758
18550
  if (!(data0 === "event" || data0 === "fallthrough" || data0 === "data")) {
17759
- const err2 = { instancePath: instancePath + "/kind", schemaPath: "#/$defs/streamingEventHandlerKind/enum", keyword: "enum", params: { allowedValues: schema179.enum }, message: "must be equal to one of the allowed values" };
18551
+ const err2 = { instancePath: instancePath + "/kind", schemaPath: "#/$defs/streamingEventHandlerKind/enum", keyword: "enum", params: { allowedValues: schema187.enum }, message: "must be equal to one of the allowed values" };
17760
18552
  if (vErrors === null) {
17761
18553
  vErrors = [err2];
17762
18554
  } else {
@@ -17869,7 +18661,7 @@ function validate175(data, { instancePath = "", parentData, parentDataProperty,
17869
18661
  valid2 = valid2 || _valid0;
17870
18662
  const _errs13 = errors;
17871
18663
  if (null !== data2) {
17872
- const err7 = { instancePath: instancePath + "/eventType", schemaPath: "#/properties/eventType/anyOf/2/const", keyword: "const", params: { allowedValue: schema178.properties.eventType.anyOf[2].const }, message: "must be equal to constant" };
18664
+ const err7 = { instancePath: instancePath + "/eventType", schemaPath: "#/properties/eventType/anyOf/2/const", keyword: "const", params: { allowedValue: schema186.properties.eventType.anyOf[2].const }, message: "must be equal to constant" };
17873
18665
  if (vErrors === null) {
17874
18666
  vErrors = [err7];
17875
18667
  } else {
@@ -17963,14 +18755,14 @@ function validate175(data, { instancePath = "", parentData, parentDataProperty,
17963
18755
  }
17964
18756
  errors++;
17965
18757
  }
17966
- validate175.errors = vErrors;
18758
+ validate183.errors = vErrors;
17967
18759
  return errors === 0;
17968
18760
  }
17969
- validate175.evaluated = { "props": { "kind": true, "handle": true, "eventType": true, "errorProperty": true, "dataStartsWith": true }, "dynamicProps": false, "dynamicItems": false };
17970
- function validate174(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18761
+ validate183.evaluated = { "props": { "kind": true, "handle": true, "eventType": true, "errorProperty": true, "dataStartsWith": true }, "dynamicProps": false, "dynamicItems": false };
18762
+ function validate182(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17971
18763
  let vErrors = null;
17972
18764
  let errors = 0;
17973
- const evaluated0 = validate174.evaluated;
18765
+ const evaluated0 = validate182.evaluated;
17974
18766
  if (evaluated0.dynamicProps) {
17975
18767
  evaluated0.props = void 0;
17976
18768
  }
@@ -17992,8 +18784,8 @@ function validate174(data, { instancePath = "", parentData, parentDataProperty,
17992
18784
  if (Array.isArray(data0)) {
17993
18785
  const len0 = data0.length;
17994
18786
  for (let i0 = 0; i0 < len0; i0++) {
17995
- if (!validate175(data0[i0], { instancePath: instancePath + "/onEvent/" + i0, parentData: data0, parentDataProperty: i0, rootData, dynamicAnchors })) {
17996
- vErrors = vErrors === null ? validate175.errors : vErrors.concat(validate175.errors);
18787
+ if (!validate183(data0[i0], { instancePath: instancePath + "/onEvent/" + i0, parentData: data0, parentDataProperty: i0, rootData, dynamicAnchors })) {
18788
+ vErrors = vErrors === null ? validate183.errors : vErrors.concat(validate183.errors);
17997
18789
  errors = vErrors.length;
17998
18790
  }
17999
18791
  }
@@ -18016,14 +18808,14 @@ function validate174(data, { instancePath = "", parentData, parentDataProperty,
18016
18808
  }
18017
18809
  errors++;
18018
18810
  }
18019
- validate174.errors = vErrors;
18811
+ validate182.errors = vErrors;
18020
18812
  return errors === 0;
18021
18813
  }
18022
- validate174.evaluated = { "props": { "onEvent": true }, "dynamicProps": false, "dynamicItems": false };
18023
- function validate178(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18814
+ validate182.evaluated = { "props": { "onEvent": true }, "dynamicProps": false, "dynamicItems": false };
18815
+ function validate186(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18024
18816
  let vErrors = null;
18025
18817
  let errors = 0;
18026
- const evaluated0 = validate178.evaluated;
18818
+ const evaluated0 = validate186.evaluated;
18027
18819
  if (evaluated0.dynamicProps) {
18028
18820
  evaluated0.props = void 0;
18029
18821
  }
@@ -18187,15 +18979,15 @@ function validate178(data, { instancePath = "", parentData, parentDataProperty,
18187
18979
  }
18188
18980
  errors++;
18189
18981
  }
18190
- validate178.errors = vErrors;
18982
+ validate186.errors = vErrors;
18191
18983
  return errors === 0;
18192
18984
  }
18193
- validate178.evaluated = { "props": { "type": true, "openapiUri": true, "deduplicate": true, "skipProperties": true, "skip": true }, "dynamicProps": false, "dynamicItems": false };
18194
- var schema181 = { "type": "object", "properties": { "failOn": { "enum": ["off", "info", "warn", "error"], "default": "error" }, "maxWarnings": { "type": "number", "minimum": 0 }, "maxErrors": { "type": "number", "minimum": 0 }, "rules": { "type": "object", "additionalProperties": { "enum": ["error", "warn", "info", "off"] } }, "ignored": { "type": "object", "additionalProperties": { "$ref": "#/$defs/diagnosticIgnoreConfig" } } }, "additionalProperties": false };
18195
- function validate183(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18985
+ validate186.evaluated = { "props": { "type": true, "openapiUri": true, "deduplicate": true, "skipProperties": true, "skip": true }, "dynamicProps": false, "dynamicItems": false };
18986
+ var schema189 = { "type": "object", "properties": { "failOn": { "enum": ["off", "info", "warn", "error"], "default": "error" }, "maxWarnings": { "type": "number", "minimum": 0 }, "maxErrors": { "type": "number", "minimum": 0 }, "rules": { "type": "object", "additionalProperties": { "enum": ["error", "warn", "info", "off"] } }, "ignored": { "type": "object", "additionalProperties": { "$ref": "#/$defs/diagnosticIgnoreConfig" } } }, "additionalProperties": false };
18987
+ function validate191(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18196
18988
  let vErrors = null;
18197
18989
  let errors = 0;
18198
- const evaluated0 = validate183.evaluated;
18990
+ const evaluated0 = validate191.evaluated;
18199
18991
  if (evaluated0.dynamicProps) {
18200
18992
  evaluated0.props = void 0;
18201
18993
  }
@@ -18349,7 +19141,7 @@ function validate183(data, { instancePath = "", parentData, parentDataProperty,
18349
19141
  if (data.target !== void 0) {
18350
19142
  let data2 = data.target;
18351
19143
  if (!(data2 === "typescript" || data2 === "python" || data2 === "go" || data2 === "rust" || data2 === "java" || data2 === "kotlin" || data2 === "swift" || data2 === "ruby" || data2 === "cli" || data2 === "php" || data2 === "csharp" || data2 === "cpp" || data2 === "dart")) {
18352
- const err8 = { instancePath: instancePath + "/target", schemaPath: "#/$defs/targetLanguage/enum", keyword: "enum", params: { allowedValues: schema41.enum }, message: "must be equal to one of the allowed values" };
19144
+ const err8 = { instancePath: instancePath + "/target", schemaPath: "#/$defs/targetLanguage/enum", keyword: "enum", params: { allowedValues: schema40.enum }, message: "must be equal to one of the allowed values" };
18353
19145
  if (vErrors === null) {
18354
19146
  vErrors = [err8];
18355
19147
  } else {
@@ -18420,15 +19212,15 @@ function validate183(data, { instancePath = "", parentData, parentDataProperty,
18420
19212
  }
18421
19213
  }
18422
19214
  }
18423
- validate183.errors = vErrors;
19215
+ validate191.errors = vErrors;
18424
19216
  evaluated0.props = props0;
18425
19217
  return errors === 0;
18426
19218
  }
18427
- validate183.evaluated = { "dynamicProps": true, "dynamicItems": false };
18428
- function validate182(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19219
+ validate191.evaluated = { "dynamicProps": true, "dynamicItems": false };
19220
+ function validate190(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18429
19221
  let vErrors = null;
18430
19222
  let errors = 0;
18431
- const evaluated0 = validate182.evaluated;
19223
+ const evaluated0 = validate190.evaluated;
18432
19224
  if (evaluated0.dynamicProps) {
18433
19225
  evaluated0.props = void 0;
18434
19226
  }
@@ -18496,8 +19288,8 @@ function validate182(data, { instancePath = "", parentData, parentDataProperty,
18496
19288
  if (Array.isArray(data)) {
18497
19289
  const len0 = data.length;
18498
19290
  for (let i0 = 0; i0 < len0; i0++) {
18499
- if (!validate183(data[i0], { instancePath: instancePath + "/" + i0, parentData: data, parentDataProperty: i0, rootData, dynamicAnchors })) {
18500
- vErrors = vErrors === null ? validate183.errors : vErrors.concat(validate183.errors);
19291
+ if (!validate191(data[i0], { instancePath: instancePath + "/" + i0, parentData: data, parentDataProperty: i0, rootData, dynamicAnchors })) {
19292
+ vErrors = vErrors === null ? validate191.errors : vErrors.concat(validate191.errors);
18501
19293
  errors = vErrors.length;
18502
19294
  }
18503
19295
  }
@@ -18533,15 +19325,15 @@ function validate182(data, { instancePath = "", parentData, parentDataProperty,
18533
19325
  }
18534
19326
  }
18535
19327
  }
18536
- validate182.errors = vErrors;
19328
+ validate190.errors = vErrors;
18537
19329
  evaluated0.items = items0;
18538
19330
  return errors === 0;
18539
19331
  }
18540
- validate182.evaluated = { "dynamicProps": false, "dynamicItems": true };
18541
- function validate181(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19332
+ validate190.evaluated = { "dynamicProps": false, "dynamicItems": true };
19333
+ function validate189(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18542
19334
  let vErrors = null;
18543
19335
  let errors = 0;
18544
- const evaluated0 = validate181.evaluated;
19336
+ const evaluated0 = validate189.evaluated;
18545
19337
  if (evaluated0.dynamicProps) {
18546
19338
  evaluated0.props = void 0;
18547
19339
  }
@@ -18563,7 +19355,7 @@ function validate181(data, { instancePath = "", parentData, parentDataProperty,
18563
19355
  if (data.failOn !== void 0) {
18564
19356
  let data0 = data.failOn;
18565
19357
  if (!(data0 === "off" || data0 === "info" || data0 === "warn" || data0 === "error")) {
18566
- const err1 = { instancePath: instancePath + "/failOn", schemaPath: "#/properties/failOn/enum", keyword: "enum", params: { allowedValues: schema181.properties.failOn.enum }, message: "must be equal to one of the allowed values" };
19358
+ const err1 = { instancePath: instancePath + "/failOn", schemaPath: "#/properties/failOn/enum", keyword: "enum", params: { allowedValues: schema189.properties.failOn.enum }, message: "must be equal to one of the allowed values" };
18567
19359
  if (vErrors === null) {
18568
19360
  vErrors = [err1];
18569
19361
  } else {
@@ -18652,7 +19444,7 @@ function validate181(data, { instancePath = "", parentData, parentDataProperty,
18652
19444
  for (const key1 in data3) {
18653
19445
  let data4 = data3[key1];
18654
19446
  if (!(data4 === "error" || data4 === "warn" || data4 === "info" || data4 === "off")) {
18655
- const err6 = { instancePath: instancePath + "/rules/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/rules/additionalProperties/enum", keyword: "enum", params: { allowedValues: schema181.properties.rules.additionalProperties.enum }, message: "must be equal to one of the allowed values" };
19447
+ const err6 = { instancePath: instancePath + "/rules/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/rules/additionalProperties/enum", keyword: "enum", params: { allowedValues: schema189.properties.rules.additionalProperties.enum }, message: "must be equal to one of the allowed values" };
18656
19448
  if (vErrors === null) {
18657
19449
  vErrors = [err6];
18658
19450
  } else {
@@ -18675,8 +19467,8 @@ function validate181(data, { instancePath = "", parentData, parentDataProperty,
18675
19467
  let data5 = data.ignored;
18676
19468
  if (data5 && typeof data5 == "object" && !Array.isArray(data5)) {
18677
19469
  for (const key2 in data5) {
18678
- if (!validate182(data5[key2], { instancePath: instancePath + "/ignored/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data5, parentDataProperty: key2, rootData, dynamicAnchors })) {
18679
- vErrors = vErrors === null ? validate182.errors : vErrors.concat(validate182.errors);
19470
+ if (!validate190(data5[key2], { instancePath: instancePath + "/ignored/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data5, parentDataProperty: key2, rootData, dynamicAnchors })) {
19471
+ vErrors = vErrors === null ? validate190.errors : vErrors.concat(validate190.errors);
18680
19472
  errors = vErrors.length;
18681
19473
  }
18682
19474
  }
@@ -18699,10 +19491,10 @@ function validate181(data, { instancePath = "", parentData, parentDataProperty,
18699
19491
  }
18700
19492
  errors++;
18701
19493
  }
18702
- validate181.errors = vErrors;
19494
+ validate189.errors = vErrors;
18703
19495
  return errors === 0;
18704
19496
  }
18705
- validate181.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
19497
+ validate189.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
18706
19498
  function validate20(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18707
19499
  ;
18708
19500
  let vErrors = null;
@@ -19095,8 +19887,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
19095
19887
  }
19096
19888
  }
19097
19889
  if (data.clientSettings !== void 0) {
19098
- if (!validate138(data.clientSettings, { instancePath: instancePath + "/clientSettings", parentData: data, parentDataProperty: "clientSettings", rootData, dynamicAnchors })) {
19099
- vErrors = vErrors === null ? validate138.errors : vErrors.concat(validate138.errors);
19890
+ if (!validate146(data.clientSettings, { instancePath: instancePath + "/clientSettings", parentData: data, parentDataProperty: "clientSettings", rootData, dynamicAnchors })) {
19891
+ vErrors = vErrors === null ? validate146.errors : vErrors.concat(validate146.errors);
19100
19892
  errors = vErrors.length;
19101
19893
  }
19102
19894
  }
@@ -19105,8 +19897,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
19105
19897
  if (Array.isArray(data18)) {
19106
19898
  const len1 = data18.length;
19107
19899
  for (let i1 = 0; i1 < len1; i1++) {
19108
- if (!validate142(data18[i1], { instancePath: instancePath + "/pagination/" + i1, parentData: data18, parentDataProperty: i1, rootData, dynamicAnchors })) {
19109
- vErrors = vErrors === null ? validate142.errors : vErrors.concat(validate142.errors);
19900
+ if (!validate150(data18[i1], { instancePath: instancePath + "/pagination/" + i1, parentData: data18, parentDataProperty: i1, rootData, dynamicAnchors })) {
19901
+ vErrors = vErrors === null ? validate150.errors : vErrors.concat(validate150.errors);
19110
19902
  errors = vErrors.length;
19111
19903
  }
19112
19904
  }
@@ -19121,14 +19913,14 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
19121
19913
  }
19122
19914
  }
19123
19915
  if (data.querySettings !== void 0) {
19124
- if (!validate148(data.querySettings, { instancePath: instancePath + "/querySettings", parentData: data, parentDataProperty: "querySettings", rootData, dynamicAnchors })) {
19125
- vErrors = vErrors === null ? validate148.errors : vErrors.concat(validate148.errors);
19916
+ if (!validate156(data.querySettings, { instancePath: instancePath + "/querySettings", parentData: data, parentDataProperty: "querySettings", rootData, dynamicAnchors })) {
19917
+ vErrors = vErrors === null ? validate156.errors : vErrors.concat(validate156.errors);
19126
19918
  errors = vErrors.length;
19127
19919
  }
19128
19920
  }
19129
19921
  if (data.multipartSettings !== void 0) {
19130
- if (!validate150(data.multipartSettings, { instancePath: instancePath + "/multipartSettings", parentData: data, parentDataProperty: "multipartSettings", rootData, dynamicAnchors })) {
19131
- vErrors = vErrors === null ? validate150.errors : vErrors.concat(validate150.errors);
19922
+ if (!validate158(data.multipartSettings, { instancePath: instancePath + "/multipartSettings", parentData: data, parentDataProperty: "multipartSettings", rootData, dynamicAnchors })) {
19923
+ vErrors = vErrors === null ? validate158.errors : vErrors.concat(validate158.errors);
19132
19924
  errors = vErrors.length;
19133
19925
  }
19134
19926
  }
@@ -19288,7 +20080,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
19288
20080
  }
19289
20081
  }
19290
20082
  if (!(data28 === "all" || data28 === "none" || data28 === "last")) {
19291
- const err27 = { instancePath: instancePath + "/settings/positionalParams", schemaPath: "#/$defs/globalSettings/properties/positionalParams/enum", keyword: "enum", params: { allowedValues: schema155.properties.positionalParams.enum }, message: "must be equal to one of the allowed values" };
20083
+ const err27 = { instancePath: instancePath + "/settings/positionalParams", schemaPath: "#/$defs/globalSettings/properties/positionalParams/enum", keyword: "enum", params: { allowedValues: schema162.properties.positionalParams.enum }, message: "must be equal to one of the allowed values" };
19292
20084
  if (vErrors === null) {
19293
20085
  vErrors = [err27];
19294
20086
  } else {
@@ -19325,7 +20117,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
19325
20117
  }
19326
20118
  }
19327
20119
  if (!(data29 === "config" || data29 === "openapi" || data29 === "crud")) {
19328
- const err29 = { instancePath: instancePath + "/settings/ordering", schemaPath: "#/$defs/globalSettings/properties/ordering/enum", keyword: "enum", params: { allowedValues: schema155.properties.ordering.enum }, message: "must be equal to one of the allowed values" };
20120
+ const err29 = { instancePath: instancePath + "/settings/ordering", schemaPath: "#/$defs/globalSettings/properties/ordering/enum", keyword: "enum", params: { allowedValues: schema162.properties.ordering.enum }, message: "must be equal to one of the allowed values" };
19329
20121
  if (vErrors === null) {
19330
20122
  vErrors = [err29];
19331
20123
  } else {
@@ -19399,14 +20191,14 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
19399
20191
  }
19400
20192
  }
19401
20193
  if (data.openapi !== void 0) {
19402
- if (!validate152(data.openapi, { instancePath: instancePath + "/openapi", parentData: data, parentDataProperty: "openapi", rootData, dynamicAnchors })) {
19403
- vErrors = vErrors === null ? validate152.errors : vErrors.concat(validate152.errors);
20194
+ if (!validate160(data.openapi, { instancePath: instancePath + "/openapi", parentData: data, parentDataProperty: "openapi", rootData, dynamicAnchors })) {
20195
+ vErrors = vErrors === null ? validate160.errors : vErrors.concat(validate160.errors);
19404
20196
  errors = vErrors.length;
19405
20197
  }
19406
20198
  }
19407
20199
  if (data.grpc !== void 0) {
19408
- if (!validate168(data.grpc, { instancePath: instancePath + "/grpc", parentData: data, parentDataProperty: "grpc", rootData, dynamicAnchors })) {
19409
- vErrors = vErrors === null ? validate168.errors : vErrors.concat(validate168.errors);
20200
+ if (!validate176(data.grpc, { instancePath: instancePath + "/grpc", parentData: data, parentDataProperty: "grpc", rootData, dynamicAnchors })) {
20201
+ vErrors = vErrors === null ? validate176.errors : vErrors.concat(validate176.errors);
19410
20202
  errors = vErrors.length;
19411
20203
  }
19412
20204
  }
@@ -19505,8 +20297,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
19505
20297
  }
19506
20298
  }
19507
20299
  if (data.streaming !== void 0) {
19508
- if (!validate174(data.streaming, { instancePath: instancePath + "/streaming", parentData: data, parentDataProperty: "streaming", rootData, dynamicAnchors })) {
19509
- vErrors = vErrors === null ? validate174.errors : vErrors.concat(validate174.errors);
20300
+ if (!validate182(data.streaming, { instancePath: instancePath + "/streaming", parentData: data, parentDataProperty: "streaming", rootData, dynamicAnchors })) {
20301
+ vErrors = vErrors === null ? validate182.errors : vErrors.concat(validate182.errors);
19510
20302
  errors = vErrors.length;
19511
20303
  }
19512
20304
  }
@@ -19514,8 +20306,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
19514
20306
  let data39 = data.models;
19515
20307
  if (data39 && typeof data39 == "object" && !Array.isArray(data39)) {
19516
20308
  for (const key4 in data39) {
19517
- if (!validate178(data39[key4], { instancePath: instancePath + "/models/" + key4.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data39, parentDataProperty: key4, rootData, dynamicAnchors })) {
19518
- vErrors = vErrors === null ? validate178.errors : vErrors.concat(validate178.errors);
20309
+ if (!validate186(data39[key4], { instancePath: instancePath + "/models/" + key4.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data39, parentDataProperty: key4, rootData, dynamicAnchors })) {
20310
+ vErrors = vErrors === null ? validate186.errors : vErrors.concat(validate186.errors);
19519
20311
  errors = vErrors.length;
19520
20312
  }
19521
20313
  }
@@ -19530,8 +20322,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
19530
20322
  }
19531
20323
  }
19532
20324
  if (data.diagnostics !== void 0) {
19533
- if (!validate181(data.diagnostics, { instancePath: instancePath + "/diagnostics", parentData: data, parentDataProperty: "diagnostics", rootData, dynamicAnchors })) {
19534
- vErrors = vErrors === null ? validate181.errors : vErrors.concat(validate181.errors);
20325
+ if (!validate189(data.diagnostics, { instancePath: instancePath + "/diagnostics", parentData: data, parentDataProperty: "diagnostics", rootData, dynamicAnchors })) {
20326
+ vErrors = vErrors === null ? validate189.errors : vErrors.concat(validate189.errors);
19535
20327
  errors = vErrors.length;
19536
20328
  }
19537
20329
  }
@@ -19548,10 +20340,10 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
19548
20340
  return errors === 0;
19549
20341
  }
19550
20342
  validate20.evaluated = { "props": { "organization": true, "generatorVersion": true, "resources": true, "readme": true, "customCasings": true, "targets": true, "environments": true, "environmentOrder": true, "clientSettings": true, "pagination": true, "querySettings": true, "multipartSettings": true, "settings": true, "openapi": true, "grpc": true, "errors": true, "ignoredEndpoints": true, "streaming": true, "models": true, "diagnostics": true }, "dynamicProps": false, "dynamicItems": false };
19551
- function validate188(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
20343
+ function validate196(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19552
20344
  let vErrors = null;
19553
20345
  let errors = 0;
19554
- const evaluated0 = validate188.evaluated;
20346
+ const evaluated0 = validate196.evaluated;
19555
20347
  if (evaluated0.dynamicProps) {
19556
20348
  evaluated0.props = void 0;
19557
20349
  }
@@ -19572,8 +20364,8 @@ function validate188(data, { instancePath = "", parentData, parentDataProperty,
19572
20364
  let data0 = data.opts;
19573
20365
  if (data0 && typeof data0 == "object" && !Array.isArray(data0)) {
19574
20366
  for (const key0 in data0) {
19575
- if (!validate139(data0[key0], { instancePath: instancePath + "/opts/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data0, parentDataProperty: key0, rootData, dynamicAnchors })) {
19576
- vErrors = vErrors === null ? validate139.errors : vErrors.concat(validate139.errors);
20367
+ if (!validate147(data0[key0], { instancePath: instancePath + "/opts/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data0, parentDataProperty: key0, rootData, dynamicAnchors })) {
20368
+ vErrors = vErrors === null ? validate147.errors : vErrors.concat(validate147.errors);
19577
20369
  errors = vErrors.length;
19578
20370
  }
19579
20371
  }
@@ -19785,7 +20577,7 @@ function validate188(data, { instancePath = "", parentData, parentDataProperty,
19785
20577
  if (data.emptyResponseAccept !== void 0) {
19786
20578
  let data10 = data.emptyResponseAccept;
19787
20579
  if (!(data10 === "wildcard" || data10 === "inherit")) {
19788
- const err10 = { instancePath: instancePath + "/emptyResponseAccept", schemaPath: "#/properties/emptyResponseAccept/enum", keyword: "enum", params: { allowedValues: schema131.properties.emptyResponseAccept.enum }, message: "must be equal to one of the allowed values" };
20580
+ const err10 = { instancePath: instancePath + "/emptyResponseAccept", schemaPath: "#/properties/emptyResponseAccept/enum", keyword: "enum", params: { allowedValues: schema138.properties.emptyResponseAccept.enum }, message: "must be equal to one of the allowed values" };
19789
20581
  if (vErrors === null) {
19790
20582
  vErrors = [err10];
19791
20583
  } else {
@@ -20012,34 +20804,34 @@ function validate188(data, { instancePath = "", parentData, parentDataProperty,
20012
20804
  }
20013
20805
  errors++;
20014
20806
  }
20015
- validate188.errors = vErrors;
20807
+ validate196.errors = vErrors;
20016
20808
  return errors === 0;
20017
20809
  }
20018
- validate188.evaluated = { "props": { "opts": true, "baseUrlAliases": true, "defaultHeaders": true, "defaultClientName": true, "defaultClientExampleName": true, "defaultEnvPrefix": true, "idempotencyHeader": true, "emptyResponseAccept": true, "defaultTimeout": true, "defaultRetries": true, "responseHeaders": true }, "dynamicProps": false, "dynamicItems": false };
20019
- function validate187(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
20810
+ validate196.evaluated = { "props": { "opts": true, "baseUrlAliases": true, "defaultHeaders": true, "defaultClientName": true, "defaultClientExampleName": true, "defaultEnvPrefix": true, "idempotencyHeader": true, "emptyResponseAccept": true, "defaultTimeout": true, "defaultRetries": true, "responseHeaders": true }, "dynamicProps": false, "dynamicItems": false };
20811
+ function validate195(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
20020
20812
  ;
20021
20813
  let vErrors = null;
20022
20814
  let errors = 0;
20023
- const evaluated0 = validate187.evaluated;
20815
+ const evaluated0 = validate195.evaluated;
20024
20816
  if (evaluated0.dynamicProps) {
20025
20817
  evaluated0.props = void 0;
20026
20818
  }
20027
20819
  if (evaluated0.dynamicItems) {
20028
20820
  evaluated0.items = void 0;
20029
20821
  }
20030
- if (!validate188(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
20031
- vErrors = vErrors === null ? validate188.errors : vErrors.concat(validate188.errors);
20822
+ if (!validate196(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
20823
+ vErrors = vErrors === null ? validate196.errors : vErrors.concat(validate196.errors);
20032
20824
  errors = vErrors.length;
20033
20825
  }
20034
- validate187.errors = vErrors;
20826
+ validate195.errors = vErrors;
20035
20827
  return errors === 0;
20036
20828
  }
20037
- validate187.evaluated = { "props": { "opts": true, "baseUrlAliases": true, "defaultHeaders": true, "defaultClientName": true, "defaultClientExampleName": true, "defaultEnvPrefix": true, "idempotencyHeader": true, "emptyResponseAccept": true, "defaultTimeout": true, "defaultRetries": true, "responseHeaders": true }, "dynamicProps": false, "dynamicItems": false };
20038
- function validate191(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
20829
+ validate195.evaluated = { "props": { "opts": true, "baseUrlAliases": true, "defaultHeaders": true, "defaultClientName": true, "defaultClientExampleName": true, "defaultEnvPrefix": true, "idempotencyHeader": true, "emptyResponseAccept": true, "defaultTimeout": true, "defaultRetries": true, "responseHeaders": true }, "dynamicProps": false, "dynamicItems": false };
20830
+ function validate199(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
20039
20831
  ;
20040
20832
  let vErrors = null;
20041
20833
  let errors = 0;
20042
- const evaluated0 = validate191.evaluated;
20834
+ const evaluated0 = validate199.evaluated;
20043
20835
  if (evaluated0.dynamicProps) {
20044
20836
  evaluated0.props = void 0;
20045
20837
  }
@@ -20200,7 +20992,7 @@ function validate191(data, { instancePath = "", parentData, parentDataProperty,
20200
20992
  }
20201
20993
  }
20202
20994
  if (!(data5 === "all" || data5 === "none" || data5 === "last")) {
20203
- const err6 = { instancePath: instancePath + "/positionalParams", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/positionalParams/enum", keyword: "enum", params: { allowedValues: schema155.properties.positionalParams.enum }, message: "must be equal to one of the allowed values" };
20995
+ const err6 = { instancePath: instancePath + "/positionalParams", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/positionalParams/enum", keyword: "enum", params: { allowedValues: schema162.properties.positionalParams.enum }, message: "must be equal to one of the allowed values" };
20204
20996
  if (vErrors === null) {
20205
20997
  vErrors = [err6];
20206
20998
  } else {
@@ -20237,7 +21029,7 @@ function validate191(data, { instancePath = "", parentData, parentDataProperty,
20237
21029
  }
20238
21030
  }
20239
21031
  if (!(data6 === "config" || data6 === "openapi" || data6 === "crud")) {
20240
- const err8 = { instancePath: instancePath + "/ordering", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/ordering/enum", keyword: "enum", params: { allowedValues: schema155.properties.ordering.enum }, message: "must be equal to one of the allowed values" };
21032
+ const err8 = { instancePath: instancePath + "/ordering", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/ordering/enum", keyword: "enum", params: { allowedValues: schema162.properties.ordering.enum }, message: "must be equal to one of the allowed values" };
20241
21033
  if (vErrors === null) {
20242
21034
  vErrors = [err8];
20243
21035
  } else {
@@ -20309,14 +21101,14 @@ function validate191(data, { instancePath = "", parentData, parentDataProperty,
20309
21101
  }
20310
21102
  errors++;
20311
21103
  }
20312
- validate191.errors = vErrors;
21104
+ validate199.errors = vErrors;
20313
21105
  return errors === 0;
20314
21106
  }
20315
- validate191.evaluated = { "props": { "agentSkill": true, "fileHeader": true, "license": true, "unwrapResponseFields": true, "positionalParams": true, "ordering": true, "requireWebsocketDependencies": true, "unwrapMultipropertyResponseFields": true }, "dynamicProps": false, "dynamicItems": false };
20316
- function validate193(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21107
+ validate199.evaluated = { "props": { "agentSkill": true, "fileHeader": true, "license": true, "unwrapResponseFields": true, "positionalParams": true, "ordering": true, "requireWebsocketDependencies": true, "unwrapMultipropertyResponseFields": true }, "dynamicProps": false, "dynamicItems": false };
21108
+ function validate201(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
20317
21109
  let vErrors = null;
20318
21110
  let errors = 0;
20319
- const evaluated0 = validate193.evaluated;
21111
+ const evaluated0 = validate201.evaluated;
20320
21112
  if (evaluated0.dynamicProps) {
20321
21113
  evaluated0.props = void 0;
20322
21114
  }
@@ -20419,7 +21211,7 @@ function validate193(data, { instancePath = "", parentData, parentDataProperty,
20419
21211
  if (data.type !== void 0) {
20420
21212
  let data2 = data.type;
20421
21213
  if (!(data2 === "cursor" || data2 === "cursorId" || data2 === "cursorUrl" || data2 === "fakePage" || data2 === "offset" || data2 === "pageNumber")) {
20422
- const err6 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/paginationType/enum", keyword: "enum", params: { allowedValues: schema136.enum }, message: "must be equal to one of the allowed values" };
21214
+ const err6 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/paginationType/enum", keyword: "enum", params: { allowedValues: schema143.enum }, message: "must be equal to one of the allowed values" };
20423
21215
  if (vErrors === null) {
20424
21216
  vErrors = [err6];
20425
21217
  } else {
@@ -20431,7 +21223,7 @@ function validate193(data, { instancePath = "", parentData, parentDataProperty,
20431
21223
  if (data.paramLocation !== void 0) {
20432
21224
  let data3 = data.paramLocation;
20433
21225
  if (!(data3 === "query" || data3 === "body")) {
20434
- const err7 = { instancePath: instancePath + "/paramLocation", schemaPath: "#/$defs/paginationParamLocation/enum", keyword: "enum", params: { allowedValues: schema137.enum }, message: "must be equal to one of the allowed values" };
21226
+ const err7 = { instancePath: instancePath + "/paramLocation", schemaPath: "#/$defs/paginationParamLocation/enum", keyword: "enum", params: { allowedValues: schema144.enum }, message: "must be equal to one of the allowed values" };
20435
21227
  if (vErrors === null) {
20436
21228
  vErrors = [err7];
20437
21229
  } else {
@@ -20471,8 +21263,8 @@ function validate193(data, { instancePath = "", parentData, parentDataProperty,
20471
21263
  let data5 = data.request;
20472
21264
  if (data5 && typeof data5 == "object" && !Array.isArray(data5)) {
20473
21265
  for (const key0 in data5) {
20474
- if (!validate143(data5[key0], { instancePath: instancePath + "/request/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data5, parentDataProperty: key0, rootData, dynamicAnchors })) {
20475
- vErrors = vErrors === null ? validate143.errors : vErrors.concat(validate143.errors);
21266
+ if (!validate151(data5[key0], { instancePath: instancePath + "/request/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data5, parentDataProperty: key0, rootData, dynamicAnchors })) {
21267
+ vErrors = vErrors === null ? validate151.errors : vErrors.concat(validate151.errors);
20476
21268
  errors = vErrors.length;
20477
21269
  }
20478
21270
  }
@@ -20490,8 +21282,8 @@ function validate193(data, { instancePath = "", parentData, parentDataProperty,
20490
21282
  let data7 = data.response;
20491
21283
  if (data7 && typeof data7 == "object" && !Array.isArray(data7)) {
20492
21284
  for (const key1 in data7) {
20493
- if (!validate145(data7[key1], { instancePath: instancePath + "/response/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data7, parentDataProperty: key1, rootData, dynamicAnchors })) {
20494
- vErrors = vErrors === null ? validate145.errors : vErrors.concat(validate145.errors);
21285
+ if (!validate153(data7[key1], { instancePath: instancePath + "/response/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data7, parentDataProperty: key1, rootData, dynamicAnchors })) {
21286
+ vErrors = vErrors === null ? validate153.errors : vErrors.concat(validate153.errors);
20495
21287
  errors = vErrors.length;
20496
21288
  }
20497
21289
  }
@@ -20514,31 +21306,31 @@ function validate193(data, { instancePath = "", parentData, parentDataProperty,
20514
21306
  }
20515
21307
  errors++;
20516
21308
  }
20517
- validate193.errors = vErrors;
21309
+ validate201.errors = vErrors;
20518
21310
  return errors === 0;
20519
21311
  }
20520
- validate193.evaluated = { "props": { "name": true, "description": true, "type": true, "paramLocation": true, "continueOnEmptyItems": true, "request": true, "response": true }, "dynamicProps": false, "dynamicItems": false };
20521
- function validate192(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21312
+ validate201.evaluated = { "props": { "name": true, "description": true, "type": true, "paramLocation": true, "continueOnEmptyItems": true, "request": true, "response": true }, "dynamicProps": false, "dynamicItems": false };
21313
+ function validate200(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
20522
21314
  ;
20523
21315
  let vErrors = null;
20524
21316
  let errors = 0;
20525
- const evaluated0 = validate192.evaluated;
21317
+ const evaluated0 = validate200.evaluated;
20526
21318
  if (evaluated0.dynamicProps) {
20527
21319
  evaluated0.props = void 0;
20528
21320
  }
20529
21321
  if (evaluated0.dynamicItems) {
20530
21322
  evaluated0.items = void 0;
20531
21323
  }
20532
- if (!validate193(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
20533
- vErrors = vErrors === null ? validate193.errors : vErrors.concat(validate193.errors);
21324
+ if (!validate201(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
21325
+ vErrors = vErrors === null ? validate201.errors : vErrors.concat(validate201.errors);
20534
21326
  errors = vErrors.length;
20535
21327
  }
20536
- validate192.errors = vErrors;
21328
+ validate200.errors = vErrors;
20537
21329
  return errors === 0;
20538
21330
  }
20539
- validate192.evaluated = { "props": { "name": true, "description": true, "type": true, "paramLocation": true, "continueOnEmptyItems": true, "request": true, "response": true }, "dynamicProps": false, "dynamicItems": false };
21331
+ validate200.evaluated = { "props": { "name": true, "description": true, "type": true, "paramLocation": true, "continueOnEmptyItems": true, "request": true, "response": true }, "dynamicProps": false, "dynamicItems": false };
20540
21332
 
20541
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/extension-values.js
21333
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/extension-values.js
20542
21334
  var extensionReader = (validate) => (candidate) => {
20543
21335
  const copy = plainCopy(candidate, 0, { budget: MAX_EXTENSION_NODES });
20544
21336
  return copy !== void 0 && validate(copy) ? copy : void 0;
@@ -20577,13 +21369,13 @@ var plainCopy = (value, depth, state) => {
20577
21369
  return out;
20578
21370
  };
20579
21371
 
20580
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/client-settings.js
21372
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/client-settings.js
20581
21373
  var readClientSettings = extensionReader(validateClientSettings);
20582
21374
 
20583
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/pagination.js
21375
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/pagination.js
20584
21376
  var readValidScheme = extensionReader(validatePaginationConfig);
20585
21377
 
20586
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/operation-names.js
21378
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/operation-names.js
20587
21379
  var HTTP_VERB_TO_METHOD_WORD = {
20588
21380
  post: "create",
20589
21381
  put: "update",
@@ -20620,13 +21412,13 @@ var METHOD_VERB_WORDS = /* @__PURE__ */ new Set([
20620
21412
  "read"
20621
21413
  ]);
20622
21414
 
20623
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/settings.js
21415
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/settings.js
20624
21416
  var readGlobalSettings = extensionReader(validateGlobalSettings);
20625
21417
 
20626
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/publish-auth-methods.js
21418
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/publish-auth-methods.js
20627
21419
  var PUBLISH_AUTH_METHODS = new Set(scalar_sdk_config_schema_default.$defs.publishAuthMethod.enum);
20628
21420
 
20629
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/dart-package-identifier.js
21421
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/dart-package-identifier.js
20630
21422
  var dartPackageIdentifier = (name, fallback = "sdk") => {
20631
21423
  const clean = (input) => input.replace(/([a-z0-9])([A-Z])/gu, "$1_$2").toLowerCase().replace(/[^a-z0-9_]+/gu, "_").replace(/^_+|_+$/gu, "");
20632
21424
  const reducedFallback = clean(fallback);
@@ -20635,14 +21427,14 @@ var dartPackageIdentifier = (name, fallback = "sdk") => {
20635
21427
  return /^[a-z_]/u.test(pkg) ? pkg : `${safeFallback}_${pkg}`;
20636
21428
  };
20637
21429
 
20638
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/dotnet-package-identifier.js
21430
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/dotnet-package-identifier.js
20639
21431
  var dotnetPackageIdentifier = (name, fallback = "Sdk") => {
20640
21432
  const parts = name.replace(/([a-z0-9])([A-Z])/gu, "$1 $2").split(/[^a-zA-Z0-9]+/u).filter(Boolean);
20641
21433
  const pascal = parts.map((part) => `${part.charAt(0).toUpperCase()}${part.slice(1)}`).join("");
20642
21434
  return pascal.length === 0 || /^\d/u.test(pascal) ? fallback : pascal;
20643
21435
  };
20644
21436
 
20645
- // ../../node_modules/.pnpm/@scalar+sdk-config@0.54.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/swift-package-identifier.js
21437
+ // ../../node_modules/.pnpm/@scalar+sdk-config@0.56.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/swift-package-identifier.js
20646
21438
  var swiftPackageIdentifier = (name, fallback = "Sdk") => {
20647
21439
  const pascal = pascalCase(name);
20648
21440
  return /^[A-Za-z]/u.test(pascal) ? pascal : pascalCase(fallback);