Skip to content

Commit 6e08306

Browse files
committed
Also fix readmes
1 parent d551569 commit 6e08306

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import OpenAPIVapor
5858
import Vapor
5959

6060
struct Handler: APIProtocol {
61-
func getGreeting(_ input: Operations.getGreeting.Input) async throws -> Operations.getGreeting.Output {
61+
func getGreeting(_ input: Operations.GetGreeting.Input) async throws -> Operations.GetGreeting.Output {
6262
let name = input.query.name ?? "Stranger"
6363
return .ok(.init(body: .json(.init(message: "Hello, \(name)!"))))
6464
}

Sources/swift-openapi-generator/Documentation.docc/Swift-OpenAPI-Generator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ import OpenAPIVapor
5757
import Vapor
5858

5959
struct Handler: APIProtocol {
60-
func getGreeting(_ input: Operations.getGreeting.Input) async throws -> Operations.getGreeting.Output {
60+
func getGreeting(_ input: Operations.GetGreeting.Input) async throws -> Operations.GetGreeting.Output {
6161
let name = input.query.name ?? "Stranger"
6262
return .ok(.init(body: .json(.init(message: "Hello, \(name)!"))))
6363
}

0 commit comments

Comments
 (0)