When using the router, the following definition is matched properly (the corresponding route is found):
paths:
'/books/{id}':
parameters:
- schema:
type: integer
name: id
in: path
required: true
get:
# ...
But this doesn't:
paths:
parameters:
- schema:
type: integer
name: id
in: path
required: true
'/books/{id}.json':
get:
# ...
When using the router, the following definition is matched properly (the corresponding route is found):
But this doesn't: