Extensions of the @vulcan-sql/serve package
The @vulcan-sql/serve provides 4 extension components:
Extensions | Description |
---|---|
BaseAuthenticator | Beside simple-token , password-file and basic , extend BaseAuthenticator to could provide other authentication |
DocumentRouter | Beside redoc layout style and documentation url route, extend DocumentRouter to provide other API documentation layout style |
BaseResponseFormatter | Beside json and csv , extend BaseResponseFormatter to API could provide other response format |
BaseRouteMiddleware | Beside current built-in middlewares e.g: cors , rate-limit ..., extend BaseRouteMiddleware to make API Server could do some prefix or postfix feature |