We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69f0628 commit 8f3beabCopy full SHA for 8f3beab
docs/node.md
@@ -61,7 +61,7 @@ import { createConfig, loadConfig } from "@redocly/openapi-core";
61
import openapiTS from "openapi-typescript";
62
63
// option 1: create in-memory config
64
-const redoc = await createConfig(
+const redocly = await createConfig(
65
{
66
apis: {
67
"core@v2": { … },
@@ -72,9 +72,9 @@ const redoc = await createConfig(
72
);
73
74
// option 2: load from redocly.yaml file
75
-const redoc = await loadConfig({ configPath: "redocly.yaml" });
+const redocly = await loadConfig({ configPath: "redocly.yaml" });
76
77
-const ast = await openapiTS(mySchema, { redoc });
+const ast = await openapiTS(mySchema, { redocly });
78
```
79
80
:::
0 commit comments