javajhipstercode-generationjdl

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

Solution

  • 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-file.jdl --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/