File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Sources/swift-openapi-generator/Documentation.docc Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ import OpenAPIVapor
5858import Vapor
5959
6060struct 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 }
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ import OpenAPIVapor
5757import Vapor
5858
5959struct 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 }
You can’t perform that action at this time.
0 commit comments