Skip to content

Rest.li .restspec.json Format

Joe Betz edited this page Apr 22, 2014 · 3 revisions

Rest.li uses a RESTSpec JSON schema as it’s interface definition language (IDL).

Each RESTSpec file contains the full definition of a root level resource and all it’s sub-resources.

RESTSpec files use the .restspec.json file extension. The contents of each file is JSON describing the resource according to the ResourceSchema data schema.

For example:

The RESTSpec for the GreetingsResource implementation is com.linkedin.restli.examples.greetings.client.greetings.restspec.json

Clone this wiki locally