Skip to content

Commit

Permalink
Prepare 0.2.0 release (API breaking changes) (#43)
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
czechboy0 authored Aug 30, 2023
1 parent 9d76a1d commit f0fc91d
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 3,454 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Add the package dependency in your `Package.swift`:
```swift
.package(
url: "https://github.com/apple/swift-openapi-runtime",
.upToNextMinor(from: "0.1.0")
.upToNextMinor(from: "0.2.0")
),
```

Expand Down
8 changes: 1 addition & 7 deletions Sources/OpenAPIRuntime/Conversion/CurrencyExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ import Foundation

extension HeaderField: CustomStringConvertible {
public var description: String {
let value: String
if HeaderField.internalRedactedHeaderFields.contains(name.lowercased()) {
value = "<redacted>"
} else {
value = self.value
}
return "\(name): \(value)"
"\(name): \(value)"
}
}

Expand Down
Loading

0 comments on commit f0fc91d

Please sign in to comment.