Skip to content

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

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
licence-audit.txt
Notifications You must be signed in to change notification settings

Countingup/swagger-mod-security

Repository files navigation

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

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
licence-audit.txt

Stars

Watchers

Forks

Packages

No packages published