openapi-validator
0.1.0
jvm
core
/
io.github.stefankoppier.openapi.validator.core
/
Validator
Validator
class
Validator
(
rule
:
ValidationRule
<
OpenAPI
>
,
options
:
Validator.Options
=
Options()
)
(
source
)
Members
Constructors
Validator
Link copied to clipboard
constructor
(
rule
:
ValidationRule
<
OpenAPI
>
,
options
:
Validator.Options
=
Options()
)
Types
Options
Link copied to clipboard
data
class
Options
(
val
resolve
:
Boolean
=
true
)
Functions
parse
Link copied to clipboard
fun
parse
(
yaml
:
String
)
:
Result
<
OpenAPI
>
validate
Link copied to clipboard
fun
validate
(
path
:
URI
)
:
ValidationResult
fun
validate
(
yaml
:
String
)
:
ValidationResult