"""API: Validate plugin configuration.""" from helpers.api import ApiHandler, Request, Response import os from usr.plugins.a0_software_orchestrator.helpers.validators import validate_config class ConfigValidate(ApiHandler): async def process(self, input: dict, request: Request) -> dict | Response: config_path = "/a0/usr/plugins/a0_software_orchestrator/default_config.yaml" result = validate_config(config_path) return result