apple / swift-openapi-urlsession

URLSession transport for Swift OpenAPI Generator.
https://swiftpackageindex.com/apple/swift-openapi-urlsession/documentation
Apache License 2.0
162 stars 34 forks source link

Add missing available annotation to streaming tests #33

Closed simonjbeaumont closed 1 year ago

simonjbeaumont commented 1 year ago

Motivation

The tests had a missing @available annotation which meant that they didn't build iOS (annoyingly, when building for macOS, these things are not checked so things were building fine locally).

Modifications

Add missing available annotation to streaming tests.

Result

Builds for iOS again.

Test Plan

Local testing, selecting generic iOS destination in Xcode. This failed before this patch, and succeeds with it.