Skip to content

How to hide routes while using Chanfana? #336

Description

@darkvertex

The docs say "Just don't use Chanfana, register the route directly":
https://chanfana.pages.dev/examples-and-recipes#hiding-routes-in-openapi-schema
but what if I want docs for dev runs but then hide certain routes in prod?

Is there a way to hide routes from the openapi output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions