(source)
| 47 | } |
| 48 | |
| 49 | function collectPythonAll(source) { |
| 50 | const allBlock = source.match(/__all__ = \[([\s\S]*?)\]/); |
| 51 | if (!allBlock) return new Set(); |
| 52 | return new Set([...allBlock[1].matchAll(/"([^"]+)"/g)].map((match) => match[1])); |
| 53 | } |
| 54 | |
| 55 | function getOperation(spec, operationId) { |
| 56 | for (const pathItem of Object.values(spec.paths || {})) { |
no test coverage detected