()
| 43 | |
| 44 | |
| 45 | def test_anyof_schema(): |
| 46 | schema = { |
| 47 | "anyOf": [ |
| 48 | {"type": "string"}, |
| 49 | {"type": "integer", "minimum": 1}, |
| 50 | ] |
| 51 | } |
| 52 | result = transform_schema(schema) |
| 53 | assert result == snapshot( |
| 54 | { |
| 55 | "anyOf": [ |
| 56 | {"type": "string"}, |
| 57 | { |
| 58 | "type": "integer", |
| 59 | "description": "{minimum: 1}", |
| 60 | }, |
| 61 | ] |
| 62 | } |
| 63 | ) |
| 64 | |
| 65 | |
| 66 | def test_enum_schema(): |
nothing calls this directly
no test coverage detected