(spec, operationId)
| 70 | } |
| 71 | |
| 72 | function collectOperationSampleLabels(spec, operationId) { |
| 73 | return (getOperation(spec, operationId)['x-codeSamples'] || []) |
| 74 | .map((sample) => sample.label); |
| 75 | } |
| 76 | |
| 77 | function collectAllCodeSamples(spec) { |
| 78 | return Object.values(spec.paths || {}) |
no test coverage detected