Skip to content

Add support for dependancies with --exclude #948

@luxaritas

Description

@luxaritas

Is your feature request related to a problem? Please describe.
One of the dependencies in a project I'm working on uses @param <description> to document parameters, which is picked up by swag but fails to parse.

Describe the solution you'd like
I'd like to be able to add this package to the list of ignored directories with --exclude, for example --exclude github.com/owner/package@version

Describe alternatives you've considered

  • Requesting the package author to change comment formats (seems inappropriate to put this burden on the maintainer to interop with an external package)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions