(key)
| 54 | }, [] as JsonSchema[]); |
| 55 | |
| 56 | const $ref: $Ref<M> = (key) => { |
| 57 | const $ref = `${typeof key === `string` ? key : key.key}#`; |
| 58 | return typeof key === `string` |
| 59 | ? { |
| 60 | $ref, |
| 61 | } |
| 62 | : { |
| 63 | $ref, |
| 64 | description: key.description, |
| 65 | }; |
| 66 | }; |
| 67 | return { |
| 68 | schemas: cleanedSchemas, |
| 69 | $ref, |
no outgoing calls
no test coverage detected