(schema)
| 616 | |
| 617 | // wrapper that we expose to the user for schemas handling |
| 618 | function addSchema (schema) { |
| 619 | throwIfAlreadyStarted('Cannot call "addSchema"!') |
| 620 | this[kSchemaController].add(schema) |
| 621 | this[kChildren].forEach(child => child.addSchema(schema)) |
| 622 | return this |
| 623 | } |
| 624 | |
| 625 | // If the router does not match any route, every request will land here |
| 626 | // req and res are Node.js core objects |
nothing calls this directly
no test coverage detected
searching dependent graphs…