Describe the solution you'd like
In my case, I want to extract the core once and use it for the newly generated artifacts with --exportCore false are based on different open API specifications
It requires the new cli option e.g. --corePath <value> it may be relative path or npm package
variants:
external npm package --corePath @my-company/httpClient is based on core from this lib
path to dir with ts aliases --corePath shared/httpClient
relative path --corePath ../../shared/httpClient
How I want to use that:
extract only core in some app directory e.g. app/shared/httpClient or generate and publish a package with core only functionality
generate new artifacts for userManagement into app/api/userManagement with --corePath ../../shared/httpClient
Describe the solution you'd like In my case, I want to extract the core once and use it for the newly generated artifacts with
--exportCore false
are based on different open API specificationsIt requires the new cli option e.g.
--corePath <value> it may be relative path or npm package
variants:--corePath @my-company/httpClient
is based on core from this lib--corePath shared/httpClient
--corePath ../../shared/httpClient
How I want to use that:
app/shared/httpClient
or generate and publish a package with core only functionality--corePath ../../shared/httpClient