Crate mockforge_schema

Crate mockforge_schema 

Source
Expand description

JSON Schema generation for MockForge configuration files

This crate provides functionality to generate JSON Schema definitions from MockForge’s configuration structs, enabling IDE autocomplete and validation for mockforge.yaml and mockforge.toml files.

Functions§

generate_config_schema
Generate JSON Schema for MockForge ServerConfig
generate_config_schema_json
Generate JSON Schema and return as a formatted JSON string