
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
swagger-changelog
Advanced tools
Generate a changelog between two versions of a swagger spec
npm install -g swagger-changelog
swagger-changelog [options] <path/to/spec1> <path/to/spec2>
-h, --help output usage information
-V, --version output the version number
-e, --endpoint <n> Endpoint Threshold, 0-1.0 (Default 0.85, higher means closer)
-p, --param <n> Param Threshold, 0-1.0 (Default 0.75, higher means closer)
The Endpoint and Param thresholds are the minimum value for the Damerau - Levenshtein comparison ratio. It scores from 0-1 how similar the two words are.
$ swagger-changelog src/tests/specs/petstore.1.json src/tests/specs/petstore.1.1.json
Changes: /pet (put) - Method added
Renamed: Path '/pet/findByStatus' renamed to '/pet/findByStatii'
Renamed: Path '/pet/findByTags' renamed to '/pet/findByTag'
Renamed: /pet/{petId} (get) - Param 'petId' renamed to 'petIdz'
const changelog = require(swagger-changelog).changelog;
changelog('path/to/spec1', 'path/to/spec2', config)
.then((log) => {
console.log(log.paragraph);
});
swagger-changelog
is a Swimlane open-source project; we believe in giving back to the open-source community by sharing some of the projects we build for our application. Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.
FAQs
API changelog generator based on swagger diffs
The npm package swagger-changelog receives a total of 12 weekly downloads. As such, swagger-changelog popularity was classified as not popular.
We found that swagger-changelog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.