Last active
September 22, 2015 03:54
-
-
Save yhaskell/373ca0b269a0b7ee734e to your computer and use it in GitHub Desktop.
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
#%RAML 1.0 | |
title: WebOfMe | |
version: v1-change#3 | |
mediaType: application/json | |
resourceTypes: | |
collection: | |
get: | |
queryParameters: | |
page: | |
description: Starting page | |
type: number | |
responses: | |
200: | |
body: | |
properties: | |
totalNumber: | |
description: Number of items in this collection | |
type: number | |
items: <<item>>[] | |
types: | |
User: | |
properties: | |
firstName: | |
lastName: | |
us_phone: | |
pattern: ^\(\d{3}\)\-\d{3}\-\d{4}$ | |
/users: | |
type: | |
collection: | |
item: User | |
/person: | |
get | |
displayName: T | |
description: Test change #2est change #1 | |
displayName: Test change #1 | |
Test change #2est change #1 | |
displayName: Test change #1 |
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
#%RAML 1.0 | |
title: WebOfMe | |
version: v1 | |
mediaType: application/json | |
resourceTypes: | |
collection: | |
get: | |
queryParameters: | |
page: | |
description: Starting page | |
type: number | |
responses: | |
200: | |
body: | |
properties: | |
totalNumber: | |
description: Number of items in this collection | |
type: number | |
items: <<item>>[] | |
types: | |
User: | |
properties: | |
firstName: | |
lastName: | |
us_phone: | |
pattern: ^\(\d{3}\)\-\d{3}\-\d{4}$ | |
/users: | |
type: | |
collection: | |
item: User | |
/person: | |
get |
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
var rootNode = getApi('test.raml'); | |
rootNode.attr('displayName').setValue('Test change #1'); | |
rootNode.attr('description').setValue('Test change #2'); | |
rootNode.attr('version').setValue('v1-change#3'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment