(schema: JSONSchema7)
| 234 | } |
| 235 | |
| 236 | function getUnionVariants(schema: JSONSchema7): JSONSchema7[] | null { |
| 237 | if (schema.anyOf) return schema.anyOf as JSONSchema7[]; |
| 238 | if (schema.oneOf) return schema.oneOf as JSONSchema7[]; |
| 239 | return null; |
| 240 | } |
| 241 | |
| 242 | interface RustUnionVariant { |
| 243 | schema: JSONSchema7; |
no outgoing calls
no test coverage detected
searching dependent graphs…