(this: HttpApi.AnyWithProps, context: Context.Context<any>)
| 221 | }) |
| 222 | }, |
| 223 | annotateContext(this: HttpApi.AnyWithProps, context: Context.Context<any>) { |
| 224 | return makeProto({ |
| 225 | identifier: this.identifier, |
| 226 | groups: this.groups, |
| 227 | errorSchema: this.errorSchema, |
| 228 | annotations: Context.merge(this.annotations, context), |
| 229 | middlewares: this.middlewares |
| 230 | }) |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | const makeProto = <Id extends string, Groups extends HttpApiGroup.HttpApiGroup.Any, E, I, R>( |