* Dump the json object for debugging * @param {string} msg Message * @param {object} obj The json object
(msg, obj)
| 38 | * @param {object} obj The json object |
| 39 | */ |
| 40 | function debugJson(msg, obj) { |
| 41 | if (debug.enabled) { |
| 42 | debug('%s: %s', msg, util.inspect(obj, {depth: 10})); |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Validate a url or file path for the open api spec |
no test coverage detected