{"library":"swagger-express-mw","type":"library","category":null,"description":"swagger-express-mw is an abandoned CommonJS middleware for integrating Swagger (OpenAPI 2.0) definitions with Express applications. It functions primarily as a wrapper around the `swagger-node-runner` package, handling the loading and application of Swagger definitions to an Express server. The package's current stable version is 0.7.0, released in January 2017. Both `swagger-express-mw` and its core dependency `swagger-node-runner` have not seen active development or releases in over seven years, indicating a lack of maintenance. While it simplifies the setup of Swagger-driven APIs by automating routing and validation based on a YAML or JSON definition, its age means it only supports Swagger 2.0 and is not compatible with modern OpenAPI 3.x specifications. There are several forks like `swagger-express-mw-fork` and `swagger-node-runner-fixed` attempting to address some of the issues or update dependencies for newer Node.js versions.","language":"javascript","status":"abandoned","version":"0.7.0","tags":["javascript","swagger","api","apis","connect"],"last_verified":"Wed May 27","install":[{"cmd":"npm install swagger-express-mw","imports":["const swaggerExpressMw = require('swagger-express-mw');","swaggerExpressMw.create(config, function(err, swaggerExpress) { /* ... */ });"]},{"cmd":"yarn add swagger-express-mw","imports":[]},{"cmd":"pnpm add swagger-express-mw","imports":[]}],"homepage":null,"github":"https://github.com/apigee-127/swagger-express","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/swagger-express-mw","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-express-mw/compatibility"}}