apply

abstract fun apply(schema: Schema<*>, context: TestGenerationContext): Sequence<RuleValue>

Applies the rule to the provided schema within the context.

Return

a sequence of RuleValue results; empty if the rule is not applicable

Parameters

schema

the (possibly referenced) schema to validate

context

with a valid test case, operation specification and OpenAPI document