(this: HttpApi.AnyWithProps, tag: HttpApiMiddleware.TagClassAny)
| 203 | }) |
| 204 | }, |
| 205 | middleware(this: HttpApi.AnyWithProps, tag: HttpApiMiddleware.TagClassAny) { |
| 206 | return makeProto({ |
| 207 | identifier: this.identifier, |
| 208 | groups: this.groups, |
| 209 | errorSchema: HttpApiSchema.UnionUnify(this.errorSchema, tag.failure), |
| 210 | annotations: this.annotations, |
| 211 | middlewares: new Set([...this.middlewares, tag]) |
| 212 | }) |
| 213 | }, |
| 214 | annotate(this: HttpApi.AnyWithProps, tag: Context.Tag<any, any>, value: any) { |
| 215 | return makeProto({ |
| 216 | identifier: this.identifier, |