Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Emit JSON Schema 2020-12 and OpenAPI 3.1 documents
to_json_schema()
to_openapi_schema()
from typewall import to_json_schema, w schema = w.object({"name": w.str().min(2), "age": w.int().optional()}) document = to_json_schema(schema) assert document["$schema"].endswith("2020-12/schema")
SchemaExportError