Skip to content

Commit 5b4bf89

Browse files
Update Sources/OpenAPIRuntime/Interface/ErrorHandlingMiddleware.swift
Co-authored-by: Honza Dvorsky <[email protected]>
1 parent 6304932 commit 5b4bf89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/OpenAPIRuntime/Interface/ErrorHandlingMiddleware.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public protocol HTTPResponseConvertible {
8080
var httpBody: OpenAPIRuntime.HTTPBody? { get }
8181
}
8282

83-
/// Extension to HTTPResponseConvertible to provide default values for certian fields.
84-
public extension HTTPResponseConvertible {
85-
var httpHeaderFields: HTTPTypes.HTTPFields { [:] }
86-
var httpBody: OpenAPIRuntime.HTTPBody? { nil }
83+
/// Extension to HTTPResponseConvertible to provide default values for certain fields.
84+
extension HTTPResponseConvertible {
85+
public var httpHeaderFields: HTTPTypes.HTTPFields { [:] }
86+
public var httpBody: OpenAPIRuntime.HTTPBody? { nil }
8787
}

0 commit comments

Comments
 (0)