Given two similar routes:
GET /pets/{animalType}
DELETE /pets/{petId}
The generated router factory makes it so whichever route is defined second in the OpenAPI spec returns "method not allowed" since the patterns match each other, but the path params are different.