create-raml
Advanced tools
Comparing version 3.0.1 to 3.1.1
# create-raml changelog | ||
## [3.1.1](http://github.com/ivanoff/create-raml/tree/3.1.1) (2017-03-07) | ||
[Full Changelog](http://github.com/ivanoff/create-raml/compare/3.0.1...3.1.1) | ||
**What Was Done:** | ||
- fixing Unknown node error | ||
## [3.0.1](http://github.com/ivanoff/create-raml/tree/3.0.1) (2017-03-05) | ||
@@ -4,0 +12,0 @@ [Full Changelog](http://github.com/ivanoff/create-raml/compare/2.0.1...3.0.1) |
@@ -165,38 +165,38 @@ # create-raml | ||
/{id}: | ||
get: | ||
description: get /movies/:id | ||
responses: | ||
200: | ||
body: | ||
application/json: | ||
example: | | ||
{ | ||
"name": "Shaun of the Dead", | ||
"year": 2004 | ||
} | ||
404: | ||
body: | ||
application/json: | ||
example: | | ||
{ | ||
"error": "movie not found" | ||
} | ||
delete: | ||
description: delete /movies/:id | ||
responses: | ||
200: | ||
body: | ||
application/json: | ||
example: | | ||
{ | ||
"ok": true | ||
} | ||
404: | ||
body: | ||
application/json: | ||
example: | | ||
{ | ||
"error": "movie not found" | ||
} | ||
/{id}: | ||
get: | ||
description: get /movies/:id | ||
responses: | ||
200: | ||
body: | ||
application/json: | ||
example: | | ||
{ | ||
"name": "Shaun of the Dead", | ||
"year": 2004 | ||
} | ||
404: | ||
body: | ||
application/json: | ||
example: | | ||
{ | ||
"error": "movie not found" | ||
} | ||
delete: | ||
description: delete /movies/:id | ||
responses: | ||
200: | ||
body: | ||
application/json: | ||
example: | | ||
{ | ||
"ok": true | ||
} | ||
404: | ||
body: | ||
application/json: | ||
example: | | ||
{ | ||
"error": "movie not found" | ||
} | ||
``` | ||
@@ -203,0 +203,0 @@ |
@@ -125,3 +125,3 @@ /*! | ||
shortLink: url[i].replace(url[j] + '/', ''), | ||
deep: url[j].split('/').length, | ||
deep: url[j].replace(/^\//,'').split('/').length, | ||
data: methodsData[url[i]], | ||
@@ -128,0 +128,0 @@ }; |
{ | ||
"name": "create-raml", | ||
"version": "3.0.1", | ||
"version": "3.1.1", | ||
"description": "Create RAML", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,3 @@ | ||
v3.0.1 | ||
v3.1.1 | ||
@@ -63,7 +63,7 @@ | ||
/{id}: | ||
get: | ||
description: get /movies/:id | ||
delete: | ||
description: delete /movies/:id | ||
/{id}: | ||
get: | ||
description: get /movies/:id | ||
delete: | ||
description: delete /movies/:id | ||
``` | ||
@@ -70,0 +70,0 @@ |
43420