Files: ebb953020ee4430abf945a8a40aeb90b661e3fb0 / errors / schema / positionTypeError.js
281 bytesRaw
1 | const errorSchema = require('./positionError') |
2 | const cloneDeep = require('lodash.clonedeep') |
3 | |
4 | const schema = cloneDeep(errorSchema) |
5 | |
6 | // collapse the details down to be ONLY type error |
7 | schema.properties.type = { $ref: '#/definitions/errorTypes/errorType' } |
8 | |
9 | module.exports = schema |
10 |
Built with git-ssb-web