diff --git a/docs-js/features/odata/generate-odata-client.mdx b/docs-js/features/odata/generate-odata-client.mdx index 72ce1202a80..28e7dffa6c5 100644 --- a/docs-js/features/odata/generate-odata-client.mdx +++ b/docs-js/features/odata/generate-odata-client.mdx @@ -114,7 +114,7 @@ Run `generate-odata-client --help` for additional options. | `--verbose` | `false` | By default, only errors, warnings and important info logs will be displayed. If set to true, all logs will be displayed. | | `--skipValidation` | `false` | Generation will stop if objects need renaming due to non-unique conditions or conflicts with certain SDK reserved keywords (e.g. `Entity`, `Service`, etc.). If you enable this option, conflicts are resolved by appending postfixes like '\_1'" | | `-c`, `--config` | - | Set the path to the file containing the options for generation. If other flags are used, they overwrite the options set in the configuration file. If a directory is passed, a `config.json` file is read from this directory. | -| `--generateESM` | `false` | Generate ESM compatible code. | +| `--generateEsm` | `false` | Generate ESM compatible code. | ## Generate a Client Programmatically diff --git a/docs-js/features/openapi/generate-openapi-client.mdx b/docs-js/features/openapi/generate-openapi-client.mdx index dd5c379a936..cc92b2816a4 100644 --- a/docs-js/features/openapi/generate-openapi-client.mdx +++ b/docs-js/features/openapi/generate-openapi-client.mdx @@ -107,7 +107,7 @@ Run `openapi-generator --help` for additional options. | `--verbose` | `false` | Turn on verbose logging. | | `--skipValidation` | `false` | By default, the generation fails, when there are duplicate or invalid names for operations and/or path parameters after transforming them to camel case. Set this to true to enable unique and valid name generation. The names will then be generated by appending numbers and prepending prefixes. | | `-c`, `--config` | - | Set the path to the file containing the options for generation. If other flags are used, they overwrite the options set in the configuration file. If a directory is passed, a `config.json` file is read from this directory. | -| `--generateESM` | `false` | Generate ESM compatible code. | +| `--generateEsm` | `false` | Generate ESM compatible code. | ## Generate a Client Programmatically diff --git a/docs-js/release-notes.mdx b/docs-js/release-notes.mdx index f01ed448af5..02d4c4505ff 100644 --- a/docs-js/release-notes.mdx +++ b/docs-js/release-notes.mdx @@ -164,11 +164,11 @@ import LicenseBadge from '@site/src/sap/sdk-js/LicenseBadge'; ### New Features -- [generator, generator-common] Introduce option `generateESM` in OData generator to generate ESM compatible code. (c73c7fa) +- [generator, generator-common] Introduce option `generateEsm` in OData generator to generate ESM compatible code. (c73c7fa) ### Fixed Issues -- [openapi] Fix missing `type: module` in generated `package.json` when `--generateESM` option is enabled. (e09754a) +- [openapi] Fix missing `type: module` in generated `package.json` when `--generateEsm` option is enabled. (e09754a) - [openapi-generator] Improve the handling of arrays of enums (f17ca59) ## 4.1.2 [Core Modules] - September 18, 2025 diff --git a/static/api/v4/interfaces/sap-cloud-sdk_generator-common.CommonGeneratorOptions.html b/static/api/v4/interfaces/sap-cloud-sdk_generator-common.CommonGeneratorOptions.html index 15d03e384dc..ac59c5bee28 100644 --- a/static/api/v4/interfaces/sap-cloud-sdk_generator-common.CommonGeneratorOptions.html +++ b/static/api/v4/interfaces/sap-cloud-sdk_generator-common.CommonGeneratorOptions.html @@ -14,7 +14,7 @@
Optional
- Defined in packages/generator-common/dist/options.d.ts:117
OptionalgenerateGenerate ECMAScript modules instead of CommonJS modules.
OptionalgenerateGenerate ECMAScript modules instead of CommonJS modules.
Options to configure OpenAPI client generation when using the generator programmatically.
Generator options shared by the OData and OpenApi generator.