import { Middleware } from '../base/http';
import swaggerUi from 'swagger-ui-express';
import { MiddlewareOrder } from './MiddlewareOrder';

class SwaggerUiServeMiddleware extends Middleware {
	protected order = MiddlewareOrder.SwaggerUiServeMiddleware;
	protected route = this.context.swaggerRoute;
	protected action: any = swaggerUi.serve;
}

export { SwaggerUiServeMiddleware };