Custom Plugin - Virtual Endpoint


I was trying to implement Virtual endpoint through API Definition but sample provided in it is referring to building Custom Middleware.

API definition hyberlink takes me to tyk-operator/ at master · TykTechnologies/tyk-operator · GitHub

Can you help with the valid example for virtual endpoint configuration?

Hi @SaravananPeriyasamy, the approach is the same for custom middleware and virtual endpoints. the gateway essentially treats the virtual endpoint as middleware that is invoked when the endpoint is called.