File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/OpenAPIRuntime/Interface Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ public struct ErrorHandlingMiddleware: ServerMiddleware {
67
67
}
68
68
69
69
/// A protocol used by ``ErrorHandlingMiddleware`` to map an error to an `HTTPResponse` and ``HTTPBody``.
70
- /// Adopters who wish to convert their application error to a HTTPResponse should confirm their error(s) to this protocol.
70
+ /// Adopters who wish to convert their application error to an ` HTTPResponse` and ``HTTPBody`` should conform the error type to this protocol.
71
71
public protocol HTTPResponseConvertible {
72
72
73
- /// HTTP status to return in the response.
73
+ /// An HTTP status to return in the response.
74
74
var httpStatus : HTTPResponse . Status { get }
75
75
/// The HTTP headers of the response.
76
76
///
You can’t perform that action at this time.
0 commit comments