跳到主要内容
版本: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