Contents

novr/swift-openapi-compute

This package provides Compute Bindings for the [OpenAPI generator](https://github.com/apple/swift-openapi-generator).

Usage

In entrypoint.swift add:

// 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())

Documentation

TBD

Package Metadata

Repository: novr/swift-openapi-compute

Default branch: main

README: README.md