Stone.js API
    Preparing search index...

    Variable CONTRACT_OPTIONConst

    CONTRACT_OPTION: "contract" = 'contract'

    The route option carrying what a route publishes about itself.

    contract, not openapi: a route describes itself, and OpenAPI is one way of rendering that description. Naming the option after a specification would put that specification's name in the router's vocabulary, and every application would have to rename its routes the day the framework renders the same contract as something else.

    @Get('/tasks', { contract: { summary: 'List tasks' } })
    @Get('/internal', { contract: false }) // documented nowhere