cloud-sdk-js icon indicating copy to clipboard operation
cloud-sdk-js copied to clipboard

Support generating ESM Odata clients

Open lovis-ff opened this issue 1 year ago • 2 comments

Describe the Problem

We have a similar requirement as described in https://github.com/SAP/cloud-sdk-js/issues/4476 but are using the odata clients. The support was added in the openapi generator via https://github.com/SAP/cloud-sdk-js/pull/4883.

https://github.com/SAP/cloud-sdk-js/issues/4476#issuecomment-2363534643 states to also add the support to the odata clients soon, but it seems as if this has not been realised so far.

We would highly appreciate the support for the odata clients too.

Propose a Solution

Support for esm as done for the openapi generator.

Describe Alternatives

No response

Affected Development Phase

Development

Impact

Blocked

Timeline

No response

Additional Context

No response

lovis-ff avatar Feb 10 '25 11:02 lovis-ff

For the time being, I can use e.g. fix-esm-import-path to post-process the files after generation.

lovis-ff avatar Feb 10 '25 17:02 lovis-ff

Thank you very much @lovis-ff for your request. We've created a backlog item for it. Unfortunately, it won't happen in the near future, I'm afraid.

jjtang1985 avatar Feb 12 '25 07:02 jjtang1985

We have released the feature in version 4.2.0. Please try it out.

BrigittaK307 avatar Nov 27 '25 12:11 BrigittaK307