Search code examples
javaxmljsonrestwsdl

How to read specifications from a REST Web Service


I need to create a project with consist to read specifications(a contract, document, info) of a rest web service, what are their methods, return types, param methods and etc... but i see that not all services that implement a specification like WSDL SOAP.

How to do that?


Solution

  • The format json-home has been designed as a format to assist in the runtime discovery of resources available in an API. There are other formats such as Swagger, WADL, RAML, Api Blueprint, that can be used to describe an API. However, in order to ensure the client and server remained loosely coupled these specifications should be consumed only at runtime, not at design time by a client.