You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It's a feature request. I understand that swagger-jsdoc uses node-glob for discovering input files based on given patterns but I should be able to specify files that I want to ignore from a pattern. Maybe by providing another option like ignoreApis or honoring negative patterns (!).
Describe the solution you'd like
If I have a pattern for getting input files like this:
constoption={apis: ['./src/routes/*.ts'],};
I should be able to ignore or exclude a specific file that the pattern also matches like this:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe.
It's a feature request. I understand that
swagger-jsdoc
usesnode-glob
for discovering input files based on given patterns but I should be able to specify files that I want to ignore from a pattern. Maybe by providing another option likeignoreApis
or honoring negative patterns (!).Describe the solution you'd like
If I have a pattern for getting input files like this:
I should be able to ignore or exclude a specific file that the pattern also matches like this:
Describe alternatives you've considered
OR like this:
Additional context
This is useful in a case like mine where I wan to exclude some routes from being documented on the prod server
The text was updated successfully, but these errors were encountered: