Skip to content

Support to hide tags, endpoints and/or operations from the UI #913

@peterhoogendijk

Description

@peterhoogendijk

I'm looking for a way to hide a complete tag, an endpoint, or an endpoint method from the generated api-doc (so also from swagger-ui). The implemented endpoints paths and methods should still be available in the api itself. Looking in the docs, the @hidden annotation seems to offer this functionality, but decorators are not allowed in the scripts I'm implementing.

If there already is an option to do this in express-openapi, please document this and optionally provide an example in the test suite. If this is not yet supported by express-openapi, please consider implementing this option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions