sersoft-gmbh/route-docs
This adds some types and extensions to Vapor's `Route` type that allows documenting each route.
Installation
Add the following dependency to your Package.swift:
.package(url: "https://github.com/sersoft-gmbh/route-docs", from: "2.0.0"),Compatibility
- For Vapor up to version 3, use RouteDocs version 1.x.y.
- For Vapor as of version 4, use RouteDocs version 2.x.y.
Documentation
The API is documented using header doc. If you prefer to view the documentation as a webpage, there is an online version available for you.
Contributing
If you find a bug / like to see a new feature in RouteDocs there are a few ways of helping out:
- If you can fix the bug / implement the feature yourself please do and open a PR.
- If you know how to code (which you probably do), please add a (failing) test and open a PR. We'll try to get your test green ASAP.
- If you can do neither, then open an issue. While this might be the easiest way, it will likely take the longest for the bug to be fixed / feature to be implemented.
License
See LICENSE file.
Package Metadata
Repository: sersoft-gmbh/route-docs
Default branch: main
README: README.md