@redocly/cli 0.0.0-snapshot.1785166289 → 0.0.0-snapshot.1785229997

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 (41) hide show
  1. package/README.md +1 -16
  2. package/THIRD_PARTY_NOTICES +1 -2
  3. package/lib/chunks/{ITW2OTGX.js → 3UGBCSN6.js} +3 -8
  4. package/lib/chunks/{JPNXFCZJ.js → 4FB5ZIPP.js} +2 -6
  5. package/lib/chunks/{YDPUXTSG.js → 5ILQMFXK.js} +0 -4
  6. package/lib/chunks/{SLXNRGMV.js → 64PJUTGH.js} +1 -5
  7. package/lib/chunks/{33L3PA3A.js → A6JSOHCP.js} +3 -7
  8. package/lib/chunks/{YQYX5V3C.js → ADJRH7PP.js} +195 -99
  9. package/lib/chunks/{AVTQDJLQ.js → AIT3U3JT.js} +1 -5
  10. package/lib/chunks/{SXH6TVEW.js → CUWLBJXP.js} +1 -5
  11. package/lib/chunks/{UWMMSPGI.js → DCWPEC35.js} +10 -14
  12. package/lib/chunks/{OY3F7DFL.js → FO6BDVGE.js} +2 -6
  13. package/lib/chunks/{QVWJKMKN.js → ICPYP2LP.js} +1 -5
  14. package/lib/chunks/O5U7AESV.js +16 -0
  15. package/lib/chunks/{NBU7ORJ2.js → OEBTCJXO.js} +2 -6
  16. package/lib/chunks/{STNSM3H5.js → OX5JLHET.js} +7 -11
  17. package/lib/chunks/{65OT3F2H.js → PALJTNKL.js} +7 -11
  18. package/lib/chunks/{IPPBF7FB.js → PAZIZVGW.js} +1 -5
  19. package/lib/chunks/{BRYPX6BE.js → RMTDGHBP.js} +3 -7
  20. package/lib/chunks/{B6OFW6F4.js → T2IFVCFM.js} +6 -10
  21. package/lib/chunks/{7J52NJGJ.js → TS33ZDKX.js} +2 -6
  22. package/lib/chunks/{2ZRSF4CL.js → UIDQCTVI.js} +6 -10
  23. package/lib/chunks/{K4XEZZHL.js → UQJWXLNC.js} +2 -6
  24. package/lib/chunks/{XDVFCBV7.js → UUU33DK3.js} +1 -5
  25. package/lib/chunks/{OD6H2RSI.js → VUDTNFRL.js} +3 -7
  26. package/lib/chunks/{HXIHIVQ5.js → VXIQEZPR.js} +465 -1111
  27. package/lib/chunks/{X5N4DTSB.js → W7G5WVPB.js} +3 -7
  28. package/lib/chunks/{2AT6NBAQ.js → WTUD47FM.js} +10 -14
  29. package/lib/chunks/{QRC5ADSZ.js → XB6C62FW.js} +1 -5
  30. package/lib/chunks/{LJH34AHG.js → XHPY6UJF.js} +1 -5
  31. package/lib/chunks/{7COZBK76.js → Y6DTFCLS.js} +0 -4
  32. package/lib/chunks/{HRYOF224.js → Z2I5YXYN.js} +1 -5
  33. package/lib/chunks/{Y4QR374U.js → Z3EJWJEX.js} +8 -77
  34. package/lib/chunks/{CQ3UGVSK.js → ZCF2YWSB.js} +7 -11
  35. package/lib/chunks/{TWBSRL2M.js → ZK3QRKL5.js} +2 -6
  36. package/lib/index.js +51 -276
  37. package/package.json +1 -1
  38. package/lib/chunks/2GX65BUO.js +0 -814
  39. package/lib/chunks/EICAVYQA.js +0 -20
  40. package/lib/chunks/R5XDCRI3.js +0 -18
  41. package/lib/chunks/UJWMFVKG.js +0 -215734
