Aller au contenu principal
Version: Next

SwaggerMiddleware

Implements

  • IMiddleware<IMidwayContext, NextFunction, unknown>

Index

Constructors

constructor

Properties

environmentService

environmentService: MidwayEnvironmentService

Methods

init

  • init(): Promise<void>

resolve

  • resolve(app: IMidwayBaseApplication<Context>): (req: any, res: any, next: NextFunction) => Promise<any>

staticgetName

  • getName(): string