Validator

class Validator(rule: ValidationRule<OpenAPI>, options: Validator.Options = Options())(source)

Constructors

Link copied to clipboard
constructor(rule: ValidationRule<OpenAPI>, options: Validator.Options = Options())

Types

Link copied to clipboard
data class Options(val resolve: Boolean = true)

Functions

Link copied to clipboard
fun parse(yaml: String): Result<OpenAPI>
Link copied to clipboard