Conversion of string values, such as parameters, headers or form fields, to the json types of their schemas before validation
Conversion of string values, such as parameters, headers or form fields, to the json types of their schemas before validation
(coerce openapi-schema value-schema v)Returns v converted with (coercer openapi-schema value-schema)
Returns `v` converted with `(coercer openapi-schema value-schema)`
(coercer openapi-schema value-schema)Returns a fn converting the strings of a value to the json types of
value-schema where possible. Values that cannot be converted are left as
is, for validation to report them
Returns a fn converting the strings of a value to the json types of `value-schema` where possible. Values that cannot be converted are left as is, for validation to report them
(resolve-schema openapi-schema value-schema)Returns value-schema, following a local top level $ref
Returns `value-schema`, following a local top level $ref
(schema-types openapi-schema value-schema)Returns the set of json types allowed by value-schema, including the ones
of its oneOf/anyOf/allOf schemas
Returns the set of json types allowed by `value-schema`, including the ones of its oneOf/anyOf/allOf schemas
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |