MCPcopy
hub / github.com/sparckles/Robyn / test_schema_set_is_array

Function test_schema_set_is_array

unit_tests/test_openapi_consolidated.py:83–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82
83def test_schema_set_is_array():
84 api = OpenAPI()
85 schema = api.get_schema_object("tags", set[str])
86 assert schema["type"] == "array"
87 assert schema["items"]["type"] == "string"
88
89
90def test_schema_any_has_no_type():

Callers

nothing calls this directly

Calls 2

get_schema_objectMethod · 0.95
OpenAPIClass · 0.90

Tested by

no test coverage detected