@suluk/harden - v0.2.0
    Preparing search index...

    Function hardenDocument

    • Harden EVERY input schema in a built v4 document IN PLACE — request bodies + all parameter slots (incl. the route generator's path params, otherwise unbounded strings). Idempotent. The transform that makes assertGrade pass.

      Type Parameters

      • T extends OpenAPIv4Document

      Parameters

      Returns T