I don't have control over the OpenAPI spec but I can bring it up to the dev team.
But shouldn't excludePaths work here?
I've tried several scenarios and none work.
excludePaths: # An optional list of regexes to exclude
#- ".*/services/.service_name./.action.*"
#- "https://####/api/com.ibm.zaas/services/service_name/action"
#- "https://####/api/com.ibm.zaas/services/\Q{service_name}/{action}\E"
#- "https://####/api/com.ibm.zaas/services/\Q%7Bservice_name%7D\E.*"
#- "https://####/api/com.ibm.zaas/services.*"
- "https://####/api/com.ibm.zaas/services*"
#- "*api/com.ibm.zaas/servicesapi/com.ibm.zaas/services.*"
#- "*api/com.ibm.zaas/servicesapi/com.ibm.zaas/services*"
#- "https://####/api/com.ibm.zaas/services/%7Bservice_name%7D.*"
#- "https://####/api/com.ibm.zaas/services/%7Bservice_name%7D/%7Baction%7D.*"
In the gui it shows the following when I exclude it from the scanner and I've tried adding this to my yaml.