jHipster: how to generate only entities during jdl import
or entities plus dto and mappers?
jhipster import-jdl jhipster-jdl.jh
jHipster: how to generate only entities during jdl import
or entities plus dto and mappers?
jhipster import-jdl jhipster-jdl.jh
To generate just entities (and skip application JDL generation), you can pass --ignore-application
. The full command will look like: jhipster import-jdl jhipster-jdl.jh --ignore-application
If you want DTOs and Mappers, add dto * with mapstruct
to the bottom of your JDL.
More info in the docs: https://jhipster.tech/jdl/
You can use jhipster entity <entityName> --[options]
where options are:
--skip-server
- This will skip the server-side code and will generate only the client-side code.--skip-client
- This will skip the client-side code and will generate only the server-side code.