jHipster: how to generate only entities during jdl import



jHipster: how to generate only entities during jdl import

or entities plus dto and mappers?

jhipster import-jdl jhipster-jdl.jh

Answer

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/



Source: stackoverflow