Implemented the "handle(_: context: next: )" function for the DocCMiddleware type in the library target.

This commit is contained in:
2025-09-26 00:27:56 +02:00
parent edeaf219a0
commit 8aa2cf0fb2
4 changed files with 605 additions and 9 deletions
@@ -16,6 +16,8 @@ extension String {
/// A namespace that defines sample values.
enum Sample {
/// A URI path to use as a documentation root sample.
static let uriDocument = uriRoot + "/SomeDocument"
/// A URI path to use as a file sample.
static let uriFile = uriFolder + uriResource
/// A URI path to use as a folder sample.
@@ -24,5 +26,7 @@ extension String {
static let uriRedirection = "/some/redirect/path"
/// A URI path to use as a resource sample.
static let uriResource = "/some/path/to/resource"
/// A URI path to use as a root sample.
static let uriRoot = "/some/root/path"
}
}