swagger-mod-security

2.0.6 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i swagger-mod-security

Weekly Downloads

0

Version

2.0.6

License

MIT

Unpacked Size

53.2 kB

Total Files

14

Last publish

Collaborators

  • pwfcurry
  • richkeenan
  • countingup_admin