Cartesius00
Cartesius00

Reputation: 24414

Describe REST service

What is the most standardized form how to describe a very simple REST service producing JSON responses? Something what WSDL is for XML (but here WSDL would be an obvious overkill and not recommended).

Upvotes: 2

Views: 706

Answers (4)

Raj Rao
Raj Rao

Reputation: 9148

I came across this blog post which basically proposes using JSON for describing RESTful services. Thought its a brilliant idea and sharing it here: http://ttezel.github.com/blog/2013/02/23/stop-writing-rest-api-clients/

Upvotes: 0

Nick Ryan
Nick Ryan

Reputation: 2670

The nearest equivalent I'm aware of is WADL

Upvotes: 0

Darrel Miller
Darrel Miller

Reputation: 142252

Responses from a REST service should be self-describing so having a separate description document would be redundant.

Upvotes: 3

Rob Agar
Rob Agar

Reputation: 12469

I don't think there is one. REST's lack of a WSDL-style service description is either a feature (greater simplicity, according to REST enthusiasts) or a major shortcoming (according to SOAP fans).

Upvotes: 1

Related Questions