Stone.js API
    Preparing search index...
    • Derive every documented route from a router.

      This is what makes the contract free: a route already declares its path, its method, what it accepts and whether it is protected, so the document is a view of the routing table rather than a second description of it. Nothing has to be restated, and nothing can drift.

      Parameters

      Returns OpenApiRoute[]

      The routes, ready for addRoutes.