We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e7cd05 commit 52c8926Copy full SHA for 52c8926
Sources/OpenAPIRuntime/Interface/ErrorHandlingMiddleware.swift
@@ -38,7 +38,7 @@ import HTTPTypes
38
/// 2. Opt in to the ``ErrorHandlingMiddleware`` while registering the handler:
39
///
40
/// ```swift
41
-/// let handler = try await RequestHandler()
+/// let handler = RequestHandler()
42
/// try handler.registerHandlers(on: transport, middlewares: [ErrorHandlingMiddleware()])
43
/// ```
44
/// - Note: The placement of ``ErrorHandlingMiddleware`` in the middleware chain is important.
0 commit comments