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