package/README.md CHANGED
@@ -106,7 +106,7 @@ The `stylish` output is as good as it sounds, but if you need JSON, Markdown, Ch
106
106
 
107
107
  [Learn more about API standards and configuring Redocly rules](https://redocly.com/docs/cli/api-standards).
108
108
 
109
- Looking for more examples? Check out our [Cookbook](https://github.com/Redocly/redocly-cli-cookbook).
109
+ Looking for more examples? Check out our [Cookbook](./cookbook/README.md).
110
110
 
111
111
  ### API contract testing with Respect
112
112
 
@@ -139,21 +139,6 @@ Respect is Redocly's community-edition product. Looking for something more? We a
139
139
 
140
140
  Learn more about [Respect](https://redocly.com/respect) and [get started with API contract testing](https://redocly.com/docs/respect/get-started).
141
141
 
142
- ### Generate a TypeScript client
143
-
144
- > ⚠️ **Experimental** — flags, output, and configuration may change in any minor release until declared stable.
145
-
146
- Turn an OpenAPI description (3.0/3.1/3.2 or Swagger 2.0) into a typed TypeScript client with the `generate-client` command.
147
- The emitted client has zero runtime dependencies and runs in browsers, Node, Bun, Deno, and edge runtimes.
148
-
149
- ```sh
150
- redocly generate-client openapi.yaml --output src/client.ts
151
- ```
152
-
153
- Inline types plus a typed client instance and one async function per operation, with auth, opt-in abort-aware retries, middleware, and typed Server-Sent Events.
154
- The same command can also emit Zod schemas, TanStack Query / SWR hooks, MSW mocks, and more via `--generators`.
155
- For detailed information, read the [ `generate-client` docs](./docs/@v2/commands/generate-client.md).
156
-
157
142
  ### Transform an OpenAPI description
158
143
 
159
144
  If your OpenAPI description isn't everything you hoped it would be, enhance it with the Redocly [decorators](https://redocly.com/docs/cli/decorators) feature.
@@ -229,7 +229,6 @@ Packages:
229
229
  @opentelemetry/semantic-conventions@1.41.1 — copyright owner or entity authorized by
230
230
  better-ajv-errors@2.0.3 — Copyright 2018 Atlassian Pty Ltd
231
231
  jsonpath-rfc9535@1.3.0 — copyright owner or entity authorized by
232
- typescript@6.0.2 — copyright owner or entity authorized by the copyright owner that is granting the License.
233
232
  yaml-ast-parser@0.0.43
234
233
 
235
234
  License text:
@@ -691,7 +690,7 @@ Packages:
691
690
  mobx@6.12.3 — Copyright (c) 2015 Michel Weststrate
692
691
  ms@2.1.3
693
692
  object-assign@4.1.1
694
- openapi-sampler@1.7.4 — Copyright (c) 2017 Roman Hotsiy <gotsijroman@gmail.com>
693
+ openapi-sampler@1.7.1 — Copyright (c) 2017 Roman Hotsiy <gotsijroman@gmail.com>
695
694
  outdent@0.8.0 — Copyright (c) 2016 Andrew Bradley
696
695
  perfect-scrollbar@1.5.6 — Copyright (c) 2012-2019 Hyunje Jun, MDBootstrap.com and other contributors
697
696
  picomatch@4.0.4 — Copyright (c) 2017-present, Jon Schlinkert.
@@ -1,14 +1,10 @@
1
1
  import { createRequire as __createRequire } from 'node:module';
2
- import { fileURLToPath as __fileURLToPath } from 'node:url';
3
- import { dirname as __pathDirname } from 'node:path';
4
2
  const require = __createRequire(import.meta.url);
5
- var __filename = __fileURLToPath(import.meta.url);
6
- var __dirname = __pathDirname(__filename);
7
3
 
8
4
  // package.json
9
5
  var package_default = {
10
6
  name: "@redocly/cli",
11
- version: "0.0.0-snapshot.1785166289",
7
+ version: "0.0.0-snapshot.1785229997",
12
8
  description: "",
13
9
  license: "MIT",
14
10
  bin: {
@@ -53,9 +49,8 @@ var package_default = {
53
49
  "@opentelemetry/sdk-trace-node": "2.8.0",
54
50
  "@opentelemetry/semantic-conventions": "1.41.1",
55
51
  "@redocly/cli-otel": "0.3.4",
56
- "@redocly/client-generator": "0.1.0",
57
- "@redocly/openapi-core": "2.41.0",
58
- "@redocly/respect-core": "2.41.0",
52
+ "@redocly/openapi-core": "0.0.0-snapshot.1785229997",
53
+ "@redocly/respect-core": "0.0.0-snapshot.1785229997",
59
54
  "@types/cookie": "0.6.0",
60
55
  "@types/har-format": "^1.2.16",
61
56
  "@types/react": "^17.0.0 || ^18.2.21 || ^19.2.16",
@@ -1,16 +1,12 @@
1
1
  import { createRequire as __createRequire } from 'node:module';
2
- import { fileURLToPath as __fileURLToPath } from 'node:url';
3
- import { dirname as __pathDirname } from 'node:path';
4
2
  const require = __createRequire(import.meta.url);
5
- var __filename = __fileURLToPath(import.meta.url);
6
- var __dirname = __pathDirname(__filename);
7
3
  import {
8
4
  require_supports_color
9
- } from "./XDVFCBV7.js";
5
+ } from "./UUU33DK3.js";
10
6
  import {
11
7
  __commonJS,
12
8
  __require
13
- } from "./YDPUXTSG.js";
9
+ } from "./5ILQMFXK.js";
14
10
 
15
11
  // ../../node_modules/ms/index.js
16
12
  var require_ms = __commonJS({
@@ -1,9 +1,5 @@
1
1
  import { createRequire as __createRequire } from 'node:module';
2
- import { fileURLToPath as __fileURLToPath } from 'node:url';
3
- import { dirname as __pathDirname } from 'node:path';
4
2
  const require = __createRequire(import.meta.url);
5
- var __filename = __fileURLToPath(import.meta.url);
6
- var __dirname = __pathDirname(__filename);
7
3
  var __create = Object.create;
8
4
  var __defProp = Object.defineProperty;
9
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,12 +1,8 @@
1
1
  import { createRequire as __createRequire } from 'node:module';
2
- import { fileURLToPath as __fileURLToPath } from 'node:url';
3
- import { dirname as __pathDirname } from 'node:path';
4
2
  const require = __createRequire(import.meta.url);
5
- var __filename = __fileURLToPath(import.meta.url);
6
- var __dirname = __pathDirname(__filename);
7
3
  import {
8
4
  logger
9
- } from "./Y4QR374U.js";
5
+ } from "./Z3EJWJEX.js";
10
6
 
11
7
  // src/commands/split/oas/constants.ts
12
8
  var OPENAPI3_METHOD_NAMES = [
@@ -1,20 +1,16 @@
1
1
  import { createRequire as __createRequire } from 'node:module';
2
- import { fileURLToPath as __fileURLToPath } from 'node:url';
3
- import { dirname as __pathDirname } from 'node:path';
4
2
  const require = __createRequire(import.meta.url);
5
- var __filename = __fileURLToPath(import.meta.url);
6
- var __dirname = __pathDirname(__filename);
7
3
  import {
8
4
  require_execAsync
9
- } from "./AVTQDJLQ.js";
5
+ } from "./AIT3U3JT.js";
10
6
  import {
11
7
  esm_exports,
12
8
  init_esm
13
- } from "./LJH34AHG.js";
9
+ } from "./XHPY6UJF.js";
14
10
  import {
15
11
  __commonJS,
16
12
  __toCommonJS
17
- } from "./YDPUXTSG.js";
13
+ } from "./5ILQMFXK.js";
18
14
 
19
15
  // ../../node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js
20
16
  var require_getMachineId_darwin = __commonJS({