()
| 67 | |
| 68 | |
| 69 | def test_schema_literal(): |
| 70 | api = OpenAPI() |
| 71 | schema = api.get_schema_object("mode", typing.Literal["a", "b", "c"]) |
| 72 | assert schema["enum"] == ["a", "b", "c"] |
| 73 | assert schema["type"] == "string" |
| 74 | |
| 75 | |
| 76 | def test_schema_typed_dict_value(): |
nothing calls this directly
no test coverage detected