(this: HttpApi.AnyWithProps, prefix: HttpApiEndpoint.PathSegment)
| 194 | }) |
| 195 | }, |
| 196 | prefix(this: HttpApi.AnyWithProps, prefix: HttpApiEndpoint.PathSegment) { |
| 197 | return makeProto({ |
| 198 | identifier: this.identifier, |
| 199 | groups: Record.map(this.groups, (group) => group.prefix(prefix)), |
| 200 | errorSchema: this.errorSchema, |
| 201 | annotations: this.annotations, |
| 202 | middlewares: this.middlewares |
| 203 | }) |
| 204 | }, |
| 205 | middleware(this: HttpApi.AnyWithProps, tag: HttpApiMiddleware.TagClassAny) { |
| 206 | return makeProto({ |
| 207 | identifier: this.identifier, |