Socket
Socket
Sign inDemoInstall

swagger-endpoint-validator

Package Overview
Dependencies
7
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    swagger-endpoint-validator

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


Version published
Weekly downloads
100
increased by244.83%
Maintainers
5
Created
Weekly downloads
 

Changelog

Source

4.0.0 (2023-03-30)

⚠ BREAKING CHANGES

  • update dependencies

  • update dependencies (1bdbf73)

Readme

Source

All Contributors

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)

await 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.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Kevin Julián Martínez Escobar
Kevin Julián Martínez Escobar

🐛 💻 📖 🤔 👀 ⚠️
Sara Hernández
Sara Hernández

🐛 💻
Irene Mateo Herrero
Irene Mateo Herrero

💻
Íñigo Marquínez Prado
Íñigo Marquínez Prado

🐛 💻 📖 🤔 🚧 👀 ⚠️
Ulises Gascón
Ulises Gascón

🐛 💻 📖 🤔 🚧 👀 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

Keywords

FAQs

Last updated on 30 Mar 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc