{"library":"swagger-node-runner","type":"library","category":null,"description":"swagger-node-runner is a middleware engine designed to integrate Swagger (now OpenAPI) definitions with various Node.js web frameworks, including Connect, Express, Restify, Hapi, and Sails. It handles the loading and processing of API definitions, routing, and applying middleware based on the specification. The package is currently at version 0.7.3, with its last known release in October 2016. Its primary differentiation from earlier solutions was the complete replacement of `swagger-tools` with the `Sway` library starting from version 0.6.0, which was further updated to `Sway 1.0` in version 0.7.0. Due to its age and lack of recent updates, the project appears to be abandoned, meaning it does not receive new features, bug fixes, or security patches. Developers should exercise caution regarding its compatibility with modern Node.js versions and potential security vulnerabilities in its outdated dependencies.","language":"javascript","status":"abandoned","version":"0.7.3","tags":["javascript","swagger","api","apis","swagger-connect","swagger-express","swagger-restify","swagger-hapi","swagger-sails"],"last_verified":"Wed May 27","install":[{"cmd":"npm install swagger-node-runner","imports":["const runner = require('swagger-node-runner').create(config);","const swaggerTools = require('swagger-tools'); // Only if using v0.5.x or older","const config = { appRoot: __dirname, swaggerFile: '/path/to/swagger.yaml' };"]},{"cmd":"yarn add swagger-node-runner","imports":[]},{"cmd":"pnpm add swagger-node-runner","imports":[]}],"homepage":null,"github":"https://github.com/theganyo/swagger-node-runner","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/swagger-node-runner","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/swagger-node-runner/compatibility"}}