Skip to content

Commit f0fc91d

Browse files
authored
Prepare 0.2.0 release (API breaking changes) (#43)
### Motivation It's time to release an API-breaking version and delete all the deprecated code. ### Modifications Deleted all the deprecated code. This is a breaking change, so the integration test will fail until we land this and then the corresponding generator changes. ### Result Removed a bunch of code! ### Test Plan Let's let CI check everything except for the integration test.
1 parent 9d76a1d commit f0fc91d

11 files changed

+4
-3454
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Add the package dependency in your `Package.swift`:
1515
```swift
1616
.package(
1717
url: "https://github.com/apple/swift-openapi-runtime",
18-
.upToNextMinor(from: "0.1.0")
18+
.upToNextMinor(from: "0.2.0")
1919
),
2020
```
2121

Sources/OpenAPIRuntime/Conversion/CurrencyExtensions.swift

+1-7
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,7 @@ import Foundation
1515

1616
extension HeaderField: CustomStringConvertible {
1717
public var description: String {
18-
let value: String
19-
if HeaderField.internalRedactedHeaderFields.contains(name.lowercased()) {
20-
value = "<redacted>"
21-
} else {
22-
value = self.value
23-
}
24-
return "\(name): \(value)"
18+
"\(name): \(value)"
2519
}
2620
}
2721

0 commit comments

Comments
 (0)