Aller au contenu principal
Version: Next

RouterOption

Index

Properties

optionaldescription

description?: string

router description, for swagger

@deprecated

optionalignoreGlobalPrefix

ignoreGlobalPrefix?: boolean

ignore global prefix

optionalmethod

method?: string

which method decorator attached

optionalmiddleware

middleware array in router

optionalpath

path?: string | RegExp

router path, like “/api”

requestMethod

requestMethod: string

http method, like “get”, “post”

optionalrouterName

routerName?: string

router alias name

optionalsummary

summary?: string

router summary, for swagger

@deprecated