Skip to main content

async_bundle

Function async_bundle 

Source
pub async fn async_bundle(schema: &Value) -> Result<Value, ReferencingError>
Expand description

Bundle a JSON Schema into a Compound Schema Document, using async retrieval for external references.

Async counterpart to bundle. For custom resources or retrievers, use async_options() and call .bundle().

ยงErrors

Returns an error if draft detection fails, registry construction fails, subresource scope resolution fails, or any $ref cannot be resolved.