Releases: apple/swift-openapi-generator
Releases · apple/swift-openapi-generator
Swift OpenAPI Generator 0.3.0
See the full announcement on the Swift forums1.
What's Changed
SemVer Minor
- Async bodies + swift-http-types adoption by @czechboy0 in #245
- Enable all feature flags for 0.3.0 by @czechboy0 in #296
- Use HTTP code and range names from swift-http-types by @czechboy0 in #298
- Propagate nullability through references by @czechboy0 in #300
- Skip type: string + format: binary in object properties by @czechboy0 in #313
SemVer Patch
- Fixes #276 - Unknown configuration options should throw an error by @PARAIPAN9 in #297
- Generate shorthand throwing APIs for providing inputs and handling outputs by @simonjbeaumont in #308
- Fix a bug around optional request bodies by @czechboy0 in #322
Other Changes
- [Proposal] SOAR-0004: Streaming request and response bodies by @czechboy0 in #254
- [Proposal] SOAR-0005: Adopting the Swift HTTP Types package by @czechboy0 in #255
- Skip building generated Github APIs in compat test by @simonjbeaumont in #290
- Update integration test to 0.3.0 APIs and temporarily use main by @simonjbeaumont in #310
- Split client and server examples into separate packages by @simonjbeaumont in #311
- Add SOAR-0007 proposal: Shorthand APIs for inputs and outputs by @simonjbeaumont in #291
- Add docker-compose file for 5.10 CI by @simonjbeaumont in #317
- Add an SSWG badge to the README by @czechboy0 in #323
- Update all examples and integration tests to 0.3.0 by @czechboy0 in #325
Full Changelog: 0.2.3...0.3.0
Swift OpenAPI Generator 0.2.3
New feature flags
urlEncodedForm
enables support for generating Codable types forapplication/x-www-form-urlencoded
request bodies
What's Changed
SemVer Patch
- Add url form encoder & decoder by @bfrearson in #283
- Bump OpenAPIKit to RC.2 by @czechboy0 in #293
- YAML diagnostics collector should have stable output by @czechboy0 in #295
Other Changes
- Fixes #78 - Explicitly name reusable header types as 'response header' types by @PARAIPAN9 in #284
- Move warning about strict concurrency into PlatformChecks.swift by @simonjbeaumont in #289
New Contributors
- @bfrearson made their first contribution in #283
Full Changelog: 0.2.2...0.2.3
Swift OpenAPI Generator 0.2.2
What's Changed
SemVer Patch
- Add support for nullable schemas by @czechboy0 in #248
- Bump OpenAPIKit to beta.5 by @czechboy0 in #266
- Escape negative numbers in integer-backed enums by @PARAIPAN9 in #274
- [Generator] Fix nested coding by @czechboy0 in #271
Other Changes
- Fixes #114 - Add scoped imports by @PARAIPAN9 in #184
- Audit for the word "content" incorrectly used to refer to body in public API by @czechboy0 in #256
- Use per-type imports everywhere by @czechboy0 in #264
- Add compatibility suite with selected OpenAPI documents by @simonjbeaumont in #267
- Delete temporary build directories in compatibility test by @simonjbeaumont in #277
- Run integration test in $TMPDIR or /tmp by @simonjbeaumont in #279
- Compile with -warnings-as-errors in CI (incl. StrictSendability) by @simonjbeaumont in #281
- Generate all requested modes in parallel by @simonjbeaumont in #280
New Contributors
- @PARAIPAN9 made their first contribution in #184
Full Changelog: 0.2.1...0.2.2
Swift OpenAPI Generator 0.2.1
What's Changed
SemVer Patch
- Support integer-backed enums by @czechboy0 in #242
Other Changes
- Update GreetingService for 0.2.0 and update docs by @czechboy0 in #240
- Update Supported-OpenAPI-features.md by @czechboy0 in #243
Full Changelog: 0.2.0...0.2.1
Swift OpenAPI Generator 0.2.0
See the full announcement on the Swift forums.
What's Changed
SemVer Minor
- Prepare 0.2.0 release (API breaking changes) by @czechboy0 in #218
- Stop generating empty input/output structs (query, headers, ...) by @czechboy0 in #235
- Include parameters in the content type name by @czechboy0 in #236
SemVer Patch
- Bump OpenAPIKit - fixes a server variable parsing issue by @czechboy0 in #233
Other Changes
- Fix typos by @Sajjon in #237
- Docs fixes by @czechboy0 in #238
New Contributors
Full Changelog: 0.1.13...0.2.0
Swift OpenAPI Generator 0.1.13
What's Changed
SemVer Patch
- [Generator] Integrate the new URI and String coders by @czechboy0 in #226
Full Changelog: 0.1.12...0.1.13
Swift OpenAPI Generator 0.1.12
What's Changed
SemVer Patch
- Support OpenAPI 3.1 in addition to 3.0 by @czechboy0 in #219
- Allow refs to oneOf/anyOf inside a oneOf with a discriminator by @czechboy0 in #224
- Allow non-unique values in oneOf.discriminator.mapping by @czechboy0 in #225
Full Changelog: 0.1.11...0.1.12
Swift OpenAPI Generator 0.1.11
What's Changed
SemVer Patch
- [Generator] Accept header by @czechboy0 in #185
Other Changes
- [Proposal] SOAR-0003 Type-safe Accept headers by @czechboy0 in #201
Full Changelog: 0.1.10...0.1.11
Swift OpenAPI Generator 0.1.10
What's Changed
SemVer Patch
- Emit JSON path reference in comments for all generated types by @takeshi-1000 in #196
- [Generator] Stop generating an undocumented case for enums/oneOfs by @czechboy0 in #205
- Fix warning in generated server code by @arthurcro in #209
- All descriptions defined in the OpenAPI document are generated by @takeshi-1000 in #213
- Additional 'case' blocks cannot appear after the 'default' block of a 'switch' by @dpasirst in #212
- Bump OpenAPIKit to 3.0.0-beta.1 by @czechboy0 in #215
Other Changes
- [Docs] Clarify what constitutes a breaking change of generated code by @czechboy0 in #200
- Document using Server-sent Events with OpenAPI by @czechboy0 in #208
- Remove redundant Equatable conformances in code generation by @arthurcro in #214
New Contributors
Full Changelog: 0.1.9...0.1.10
Swift OpenAPI Generator 0.1.9
What's Changed
SemVer Patch
- Nullable enums with an empty string fail to get generated by @czechboy0 in #176
- Stop treating schema warnings as errors by @czechboy0 in #178
- Allow more types of subschemas in anyOf/allOf by @czechboy0 in #179
- [Bugfix] Finalize diagnostics even when an error is thrown by @czechboy0 in #187
- Ignore inline schemas in oneOf with discriminator by @simonjbeaumont in #189
- Retain operation level parameters over path level ones by @arthurcro in #183
- SOAR-0002: Improved naming of content types by @czechboy0 in #170, #194
- Fix range responses by @czechboy0 in #198
Other Changes
- Enable strict concurrency checking in CI by @czechboy0 in #191
New Contributors
- @arthurcro made their first contribution in #183
Full Changelog: 0.1.8...0.1.9