Before forwarding an incoming request to a backend Server I want to validate an incoming query parameter is present and is in a certain range. If missing then set a default value.
I first attempted to implement this check using default policy assertions. But this is quite complex. I am thinking about writing a custom policy assertion.
What is your experience? What are your recommondations?