pub fn parse_openapi_document(
body: &[u8],
document_origin: &Url,
) -> OpenApiParseOutcomeExpand description
Classifies and reduces one repository- or host-retained document.
document_origin is used only to classify server metadata conservatively.
It never grants authority, resolves references, performs I/O, or selects a
request target. A runtime must authorize every selected URL independently.