cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Generate functioning Java code from the Swagger spec to call the Dynatrace API

jaredst
Visitor

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?

1 REPLY 1

florian_APIgner
Dynatrace Guide
Dynatrace Guide

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

Featured Posts