15 Feb 2022 02:47 PM - last edited on 13 Dec 2022 12: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?
Solved! Go to Solution.
27 Dec 2022 10:41 AM
Hello Jared,
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.
Best regards,
Florian