Skip to content

Commit

Permalink
feat: use Drafter v4 for parsing API Blueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Jan 29, 2019
1 parent 500eadb commit 0fb0f47
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -40,7 +40,7 @@
"chai": "4.1.2",
"clone": "2.1.2",
"cross-spawn": "6.0.5",
"dredd-transactions": "6.3.0",
"dredd-transactions": "6.4.0",
"gavel": "2.2.1",
"glob": "7.1.3",
"html": "1.0.0",
Expand Down
14 changes: 12 additions & 2 deletions test/integration/regressions/regression-319-354-test.js
Expand Up @@ -94,7 +94,12 @@ describe('Regression: Issues #319 and #354', () => {
address: {
type: 'object',
properties: {
city: { type: ['string', 'null'] },
city: {
anyOf: [
{ type: 'null' },
{ type: 'string' },
],
},
street: { type: 'string' },
},
},
Expand Down Expand Up @@ -124,7 +129,12 @@ describe('Regression: Issues #319 and #354', () => {
address: {
type: 'object',
properties: {
city: { type: ['string', 'null'] },
city: {
anyOf: [
{ type: 'null' },
{ type: 'string' },
],
},
street: { type: 'string' },
},
},
Expand Down

0 comments on commit 0fb0f47

Please sign in to comment.