Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Repository files navigation

Warning

This project is no longer maintained.

swagger-mod-security

Modifies an existing swagger document using filters operating on the security section of paths.

Currently the only supported filter is includeOnly.

See https://github.com/pwelagedara/swagger-mod for filters operating on other fields.

Available filters

includeOnly

Returns a swagger document including only the paths containing the specified roles. This can only operate on one type of security at a time.

Examples

See the examples directory.

Publishing

Run yarn version to run tests, bump the version, push branch/tags & publish new version.

You will need to be logged in to do this: yarn login.

yarn version --<patch|minor|major>

See https://yarnpkg.com/en/docs/cli/version for more information.

License

MIT License.

About

Modifies an existing swagger document using filters operating on the security section of paths.

Resources

Stars

0 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages