@morojs/moro / RouteSchema
Interface: RouteSchema
Defined in: src/core/routing/index.ts:53
Properties
auth?
optional
auth:AuthConfig
Defined in: src/core/routing/index.ts:60
cache?
optional
cache:CacheConfig
Defined in: src/core/routing/index.ts:62
description?
optional
description:string
Defined in: src/core/routing/index.ts:68
handler
handler:
RouteHandler
Defined in: src/core/routing/index.ts:56
method
method:
HttpMethod
Defined in: src/core/routing/index.ts:54
middleware?
optional
middleware:MiddlewarePhases
Defined in: src/core/routing/index.ts:65
path
path:
string
Defined in: src/core/routing/index.ts:55
rateLimit?
optional
rateLimit:RateLimitConfig
Defined in: src/core/routing/index.ts:61
tags?
optional
tags:string
[]
Defined in: src/core/routing/index.ts:69
validation?
optional
validation:ValidationConfig
Defined in: src/core/routing/index.ts:59