15 Feb 202202:47 PM - last edited on 13 Dec 202212:05 PM by Ana_Kuzmenchuk
How do you generate functioning Java code from the Swagger spec to call the Dynatrace API? I've downloaded the spec and generated code for the entire API using swagger-codegen-cli version 3.3.2. It generates code but the generated code can not be compiled. Does anyone have a working toolchain they can point me to that will enable me to generate a functioning API client for the Dynatrace API?
swagger-codegen is known to be incompatible with certain API features, so that's maybe the reason for the faulty code. Regarding general SDK support for our APIs, we are aware of this topic and are working to provide a solution in the upcoming year.