swift-openapi-generator
swift-openapi-generator copied to clipboard
Generate Swift client and server code from an OpenAPI document.
### Motivation ``` { "time": "2023-12-06T20:45:17.385Z", "url": "https://example.com" } ``` For the above json data. The currently valid `openapi.yml` will use `string` to represent "time" and "url". I'm hoping to...
I vote we keep it; maybe even rename it fatal. WDYT? Could you open an issue and we can converge on a stance? Even if we end up removing it,...
This is important for discriminator values in oneOfs. Coming to OpenAPIKit in the next release.
### Description Pull in LockedValueBox from SwiftNIO and reduce the usage of unchecked Sendable (today it's used in HTTPBody, MultipartBody, and ISO8601DateTranscoder). ### Additional information _No response_
(Creating this issue from discussion on PR: https://github.com/apple/swift-openapi-runtime/pull/91#discussion_r1442861113). There are a number of state machines in the runtime library for transforming async sequences of bytes into async sequences of some...
Support parameter names with +, with extra allowed characters. Some OpenAPI documents use e.g. `/foo/{+bar}`, which means the `bar` variable has a larged allowed character set. But the generator today...
Introduce an "init" subcommand for bootstrapping a package. At the very least, should bootstrap (decision: client vs server, asked by the CLI): - Package.swift - a new Hello World-like OpenAPI...
Introduce a "generate-config" command that dumps a default config file. This should emit all the configuration options. Required ones should have a reasonable value. Optional ones should be commented out,...
While the current Linux toolchains are happy to have visionOS in the `platforms:` in Package.swift, it seems they don't it being mentioned in the list of platforms in an `@available`...
When using the Swift OpenAPI Generator and runtime to decode a JSON payload from an API endpoint, a decoding error occurs for a field defined with the anyOf keyword in...