:wrench: An opinionated and enjoyable API framework based on Nette Framework. Supporting content negotiation, debugging, middlewares, attributes, annotations and loving openapi/swagger.
If routes /foo/bar and /foo/{var} are defined then route /foo/bar should always match for /foo/bar url, no matter in which order are controllers registered. We should also check for collisions.
Also /foo and /foo/{bar}/baz should work.
Order should be corrected during Schema building, solving that in SimpleRouter would cause performance decrease.
It would be also nice to replace this with endpoints grouping to reduce schema lookups
If routes
/foo/bar
and/foo/{var}
are defined then route/foo/bar
should always match for/foo/bar
url, no matter in which order are controllers registered. We should also check for collisions.See also swagger docs