net.openapi.read
auth-names
(auth-names spec operation)
data-get-in
(data-get-in m ks)
merge-parameters
(merge-parameters spec path-item operation)
normalize-body-v2
(normalize-body-v2 spec operation parameters)
normalize-body-v3
(normalize-body-v3 spec operation)
normalize-content
(normalize-content spec content)
normalize-parameter
(normalize-parameter spec parameter)
normalize-properties
(normalize-properties spec properties)
normalize-schema
(normalize-schema spec schema)
operation-entry
(operation-entry spec version path path-item method operation)
operation-map
(operation-map spec version)
operation-name
(operation-name method path operation)
parameter-bucket
(parameter-bucket spec parameters location)
read
added in 4.1.4
(read source)(read source selector-or-options)(read source selector opts)
Reads a Swagger 2 or OpenAPI 3 JSON schema and returns a normalized operation map keyed by function name.
The optional selector filters normalized operations by :path. Pass {:remove-empty? true} to omit empty parameter buckets.
read-json-string
(read-json-string s)
read-schema
(read-schema source)
read-v2
added in 4.1.4
(read-v2 source)
Reads a Swagger 2 JSON schema and returns a normalized operation map keyed by function name.
read-v3
added in 4.1.4
(read-v3 source)
Reads an OpenAPI 3 JSON schema and returns a normalized operation map keyed by function name.
remove-empty-options
(remove-empty-options entry)
resolve-ref
(resolve-ref spec node)
resource-path
(resource-path source)
response-content-types-v2
(response-content-types-v2 spec operation)
response-content-types-v3
(response-content-types-v3 spec operation)
select-filter
(select-filter selector id)
select-operations
(select-operations operations selector)
slurp-source
(slurp-source source)
spec-version
(spec-version spec)
unescape-ref-token
(unescape-ref-token token)
vendor-extension-map
(vendor-extension-map m)