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