OASValidation Response - PATH

The First thing that the OAS Validation Response does is to check the response 

OASValidation policy  |  Apigee X  |  Google Cloud

"Validates that the request path (minus the basepath) matches one of the path patterns defined in the OpenAPI Specification"

But sometimes, we are using dynamic path, so the backend path might be calculated and changed. so the actual backend path is different from the one set on the openapi definition. This is very common when the services are on kubernetes.

In this case we get a PATH validation error from the OAS Validation response.

Is  there a way the disable the PATH check, but still validate the body ? If not, is there a way to dynamicly some how set the desired PATH in the swagger on runtime?

 

2 0 73
0 REPLIES 0