Is it possible to generate the swagger api.yaml from JDL?
I've created and app with swagger addon and then imported entities from jdl but the swagger api.yaml is empty
That specific api.yml is intended for JHipster's API First Development feature.
JHipster comes configured with Springfox, which automatically generates the Swagger docs based on the project's code. You can access the app's Swagger config after starting the app at http://localhost:8080/v2/api-docs. It is in JSON format by default, if you need YAML you can upload it to the Swagger Editor
You can also view the docs in a built-in SwaggerUI at http://127.0.0.1:8080/#/docs, normally located under the Administration navbar menu.