Class YamlSchemaValidatorRunner

java.lang.Object
org.alexmond.yaml.validator.YamlSchemaValidatorRunner
All Implemented Interfaces:
org.springframework.boot.ApplicationRunner

@Component public class YamlSchemaValidatorRunner extends Object implements org.springframework.boot.ApplicationRunner
Spring Boot Application Runner that handles YAML/JSON schema validation. This runner processes command line arguments, validates input files against JSON schemas, and outputs validation results in various formats (JSON, YAML, JUnit, or colored text).
  • Constructor Details

    • YamlSchemaValidatorRunner

      public YamlSchemaValidatorRunner()
  • Method Details

    • run

      public void run(org.springframework.boot.ApplicationArguments args)
      Executes the validation process when the application starts. Handles command line arguments, validates configuration, processes input files, and outputs results in the specified format.
      Specified by:
      run in interface org.springframework.boot.ApplicationRunner
      Parameters:
      args - Application arguments containing validation options and file paths