pub fn extract_openapi(
repo_id: &RepoId,
source_path: &str,
input: &str,
) -> Result<Vec<HttpBoundary>, HttpExtractionError>Expand description
Extracts provider operations from an OpenAPI 3.x or Swagger 2.0 YAML/JSON document.
ยงErrors
Returns HttpExtractionError when the document is malformed, is not OpenAPI 3.x, or
does not contain an object-valued paths field.