()
| 12 | * and returns the memory cached value |
| 13 | */ |
| 14 | const getCompiledSchema = async () => { |
| 15 | if (compiledSchema === null) { |
| 16 | compiledSchema = await $RefParser.dereference(`${__dirname}/swagger.json`, { |
| 17 | mutateInputSchema: false, |
| 18 | }); |
| 19 | } |
| 20 | return compiledSchema; |
| 21 | }; |
| 22 | |
| 23 | /** |
| 24 | * Scans the schema for the validation schema for the given path and method |
no outgoing calls
no test coverage detected