Skip to content

Utility library for the development of new features and modules for oas-tools project

License

Notifications You must be signed in to change notification settings

oas-tools/oas-commons

Repository files navigation

Commons Library

NPM

npm node-current npm Known Vulnerabilities Conventional Commits

About

OAS Devtools is an utility library for the development of new features and modules for oas-tools project. It provides functions and classes that helps to easily create new functionality for OAS Tools servers.

v1.0.0 Features

  • Error Classes:
    • ConfigError: Error class for configuration errors.
    • UnsupportedError: Error class for unsupported features.
    • ValidationError: Error class for validation errors.
    • RequestValidationError: Error class for client request validation errors.
    • ResponseValidationError: Error class for server response validation errors.
    • RoutingError: Error class for routing errors.
    • SecurityError: Error class for security errors.
    • AuthError: Error class for authentication errors.
  • Logger: Logger class built through composition over a winston logger.
  • Validator: Validation functions for OpenAPI Specification v3.
  • Middleware:
    • OASBase: Base class for all middlewares.

About

Utility library for the development of new features and modules for oas-tools project

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published