When attempting to generate an OpenAPI client in a Jmix add-on project using Jmix Studio, the wizard completes the process, but the “OpenAPI” section/node does not appear in the Jmix tool window.
Steps to reproduce:
- In the Jmix tool window, select: New → Advanced → OpenAPI Client.
- Select the OpenAPI schema file (
.yml/.json). - Enter the Client name.
- Finish the wizard.
Actual Result:
- The
openApiGenerate<ClientName>task and the correspondingsourceSetsare correctly added to thebuild.gradlefile. - When executing the task, the classes are successfully generated under
build/generated/openapi/.... - However, the OpenAPI node does not appear in the Jmix tool window with the generated client, contrary to what is stated in the documentation (“The Jmix tool window will show the generated client API and model classes in the OpenAPI node”).
- This issue only occurs in this project, which is a Jmix add-on. In standard application projects, the OpenAPI node appears as expected.
Expected Behavior:
- The wizard should suggest packages (or at least allow them to be configured without issues) in add-on projects as well.
- After generating the client, the Jmix tool window should display the OpenAPI node containing the generated APIs and models, identical to standard application projects.
Environment:
- Jmix version: 2.7.3
- IntelliJ IDEA version: 2025.2.4 (Community Edition)
- Project type: Jmix add-on
I have attached a sample project (or code snippet) to help reproduce the issue.
example.zip (226.5 KB)
Thank you in advance for your help!