Module schema

Source
Expand description

Utility functions for JSON schema processing

Constantsยง

SCHEMA_VERSION ๐Ÿ”’
JSON schema version

Staticsยง

OPENAPI_SPEC ๐Ÿ”’
Get the OpenAPI specification

Functionsยง

extract_json_schema_for ๐Ÿ”’
Extract a JSON schema from schema_name
extract_ref ๐Ÿ”’
Extract the reference parts from a $ref string
get_nested_value ๐Ÿ”’
Get the nested value from a JSON object.
merge_json ๐Ÿ”’
Merge 2 JSON objects.
update_refs ๐Ÿ”’
Function to resolve a $ref in the JSON schema