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.
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.