validate

context(_: Warnings)
fun validate(openApi: OpenAPI)(source)

Validates a parsed OpenAPI model for required fields and unsupported constructs.

Accumulates all warnings without short-circuiting so that callers receive the full list of problems in a single call.

Parameters

openApi

the parsed OpenAPI model from Swagger Parser