def wanted
import ezmcp@0.1.0.0/src/openapi.bend as Openapiimport Base
import emerging-ezjson@1.2.0.0/main.bend as Json
import emerging-ezjson@1.2.0.0/src/value.bend as Value
1457# what is wrong with a value that does not fit its schema: the type it
1458# should have had, when the schema names one, and the type it has
1459def wanted(sch: Value.Json, val: Value.Json) -> String:
1460 wanted.of(Json.as_str(Json.get(sch, "type")), val)