(s)
| 52721 | } |
| 52722 | return !1 |
| 52723 | } |
| 52724 | async parse(s) { |
| 52725 | if (this.sourceMap) |
| 52726 | throw new jw( |
| 52727 | "yaml-1-2-swagger-client parser plugin doesn't support sourceMaps option" |
| 52728 | ) |
| 52729 | const o = new Au(), |
| 52730 | i = s.toString() |
| 52731 | try { |
| 52732 | const s = fn.load(i, { schema: rn }) |
| 52733 | if (this.allowEmpty && void 0 === s) return o |
| 52734 | const a = transformers_from(s) |
| 52735 | return (a.classes.push('result'), o.push(a), o) |
| 52736 | } catch (o) { |
| 52737 | throw new jw(`Error parsing "${s.uri}"`, { cause: o }) |
| 52738 | } |
| 52739 | } |
| 52740 | } |
| 52741 | const Vw = class OpenAPIJSON3_1Parser extends Pw { |
nothing calls this directly
no test coverage detected