schema-components - v3.7.0
    Preparing search index...

    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.

    interface ApiDiagnosticsProps {
        onDiagnostic?: DiagnosticSink;
        strict?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    onDiagnostic?: DiagnosticSink
    strict?: boolean