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.
Returns a swagger document including only the paths containing the specified roles. This can only operate on one type of security at a time.
See the examples
directory.
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.
MIT License.