Permalink
Browse files

Using raml2obj 4.0.0-beta1. RAML 0.8 support is unchanged, but had to…

… fix the example RAML file. Did not include any template changes to make RAML 1.0 files work, that'll come with the new templates.
  • Loading branch information...
1 parent 84e053f commit 1954cb2fb2b60ab7f0295bd10c72a3ef0a8bed89 @kevinrenskers kevinrenskers committed Aug 10, 2016
Showing with 8 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 bin/raml2html
  3. +4 −0 changelog.md
  4. +1 −2 examples/example.raml
  5. +0 −1 examples/unauthenticated.raml
  6. +1 −1 package.json
View
@@ -15,3 +15,4 @@ npm-debug.log
node_modules
.idea
+.DS_Store
View
@@ -37,6 +37,6 @@ raml2html.render(input, raml2html.getDefaultConfig(program.template)).then((resu
process.exit(0);
}
}).catch((error) => {
- console.error(new Error(error));
+ console.error(error);
process.exit(1);
});
View
@@ -1,3 +1,7 @@
+4.0.0-beta1 - August 10, 2016
+- Using raml2obj 4.0.0-beta1, which adds support for RAML 1.0
+ (even though raml2html's template doesn't support that yet)
+
3.0.0 - August 10, 2016
- Released without further changes
@@ -259,7 +259,6 @@ traits:
example: '2014-12-31T00:00:00.000Z'
type: string
required: false
- pattern: ^[a-zA-Z].+$
post:
description: Creates a new user
@@ -317,7 +316,7 @@ traits:
application/json:
example: |
{
- "user_id": 4,
+ "user_id": 4
}
/{userId}:
@@ -9,7 +9,6 @@ describedBy:
471:
body:
application/json:
- schema: Error
example: |
{
"code": "471",
View
@@ -15,7 +15,7 @@
"minimize": "2.0.x",
"nunjucks": "2.4.x",
"nunjucks-markdown": "2.0.x",
- "raml2obj": "3.0.0",
+ "raml2obj": "4.0.0-beta1",
"raml-jsonschema-expander": "1.1.x"
},
"devDependencies": {

0 comments on commit 1954cb2

Please sign in to comment.