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

Dynatrace Rest API SDK with JSON Pojos. Does it exist somewhere ?

Arnaud_GERMAIN
Organizer

We plan to use the Dynatrace REST API for lots of things but we did not find anywhere any java SDK containing all the POJO representation of JSON stuctures we might need.

We did not find either any JSON schema we could rely on to automaticaly generate theses POJOs.

Defining theses POJO by hand is really painfull...


Does this SDK exist somewhere ?



2 REPLIES 2

pahofmann
DynaMight Guru
DynaMight Guru

Dynatrace uses the OpenAPI Specification for it's API. You can download the spec files from the API browser that is integrated in dynatrace:


There are many tools to generate language bindings from that, e.g. swagger codegen.

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

Arnaud_GERMAIN
Organizer

Hi,

Thanks a lot for your pointer to OpenAPI (the missing piece of my puzzle). It perfectly answered my question.

I should get what I need from swagger codegen and le spec3.json file.

Regards.