Skip to content

1.0.0 — OpenAPI in, a pure Swift client

Latest

Choose a tag to compare

@sisoje sisoje released this 18 Aug 12:49

First release of swift-declarative-openapi: a code generator that turns an OpenAPI
document into a compile-checked BackendSpec for
swift-declarative-requests — the
whole backend as one closed Swift type with typed operations, models, and security gates.

▎ Token refresh is isolation-correct by construction: the executor captures #isolation at init (the same mechanism Task {} and SwiftUI's Binding use) and runs its single-flight gate there — a background call through the typed client still refreshes on the actor that owns the tokens, witnessed by tests.