Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

swagger-endpoint-validator

Package Overview
Dependencies
7
Maintainers
5
Versions
13
Issues
File Explorer

Advanced tools

swagger-endpoint-validator

A validator of API endpoints to check that input and output match with the swagger specification for the API

    3.0.2latest

Version published
Maintainers
5
Yearly downloads
7,556
decreased by-17.22%

Weekly downloads

Changelog

Source

3.0.2 (2022-05-03)

Features

  • added script to generate releases (03147fb)

Readme

Source

CI CD

swagger-endpoint-validator

npm

A validator of API endpoints to check that input and/or output match with the swagger specification for the API.

This is based on express-swagger-generator, so it is important that each endpoints is properly documented so that the library can do the validation.

Installation

npm install --save swagger-endpoint-validator

Methods

init(app: ExpressApp, options: ConfigFile)

validator.init(app, options);

where:

  • app is the Express app instance.
  • options is the configuration object used by the validator.

TO DO!

Improve this doc.

Keywords

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc