Matching of content-types against OpenAPI "content" media type keys, including wildcards
Matching of content-types against OpenAPI "content" media type keys, including wildcards
(match-media-type schema content-type)Matches content-type with schema "content", returns the matching Media
Type Object. The most specific matching media type wins
Matches `content-type` with `schema` "content", returns the matching Media Type Object. The most specific matching media type wins
(match-mime-type? mime-type-ptn mime-type)(match-schema-mime-type schema content-type)Matches content-type with schema, return resulting sub-schema. The most
specific matching media type wins
Matches `content-type` with `schema`, return resulting `sub-schema`. The most specific matching media type wins
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 |