Issue #3173177 by jsacksick, andre.bonon, e0ipso: Routes defining invalid resource types breaks OpenAPI
Closes #3288872