Mendix SDK to generate Java Action - Mendix Forum

Mendix SDK to generate Java Action


Greetings Experts,

I am using Mendix 7.23.5 Modeler and Typescript SDK. I am currently parsing a swagger definition file and creating Domain Model Entities for each of the request/response structures in-an-out of my microservice API’s.

I was looking for a way to also generate the Java Action using SDK such that I can specify the appropriate request and response entities for each of these java actions. I am not able to find any api/reference code that shows how to create a java action in the Mendix Model using the SDK.



1 answers

Although I don't have reference code, you can use the metamodel (section 2.14) and the Java action documentation as a reference to create the required TypeScript code.