Commit 5d1726f
authored
Fix missing comma in OpenAPI generator configuration example
This PR fixes a syntax error in the OpenAPI generator configuration documentation where a comma is missing between globalHost and handleApi properties.
Changes made:
Added missing comma after globalHost: 'globalThis' configuration option
This fixes the JSON syntax error that would cause configuration parsing to fail
Before fix:
<JAVASCRIPT>
globalHost: 'globalThis' // <- Missing comma here
/**
* (Optional) Filter or transform generated API interface functions...
*/
handleApi: apiDescriptor => {
After fix:
<JAVASCRIPT>
globalHost: 'globalThis', // <- Comma added
/**
* (Optional) Filter or transform generated API interface functions...
*/
handleApi: apiDescriptor => {
This is a documentation fix that improves the user experience for developers following the OpenAPI generator configuration examples. Without this fix, users copying the example configuration would encounter syntax errors.1 parent ffe5b12 commit 5d1726f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments