Skip to content

Commit e29736a

Browse files
Update Sources/swift-openapi-generator/Documentation.docc/Proposals/SOAR-0011.md
Co-authored-by: Honza Dvorsky <[email protected]>
1 parent b1481bd commit e29736a

File tree

1 file changed

+2
-2
lines changed
  • Sources/swift-openapi-generator/Documentation.docc/Proposals

1 file changed

+2
-2
lines changed

Sources/swift-openapi-generator/Documentation.docc/Proposals/SOAR-0011.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ extension MyAppError: HTTPStatusConvertible {
113113
var httpStatus: HTTPResponse.Status {
114114
switch self {
115115
case .invalidInputFormat:
116-
HTTPResponse.Status.badRequest
116+
.badRequest
117117
case .authorizationError:
118-
HTTPResponse.Status.forbidden
118+
.forbidden
119119
}
120120
}
121121
}

0 commit comments

Comments
 (0)