Skip to content

Commit

Permalink
Merge pull request #1 from magicbell/apple-openapi-generator
Browse files Browse the repository at this point in the history
chore: using Apples generator
  • Loading branch information
stigi authored Dec 17, 2024
2 parents 1ee4632 + 32efe00 commit 9545af7
Show file tree
Hide file tree
Showing 286 changed files with 19,799 additions and 982 deletions.
96 changes: 96 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"originHash" : "2eb2da4ce429372b0297b42e7bfe2bad81566713e7763c0f9d4f9a1cbc3f3db2",
"pins" : [
{
"identity" : "openapikit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/mattpolzin/OpenAPIKit",
"state" : {
"revision" : "5b5ee49624dda5b3e3b85aff184f44a007862fb7",
"version" : "3.3.0"
}
},
{
"identity" : "swift-algorithms",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-algorithms",
"state" : {
"revision" : "f6919dfc309e7f1b56224378b11e28bab5bccc42",
"version" : "1.2.0"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "41982a3656a71c768319979febd796c6fd111d5c",
"version" : "1.5.0"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections",
"state" : {
"revision" : "671108c96644956dddcd89dd59c203dcdb36cec7",
"version" : "1.1.4"
}
},
{
"identity" : "swift-http-types",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-http-types",
"state" : {
"revision" : "ef18d829e8b92d731ad27bb81583edd2094d1ce3",
"version" : "1.3.1"
}
},
{
"identity" : "swift-numerics",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-numerics.git",
"state" : {
"revision" : "0a5bc04095a675662cf24757cc0640aa2204253b",
"version" : "1.0.2"
}
},
{
"identity" : "swift-openapi-generator",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-openapi-generator",
"state" : {
"revision" : "2e1b6fced9097cf3093591bace7a89fd5519e051",
"version" : "1.5.1"
}
},
{
"identity" : "swift-openapi-runtime",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-openapi-runtime",
"state" : {
"revision" : "5e119a3d52dde0229312ed586be99c666c6b6f64",
"version" : "1.7.0"
}
},
{
"identity" : "swift-openapi-urlsession",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-openapi-urlsession",
"state" : {
"revision" : "9bf4c712ad7989d6a91dbe68748b8829a50837e4",
"version" : "1.0.2"
}
},
{
"identity" : "yams",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/Yams",
"state" : {
"revision" : "3036ba9d69cf1fd04d433527bc339dc0dc75433d",
"version" : "5.1.3"
}
}
],
"version" : 3
}
36 changes: 16 additions & 20 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
// swift-tools-version: 5.9
// swift-tools-version: 6.0

import PackageDescription

let package = Package(
name: "MagicbellSwiftClient",
platforms: [.macOS(.v14), .iOS(.v15)],
name: "MagicBellClient",
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), .visionOS(.v1)],
products: [
.library(
name: "MagicbellSwiftClient",
targets: ["MagicbellSwiftClient"]),
.executable(
name: "MagicbellSwiftClientExample",
targets: ["MagicbellSwiftClientExample"]
),
.library(name: "MagicBellClient", targets: ["MagicBellClient"]),
.executable(name: "MagicBellClientExample", targets: ["MagicBellClientExample"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-openapi-generator", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-openapi-runtime", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-openapi-urlsession", from: "1.0.0"),
],
targets: [
.target(
name: "MagicbellSwiftClient",
name: "MagicBellClient",
dependencies: [
"Channels",
"Integrations",
"MagicbellSwiftClientInternal",
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"),
]),
.executableTarget(
name: "MagicbellSwiftClientExample", dependencies: ["MagicbellSwiftClient"]
),
.target(name: "Channels", dependencies: ["Shared", "MagicbellSwiftClientInternal"]),
.target(name: "Integrations", dependencies: ["Shared", "MagicbellSwiftClientInternal"]),
.target(name: "Shared", dependencies: ["MagicbellSwiftClientInternal"]),
.target(name: "MagicbellSwiftClientInternal", dependencies: []),
name: "MagicBellClientExample",
dependencies: ["MagicBellClient"]
)
]
)
14 changes: 0 additions & 14 deletions README.md

This file was deleted.

Loading

0 comments on commit 9545af7

Please sign in to comment.