Setu-TS
    Preparing search index...

    Function Public

    • Marks an unrestricted route as public in the OpenAPI document: its schema carries security: [], so a document-level security requirement does not apply to it.

      It does NOT exempt a route from a guard or from @Roles/@Permissions enforcement — those still run and still refuse. When enforcement is enabled, a route carrying a restriction omits the public marker so derived OpenAPI security remains truthful. A route that must be reachable unauthenticated should carry no restriction in the first place.

      Returns SetuMethodDecorator

      A method decorator

      0.1.0