Skip to content

per-function exclusion of a route via an attribute #42

@davidAtInleague

Description

@davidAtInleague

We have some endpoints that we'd like to to include in cbswagger output. It is very convenient for our use case to mark these at function definition sites. For example:

/**
* @noCbSwagger
*/ 
function someHandler() {}
function someOtherHandler() {}

In the above, someOtherHandler would make into docs (depending on configuration), but someHandler would be excluded from docs.

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