此软件包为 OpenAPI generator 提供计算绑定。
在 entrypoint.swift
中添加
// Create a Compute OpenAPI Transport using your router.
let transport = ComputeTransport(router)
// Create an instance of your handler type that conforms the generated protocol
// defining your service API.
let handler = MyServiceAPIImpl()
// Call the generated function on your implementation to add its request
// handlers to the app.
try handler.registerHandlers(on: transport, serverURL: Servers.server1())
待定