ory / hydra-client-java

Apache License 2.0
26 stars 7 forks source link

[Question] OAuth2Client getMetadata return Object #1

Closed stefanorg closed 4 years ago

stefanorg commented 4 years ago

Hi, from version 1.3.x client.getMetadata() return Object.

Why this isn't anymore a Map<String, Object> ?

Thanks

aeneasr commented 4 years ago

We autogenerate the code using openapi-generator so I don't really have an answer for you.

stefanorg commented 4 years ago

ok, hi think the openapi-generator 4.2.3 changed the return type. Anyway is it's runtime type is a LinkedTreeMap so i can cast it to Map<String, Object>

thank you

stefanorg commented 4 years ago

i think this can be closed.