Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
vapor/routing-kit
Github
link |
Stars: 75 |
Last commit: 2 weeks ago |
You may find interesting
Releases
Add support for string interpolation to PathComponent - 2020-07-16T17:46:01
This patch was authored by @dimitribouniol and released by @tanner0101.
Enables call sites that use PathComponent
s to allow for string literals that make use of interpolation (#101).
In Vapor, this enables constants and other variables to be used in routes:
let api = app.grouped("version-\(Constants.apiVersion)")