Diagnostics props accepted by every top-level OpenAPI component.
onDiagnostic is the sink invoked for each event surfaced by the
normalisation pipeline (duplicate body parameter, dropped Swagger
feature, divisible-by conflict, unknown JSON Schema dialect,
relative-ref resolved, etc.). strict converts every emitted
diagnostic into a thrown SchemaNormalisationError.
Diagnostics props accepted by every top-level OpenAPI component.
onDiagnosticis the sink invoked for each event surfaced by the normalisation pipeline (duplicate body parameter, dropped Swagger feature, divisible-by conflict, unknown JSON Schema dialect, relative-ref resolved, etc.).strictconverts every emitted diagnostic into a thrownSchemaNormalisationError.