Skip to content

Commit

Permalink
added JSON content type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
sarnowski committed Apr 9, 2015
1 parent 7a4c7ef commit f5f44da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/twintip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This endpoint has to return the following JSON discovery document:
"ui_url": "/ui/"
}
* The **schema_url** can be an absolute path or full URL to the schema's definition file.
* The **schema_url** can be an absolute path or full URL to the schema's definition file. The schema has to be given in JSON.
* The **schema_type** is the type of definition to expect from the schema_url. Only well supported currently is 'swagger-2.0'.
* The **ui_url** is optional and can point to a human-friendly UI with which you can discover the API in more detail, like a Swagger UI.

Expand Down

0 comments on commit f5f44da

Please sign in to comment.