swift-openapi-generator icon indicating copy to clipboard operation
swift-openapi-generator copied to clipboard

Generate Swift client and server code from an OpenAPI document.

Results 188 swift-openapi-generator issues
Sort by recently updated
recently updated
newest added

### 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...

area/generator
kind/enhancement

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,...

area/generator
kind/enhacement
size/S

This is important for discriminator values in oneOfs. Coming to OpenAPIKit in the next release.

area/openapi
kind/enhancement

### 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_

area/runtime
kind/enhancement
size/S

(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...

area/runtime
kind/enhancement
size/M

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...

area/generator
kind/enhancement

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...

area/generator
status/needs-design
kind/usability

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,...

area/generator
kind/enhancement
size/S

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`...

area/transport
kind/enhancement

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...

area/generator
status/blocked
kind/support