Skip to content

Commit

Permalink
fix(schemas): pushes back null type, allows no items
Browse files Browse the repository at this point in the history
  • Loading branch information
eljefedelrodeodeljefe committed Aug 30, 2018
1 parent 6b31388 commit f10b0a2
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions lib/v0/deliveries/items/create.js
@@ -1,16 +1,8 @@
const base = require('./base')

module.exports = {
oneOf: [
{
tpye: 'array',
minItems: 1,
items: {
...base
}
},
{
type: null
}
]
tpye: 'array',
items: {
...base
}
}

0 comments on commit f10b0a2

Please sign in to comment.