Commit 97970e6
committed
docs: Fix option name openapiFile → openapiFiles
Changed all occurrences of the incorrect option name:
- openapiFile (❌ singular) → openapiFiles (✅ plural)
- Updated type to string | string[] to support multiple OpenAPI schemas
- Fixed Quick Start examples (Vite, Webpack, Rsbuild)
- Fixed Configuration Options section with correct type signature
The actual option name in the codebase is openapiFiles (plural), as defined in:
- packages/core/src/options.ts
- packages/utils/src/read-openapi.ts (normalizeOpenapiFiles function)1 parent 1a24d0b commit 97970e6
1 file changed
+11
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
1470 | 1470 | | |
1471 | 1471 | | |
1472 | 1472 | | |
1473 | | - | |
| 1473 | + | |
| 1474 | + | |
1474 | 1475 | | |
1475 | 1476 | | |
1476 | | - | |
| 1477 | + | |
1477 | 1478 | | |
1478 | 1479 | | |
1479 | 1480 | | |
| |||
1488 | 1489 | | |
1489 | 1490 | | |
1490 | 1491 | | |
1491 | | - | |
| 1492 | + | |
1492 | 1493 | | |
1493 | 1494 | | |
1494 | 1495 | | |
1495 | 1496 | | |
1496 | 1497 | | |
1497 | | - | |
| 1498 | + | |
1498 | 1499 | | |
1499 | 1500 | | |
1500 | 1501 | | |
| |||
0 commit comments