# Swagger java client

**URL:** <https://ask.openrouteservice.org/t/swagger-java-client/965>\
**Category:** SDKs\
**Created:** [September 26, 2019, 1:43pm UTC](https://ask.openrouteservice.org/t/swagger-java-client/965 "2019-09-26T13:43:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![filipemb](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/filipemb/32/245_2.png) [@filipemb](https://ask.openrouteservice.org/u/filipemb)\
**Post date:** [September 26, 2019, 1:43pm UTC](https://ask.openrouteservice.org/t/swagger-java-client/965/1 "2019-09-26T13:43:12Z")

</div>

Any correct way to generate a java client from Api Playground?  
github doc projects are deprecated (url 404 for geocode, and response mapping fails)  
I’ve lost 2 days doing this [https://app.swaggerhub.com/apis-docs/filipemb/openrouteservice/5.0.0](https://app.swaggerhub.com/apis-docs/filipemb/openrouteservice/5.0.0)  
Now I can do something, but there should be (for sure) anything easy to use that I could not find.

---

<div class="post-metadata">

**Author:** ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)\
**Post date:** [September 26, 2019, 10:16pm UTC](https://ask.openrouteservice.org/t/swagger-java-client/965/2 "2019-09-26T22:16:52Z")

</div>

> Any correct way to generate a java client from Api Playground?

What do you mean, “generate a client”? Did you try the Java code example on

Any correct way to generate a java client from Api Playground (all the way at the bottom)?
