# Swagger, WADL or similar for the REST API?

**URL:** <https://meta.discourse.org/t/swagger-wadl-or-similar-for-the-rest-api/41623>\
**Category:** Development\
**Created:** [Março 27, 2016, 5:15pm UTC](https://meta.discourse.org/t/swagger-wadl-or-similar-for-the-rest-api/41623 "2016-03-27T17:15:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![erkist](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erkist/32/53325_2.png) [@erkist](https://meta.discourse.org/u/erkist)\
**Post date:** [Março 27, 2016, 5:15pm UTC](https://meta.discourse.org/t/swagger-wadl-or-similar-for-the-rest-api/41623/1 "2016-03-27T17:15:54Z")

</div>

We are migrating from an old forum solution (based on Teamforge) over to Discourse, and we have a few scripts and tools that we’d like to re-write to use the Discourse REST API. Being notoriously lazy, I’m wondering if there is a Swagger, WADL or simiar machine-readable description of the API that I can use to generate clients?

I know @fantasticfears has an embryo of a Swagger definition on Github, which he posted about here: [https://meta.discourse.org/t/a-community-effort-to-improve-discourses-documentation/29129/18](https://meta.discourse.org/t/a-community-effort-to-improve-discourses-documentation/29129/18) but as far as I can see it only describes which calls are available, not what they return. I’d like to generate a complete strongly typed library.

If no such description exists, I think it would save me time to write a Swagger specification for at least the parts of the API I need to work with. I’ll make sure to post about it here if I do.

---

_[View the full topic](https://meta.discourse.org/t/swagger-wadl-or-similar-for-the-rest-api/41623)._
