Last active
June 15, 2016 13:05
-
-
Save rocketraman/1a86bedb4356011444cdd5f512be1f55 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#%RAML 1.0 | |
title: Test | |
version: v1 | |
baseUri: http://localhost:8080 | |
types: | |
GeoPoint: | |
properties: | |
coordinates: | |
type: number[] | |
example: | |
coordinates: [100.0, 0.0] | |
resourceTypes: | |
base: | |
get?: &common | |
headers: &commonheaders | |
Accept: | |
description: Is used to set specified media type. | |
type: string | |
post?: | |
headers: *commonheaders | |
put?: | |
headers: *commonheaders | |
delete?: | |
headers: *commonheaders | |
item: | |
type: base | |
get?: | |
put?: | |
responses: | |
204: | |
description: Item updated. | |
headers: | |
Location: | |
description: The URI of the updated item. | |
delete?: | |
responses: | |
204: | |
description: Item removed. | |
collection: | |
type: base | |
get?: | |
post?: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment