openapi-enforcer-middleware
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

Open API Enforcer Middleware

Express middleware that makes it easy to write APIs by using your existing OpenAPI document.

Documentation

https://middleware.openapi-enforcer.com/

Features

  • Supports OpenAPI (Swagger) 2.0 and 3.0.x
  • Express middleware
  • Automatically link JavaScript functions to path endpoints
  • Parses and validates incoming requests
  • Validates responses prior to sending
  • Automatic response mocking in development
  • Option for manual response mocking in production

Installation

This package has openapi-enforcer as a peer dependency, so both must be installed.

npm install openapi-enforcer openapi-enforcer-middleware

Package Sidebar

Install

npm i openapi-enforcer-middleware

Weekly Downloads

1,635

Version

2.2.0

License

Apache-2.0

Unpacked Size

355 kB

Total Files

106

Last publish

Collaborators

  • gi60s