Skip to content

Conversation

@TAYUN
Copy link
Contributor

@TAYUN TAYUN commented Nov 14, 2025

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:
globalHost: 'globalThis' // <- Missing comma here

After fix:
globalHost: 'globalThis', // <- Comma added

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.

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.
@TAYUN TAYUN changed the title Fix missing comma in OpenAPI generator configuration example doc[09-openapi-integration.md]: Fix missing comma in OpenAPI generator configuration example Nov 19, 2025
@TAYUN TAYUN changed the title doc[09-openapi-integration.md]: Fix missing comma in OpenAPI generator configuration example docs[09-openapi-integration.md]: Fix missing comma in OpenAPI generator configuration example Nov 19, 2025
@JOU-amjs JOU-amjs merged commit 052c741 into alovajs:main Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants