{"library":"swagger-node-runner-fixed","type":"library","category":null,"description":"`swagger-node-runner-fixed` is a maintained fork of the original `apigee-127/swagger-node-runner`, primarily addressing compatibility issues with Node.js versions greater than 10. It serves as a comprehensive loader and middleware utility for building API projects based on Swagger/OpenAPI specifications, seamlessly integrating with popular Node.js web frameworks like Express, Restify, and Hapi. The package's current stable version is 1.0.1. Its core functionality involves interpreting a Swagger definition, applying various 'fittings' (middleware), and routing incoming requests to corresponding controllers based on the API specification. A significant architectural shift occurred in earlier versions (around v0.6.0 and v0.7.0), transitioning the underlying Swagger processing engine from `swagger-tools` to the more robust `Sway` library, which brought improved validation and schema capabilities. The project's release cadence is now infrequent, focusing on critical fixes and maintaining Node.js compatibility rather than extensive feature development.","language":"javascript","status":"maintenance","version":"1.0.1","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-fixed","imports":["const swaggerRunner = require('swagger-node-runner-fixed');","swaggerRunner.run(app, config, callback);","const swaggerDoc = yaml.load(fs.readFileSync(swaggerPath, 'utf8'));"]},{"cmd":"yarn add swagger-node-runner-fixed","imports":[]},{"cmd":"pnpm add swagger-node-runner-fixed","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-fixed","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-fixed/compatibility"}}