diff --git a/Package.swift b/Package.swift index 0103bce..6f35a0b 100644 --- a/Package.swift +++ b/Package.swift @@ -14,16 +14,24 @@ let package = Package( ], targets: [ .target( - name: "LuminateCore", + name: "LuminateAPI", dependencies: [ .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), - .product(name: "SQLite", package: "SQLite.swift"), ], plugins: [ .plugin(name: "OpenAPIGenerator", package: "swift-openapi-generator") ] ), + .target( + name: "LuminateCore", + dependencies: [ + "LuminateAPI", + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), + .product(name: "SQLite", package: "SQLite.swift"), + ] + ), .target( name: "LuminateDI", dependencies: [ diff --git a/Sources/LuminateAPI/LuminateAPI.swift b/Sources/LuminateAPI/LuminateAPI.swift new file mode 100644 index 0000000..1cffe9e --- /dev/null +++ b/Sources/LuminateAPI/LuminateAPI.swift @@ -0,0 +1 @@ +public enum LuminateAPI {} diff --git a/Sources/LuminateCore/openapi-generator-config.yaml b/Sources/LuminateAPI/openapi-generator-config.yaml similarity index 100% rename from Sources/LuminateCore/openapi-generator-config.yaml rename to Sources/LuminateAPI/openapi-generator-config.yaml diff --git a/Sources/LuminateCore/openapi.yaml b/Sources/LuminateAPI/openapi.yaml similarity index 100% rename from Sources/LuminateCore/openapi.yaml rename to Sources/LuminateAPI/openapi.yaml diff --git a/Sources/LuminateCore/LuminateCore.swift b/Sources/LuminateCore/LuminateCore.swift index e4556bd..2d20a95 100644 --- a/Sources/LuminateCore/LuminateCore.swift +++ b/Sources/LuminateCore/LuminateCore.swift @@ -1,3 +1,4 @@ +@_exported import LuminateAPI @_exported import OpenAPIRuntime @_exported import OpenAPIURLSession