From 81ccddeccd85fd4f0773e16e6740591beeeb74aa Mon Sep 17 00:00:00 2001 From: dankinsoid <30962149+dankinsoid@users.noreply.github.com> Date: Fri, 1 Dec 2023 13:48:25 +0400 Subject: [PATCH] 2.19.2 --- README.md | 2 +- Sources/SwiftOpenAPI/OpenAPIDescriptable.swift | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3479a73..13cf65f 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,7 @@ import PackageDescription let package = Package( name: "SomeProject", dependencies: [ - .package(url: "https://github.com/dankinsoid/SwiftOpenAPI.git", from: "2.19.1") + .package(url: "https://github.com/dankinsoid/SwiftOpenAPI.git", from: "2.19.2") ], targets: [ .target(name: "SomeProject", dependencies: ["SwiftOpenAPI"]) diff --git a/Sources/SwiftOpenAPI/OpenAPIDescriptable.swift b/Sources/SwiftOpenAPI/OpenAPIDescriptable.swift index c92d7f5..6925dbb 100644 --- a/Sources/SwiftOpenAPI/OpenAPIDescriptable.swift +++ b/Sources/SwiftOpenAPI/OpenAPIDescriptable.swift @@ -12,9 +12,7 @@ public extension OpenAPIDescriptable { } } -#if canImport(SwiftOpenAPIMacros) -import SwiftOpenAPIMacros - +#if swift(>=5.9) /// `OpenAPIAutoDescriptable`: An automatic implementation macro for the `OpenAPIDescriptable` protocol. /// /// This macro facilitates the automatic implementation of the `OpenAPIDescriptable` protocol