swift-openapi-compute

0.2.0

swift-openapi-compute
novr/swift-openapi-compute

What's New

0.2.0

2024-04-05T03:12:40Z

What's Changed

  • chore: bump Compute by @novr in #5

Full Changelog: 0.1.2...0.2.0

Build

Swift OpenAPI Compute

This package provides Compute Bindings for the 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

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

Last updated: Mon Nov 25 2024 13:18:55 GMT-1000 (Hawaii-Aleutian Standard Time)