(alias: string)
| 150 | } |
| 151 | |
| 152 | private findAliasEndpointPlugins(alias: string) { |
| 153 | const endpoint = this.api.find((endpoint) => endpoint.alias === alias); |
| 154 | if (endpoint) { |
| 155 | return this.endpointPlugins.get(`${endpoint.method}-${endpoint.path}`); |
| 156 | } |
| 157 | return undefined; |
| 158 | } |
| 159 | |
| 160 | private findEnpointPlugins(method: Method, path: string) { |
| 161 | return this.endpointPlugins.get(`${method}-${path}`); |