Skip to content

Commit

Permalink
Using raml2obj 4.0.0-beta1. RAML 0.8 support is unchanged, but had to…
Browse files Browse the repository at this point in the history
… 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
kevinrenskers committed Aug 10, 2016
1 parent 84e053f commit 1954cb2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -15,3 +15,4 @@ npm-debug.log
node_modules

.idea
.DS_Store
2 changes: 1 addition & 1 deletion bin/raml2html
Expand Up @@ -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);
});
4 changes: 4 additions & 0 deletions changelog.md
@@ -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

Expand Down
3 changes: 1 addition & 2 deletions examples/example.raml
Expand Up @@ -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
Expand Down Expand Up @@ -317,7 +316,7 @@ traits:
application/json:
example: |
{
"user_id": 4,
"user_id": 4
}
/{userId}:
Expand Down
1 change: 0 additions & 1 deletion examples/unauthenticated.raml
Expand Up @@ -9,7 +9,6 @@ describedBy:
471:
body:
application/json:
schema: Error
example: |
{
"code": "471",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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": {
Expand Down

0 comments on commit 1954cb2

Please sign in to comment.