Gathering detailed insights and metrics for @apidevtools/swagger-methods
Gathering detailed insights and metrics for @apidevtools/swagger-methods
Gathering detailed insights and metrics for @apidevtools/swagger-methods
Gathering detailed insights and metrics for @apidevtools/swagger-methods
HTTP methods that are supported by Swagger 2.0
npm install @apidevtools/swagger-methods
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
5 Stars
83 Commits
1 Forks
2 Watching
1 Branches
4 Contributors
Updated on 30 Nov 2023
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-3.3%
370,115
Compared to previous day
Last week
0.4%
2,022,665
Compared to previous week
Last month
11.3%
8,594,933
Compared to previous month
Last year
49.6%
82,052,064
Compared to previous year
This is an array of lower-case HTTP method names that are supported by the Swagger 2.0 spec.
This module is tested against the Swagger 2.0 schema
Install using npm:
1npm install @apidevtools/swagger-methods
1var methods = require('@apidevtools/swagger-methods'); 2 3methods.forEach(function(method) { 4 console.log(method); 5}); 6 7// get 8// put 9// post 10// delete 11// options 12// head 13// patch
I welcome any contributions, enhancements, and bug-fixes. Open an issue on GitHub and submit a pull request.
To build/test the project locally on your computer:
Clone this repo
git clone https://github.com/APIDevTools/swagger-methods.git
Install dev dependencies
npm install
Run the unit tests
npm test
MIT license. Use it however you want.
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
Thanks to these awesome companies for their support of Open Source developers ❤
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
28 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More