Skip to content

Commit e64158c

Browse files
Update Sources/OpenAPIRuntime/Interface/ErrorHandlingMiddleware.swift
Co-authored-by: Honza Dvorsky <honza@apple.com>
1 parent 52c8926 commit e64158c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenAPIRuntime/Interface/ErrorHandlingMiddleware.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public struct ErrorHandlingMiddleware: ServerMiddleware {
6666
}
6767
}
6868

69-
/// Protocol used by ErrorHandling middleware to map an error to a HTTPResponse.
69+
/// A protocol used by ``ErrorHandlingMiddleware`` to map an error to an `HTTPResponse` and ``HTTPBody``.
7070
/// Adopters who wish to convert their application error to a HTTPResponse should confirm their error(s) to this protocol.
7171
public protocol HTTPResponseConvertible {
7272

0 commit comments

Comments
 (0)