Rust

schema

Module

Reading raw schema values into the canonical Schema tree.

Contents

use utopia_openapi::Dialect;
Rust
pub struct Dialect

The JSON Schema rules an OpenAPI version permits.

Version differences inside schema reading are carried as data here rather than as branches on Version.

use utopia_openapi::SchemaReader;
Rust
pub struct SchemaReader

Reads raw schema values into the canonical tree.

Depends on nothing but its [Dialect]: schema references are left unexpanded, so reading never needs the document or a resolver.