Files
freqtrade/build_helpers/extract_json_schema.py
2024-07-28 15:30:06 +02:00

11 lines
246 B
Python

from pathlib import Path
import rapidjson
from freqtrade.configuration.config_schema import CONF_SCHEMA
schema_filename = Path(__file__).parent / "schema.json"
with schema_filename.open("w") as f:
rapidjson.dump(CONF_SCHEMA, f, indent=2)