Versions in this module Expand all Collapse all v0 v0.3.0 Mar 22, 2026 v0.2.0 Mar 14, 2026 Changes in this version + func GetMajorMinorVersion(version string) string + func IsValidVersion(version string) bool + type ValidationError struct + Column int + Line int + Message string + Path string + RuleID string + Severity string + func (e ValidationError) Error() string + type ValidationResult struct + Errors []ValidationError + Valid bool + Version string + Warnings []ValidationError + func ParseAndValidate(specBytes []byte) (*libopenapi.Document, *ValidationResult, error) + func Validate(specBytes []byte) (*ValidationResult, error) + func ValidateFile(path string) (*ValidationResult, error)