This repository has been archived by the owner on Nov 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Wojciech Możejko
committed
Sep 12, 2016
1 parent
fb521c8
commit 9e1c6ac
Showing
4 changed files
with
26 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#%RAML 1.0 | ||
title: Hello world # required title | ||
|
||
/helloworld: # optional resource | ||
get: # HTTP method declaration | ||
responses: # declare a response | ||
200: # HTTP status code | ||
body: # declare content of response | ||
application/json: # media type | ||
type: | # structural definition of a response (schema or type) | ||
{ | ||
"title": "Hello world Response", | ||
"type": "object", | ||
"properties": { | ||
"message": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
example: | # example how a response looks like | ||
{ | ||
"message": "Hello world" | ||
} |
This file was deleted.
Oops, something went wrong.