Closed
Description
the example for the APIGateway doesn't build, because the initializer doesn't have encodableBody
as one of the properties
In main.swift
of APIGateway example, link
return try APIGatewayV2Response(statusCode: .ok, headers: header, encodableBody: event)
This is the error:
error: extra argument 'encodableBody' in call
25 |
26 | // echo the request in the response
27 | return try APIGatewayV2Response(statusCode: .ok, headers: header, encodableBody: event)
| `- error: extra argument 'encodableBody' in call