{"library":"oas3-tools","type":"library","category":null,"description":"A middleware library for Express.js that provides Swagger UI and API request validation/routing based on OpenAPI 3.0 specifications. Current version 2.2.3 (as of 2023) is in maintenance mode with infrequent updates. It is a fork of the deprecated apigee-127/swagger-tools, adding OpenAPI 3 support. Key differentiators: integrates Swagger UI, request validation, and routing into one Express middleware. However, the project has limited community support and may have compatibility issues with newer Node.js versions. Alternatives include express-openapi-validator or swagger-ui-express.","language":"javascript","status":"maintenance","version":"2.2.3","tags":["javascript","api","expressjs","middleware","swagger","openapi 3"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install oas3-tools","imports":["const oas3Tools = require('oas3-tools')","const { ExpressServerConfig } = require('oas3-tools')","const options = { ... }; oas3Tools.serve(options, app, callback)","const spec = require('./path/to/openapi.yaml');"]},{"cmd":"yarn add oas3-tools","imports":[]},{"cmd":"pnpm add oas3-tools","imports":[]}],"homepage":"https://github.com/bug-hunters/oas3-tools","github":"ssh://git@github.com/bug-hunters/oas3-tools","docs":null,"changelog":null,"pypi":null,"npm":"oas3-tools","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}