|
| 1 | +// swift-tools-version: 5.7.1 |
| 2 | +// The swift-tools-version declares the minimum version of Swift required to build this package. |
| 3 | + |
| 4 | +import PackageDescription |
| 5 | + |
| 6 | +/// Generated via `$swift PackageBuilder.swift` |
| 7 | +let package = Package( |
| 8 | + name: "GitHubRestAPISwiftOpenAPI", |
| 9 | + platforms: [ |
| 10 | + .macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), |
| 11 | + ], |
| 12 | + products: [ |
| 13 | + .library(name: "GitHubRestAPIRepos", targets: ["GitHubRestAPIRepos"]), |
| 14 | + .library(name: "GitHubRestAPIMigrations", targets: ["GitHubRestAPIMigrations"]), |
| 15 | + .library(name: "GitHubRestAPIInteractions", targets: ["GitHubRestAPIInteractions"]), |
| 16 | + .library(name: "GitHubRestAPIMerge_Queue", targets: ["GitHubRestAPIMerge_Queue"]), |
| 17 | + .library(name: "GitHubRestAPILicenses", targets: ["GitHubRestAPILicenses"]), |
| 18 | + .library(name: "GitHubRestAPICopilot", targets: ["GitHubRestAPICopilot"]), |
| 19 | + .library(name: "GitHubRestAPIActivity", targets: ["GitHubRestAPIActivity"]), |
| 20 | + .library(name: "GitHubRestAPIChecks", targets: ["GitHubRestAPIChecks"]), |
| 21 | + .library(name: "GitHubRestAPIMarkdown", targets: ["GitHubRestAPIMarkdown"]), |
| 22 | + .library(name: "GitHubRestAPIProjects", targets: ["GitHubRestAPIProjects"]), |
| 23 | + .library(name: "GitHubRestAPIReactions", targets: ["GitHubRestAPIReactions"]), |
| 24 | + .library(name: "GitHubRestAPIOidc", targets: ["GitHubRestAPIOidc"]), |
| 25 | + .library(name: "GitHubRestAPIMeta", targets: ["GitHubRestAPIMeta"]), |
| 26 | + .library(name: "GitHubRestAPIClassroom", targets: ["GitHubRestAPIClassroom"]), |
| 27 | + .library(name: "GitHubRestAPIDesktop", targets: ["GitHubRestAPIDesktop"]), |
| 28 | + .library(name: "GitHubRestAPIOrgs", targets: ["GitHubRestAPIOrgs"]), |
| 29 | + .library(name: "GitHubRestAPISearch", targets: ["GitHubRestAPISearch"]), |
| 30 | + .library(name: "GitHubRestAPICodespaces", targets: ["GitHubRestAPICodespaces"]), |
| 31 | + .library(name: "GitHubRestAPICodes_Of_Conduct", targets: ["GitHubRestAPICodes_Of_Conduct"]), |
| 32 | + .library(name: "GitHubRestAPIUsers", targets: ["GitHubRestAPIUsers"]), |
| 33 | + .library(name: "GitHubRestAPIPackages", targets: ["GitHubRestAPIPackages"]), |
| 34 | + .library(name: "GitHubRestAPIActions", targets: ["GitHubRestAPIActions"]), |
| 35 | + .library(name: "GitHubRestAPITeams", targets: ["GitHubRestAPITeams"]), |
| 36 | + .library(name: "GitHubRestAPIPulls", targets: ["GitHubRestAPIPulls"]), |
| 37 | + .library(name: "GitHubRestAPIDependency_Graph", targets: ["GitHubRestAPIDependency_Graph"]), |
| 38 | + .library(name: "GitHubRestAPIEmojis", targets: ["GitHubRestAPIEmojis"]), |
| 39 | + .library(name: "GitHubRestAPICode_Scanning", targets: ["GitHubRestAPICode_Scanning"]), |
| 40 | + .library(name: "GitHubRestAPISecurity_Advisories", targets: ["GitHubRestAPISecurity_Advisories"]), |
| 41 | + .library(name: "GitHubRestAPIIssues", targets: ["GitHubRestAPIIssues"]), |
| 42 | + .library(name: "GitHubRestAPIApps", targets: ["GitHubRestAPIApps"]), |
| 43 | + .library(name: "GitHubRestAPIGists", targets: ["GitHubRestAPIGists"]), |
| 44 | + .library(name: "GitHubRestAPIBilling", targets: ["GitHubRestAPIBilling"]), |
| 45 | + .library(name: "GitHubRestAPIRate_Limit", targets: ["GitHubRestAPIRate_Limit"]), |
| 46 | + .library(name: "GitHubRestAPIGit", targets: ["GitHubRestAPIGit"]), |
| 47 | + .library(name: "GitHubRestAPIGitignore", targets: ["GitHubRestAPIGitignore"]), |
| 48 | + .library(name: "GitHubRestAPISecret_Scanning", targets: ["GitHubRestAPISecret_Scanning"]), |
| 49 | + .library(name: "GitHubRestAPIDependabot", targets: ["GitHubRestAPIDependabot"]), |
| 50 | + ], |
| 51 | + dependencies: [ |
| 52 | + .package(url: "https://github.com/apple/swift-openapi-runtime", from: "1.0.0"), |
| 53 | + .package(url: "https://github.com/apple/swift-openapi-urlsession", from: "1.0.0"), |
| 54 | + ], |
| 55 | + targets: [ |
| 56 | + .target( |
| 57 | + name: "GitHubRestAPIRepos", |
| 58 | + dependencies: [ |
| 59 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 60 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 61 | + ], |
| 62 | + path: "Sources/repos" |
| 63 | + ), |
| 64 | + .target( |
| 65 | + name: "GitHubRestAPIMigrations", |
| 66 | + dependencies: [ |
| 67 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 68 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 69 | + ], |
| 70 | + path: "Sources/migrations" |
| 71 | + ), |
| 72 | + .target( |
| 73 | + name: "GitHubRestAPIInteractions", |
| 74 | + dependencies: [ |
| 75 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 76 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 77 | + ], |
| 78 | + path: "Sources/interactions" |
| 79 | + ), |
| 80 | + .target( |
| 81 | + name: "GitHubRestAPIMerge_Queue", |
| 82 | + dependencies: [ |
| 83 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 84 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 85 | + ], |
| 86 | + path: "Sources/merge-queue" |
| 87 | + ), |
| 88 | + .target( |
| 89 | + name: "GitHubRestAPILicenses", |
| 90 | + dependencies: [ |
| 91 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 92 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 93 | + ], |
| 94 | + path: "Sources/licenses" |
| 95 | + ), |
| 96 | + .target( |
| 97 | + name: "GitHubRestAPICopilot", |
| 98 | + dependencies: [ |
| 99 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 100 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 101 | + ], |
| 102 | + path: "Sources/copilot" |
| 103 | + ), |
| 104 | + .target( |
| 105 | + name: "GitHubRestAPIActivity", |
| 106 | + dependencies: [ |
| 107 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 108 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 109 | + ], |
| 110 | + path: "Sources/activity" |
| 111 | + ), |
| 112 | + .target( |
| 113 | + name: "GitHubRestAPIChecks", |
| 114 | + dependencies: [ |
| 115 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 116 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 117 | + ], |
| 118 | + path: "Sources/checks" |
| 119 | + ), |
| 120 | + .target( |
| 121 | + name: "GitHubRestAPIMarkdown", |
| 122 | + dependencies: [ |
| 123 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 124 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 125 | + ], |
| 126 | + path: "Sources/markdown" |
| 127 | + ), |
| 128 | + .target( |
| 129 | + name: "GitHubRestAPIProjects", |
| 130 | + dependencies: [ |
| 131 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 132 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 133 | + ], |
| 134 | + path: "Sources/projects" |
| 135 | + ), |
| 136 | + .target( |
| 137 | + name: "GitHubRestAPIReactions", |
| 138 | + dependencies: [ |
| 139 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 140 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 141 | + ], |
| 142 | + path: "Sources/reactions" |
| 143 | + ), |
| 144 | + .target( |
| 145 | + name: "GitHubRestAPIOidc", |
| 146 | + dependencies: [ |
| 147 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 148 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 149 | + ], |
| 150 | + path: "Sources/oidc" |
| 151 | + ), |
| 152 | + .target( |
| 153 | + name: "GitHubRestAPIMeta", |
| 154 | + dependencies: [ |
| 155 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 156 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 157 | + ], |
| 158 | + path: "Sources/meta" |
| 159 | + ), |
| 160 | + .target( |
| 161 | + name: "GitHubRestAPIClassroom", |
| 162 | + dependencies: [ |
| 163 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 164 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 165 | + ], |
| 166 | + path: "Sources/classroom" |
| 167 | + ), |
| 168 | + .target( |
| 169 | + name: "GitHubRestAPIDesktop", |
| 170 | + dependencies: [ |
| 171 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 172 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 173 | + ], |
| 174 | + path: "Sources/desktop" |
| 175 | + ), |
| 176 | + .target( |
| 177 | + name: "GitHubRestAPIOrgs", |
| 178 | + dependencies: [ |
| 179 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 180 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 181 | + ], |
| 182 | + path: "Sources/orgs" |
| 183 | + ), |
| 184 | + .target( |
| 185 | + name: "GitHubRestAPISearch", |
| 186 | + dependencies: [ |
| 187 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 188 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 189 | + ], |
| 190 | + path: "Sources/search" |
| 191 | + ), |
| 192 | + .target( |
| 193 | + name: "GitHubRestAPICodespaces", |
| 194 | + dependencies: [ |
| 195 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 196 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 197 | + ], |
| 198 | + path: "Sources/codespaces" |
| 199 | + ), |
| 200 | + .target( |
| 201 | + name: "GitHubRestAPICodes_Of_Conduct", |
| 202 | + dependencies: [ |
| 203 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 204 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 205 | + ], |
| 206 | + path: "Sources/codes-of-conduct" |
| 207 | + ), |
| 208 | + .target( |
| 209 | + name: "GitHubRestAPIUsers", |
| 210 | + dependencies: [ |
| 211 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 212 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 213 | + ], |
| 214 | + path: "Sources/users" |
| 215 | + ), |
| 216 | + .target( |
| 217 | + name: "GitHubRestAPIPackages", |
| 218 | + dependencies: [ |
| 219 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 220 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 221 | + ], |
| 222 | + path: "Sources/packages" |
| 223 | + ), |
| 224 | + .target( |
| 225 | + name: "GitHubRestAPIActions", |
| 226 | + dependencies: [ |
| 227 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 228 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 229 | + ], |
| 230 | + path: "Sources/actions" |
| 231 | + ), |
| 232 | + .target( |
| 233 | + name: "GitHubRestAPITeams", |
| 234 | + dependencies: [ |
| 235 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 236 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 237 | + ], |
| 238 | + path: "Sources/teams" |
| 239 | + ), |
| 240 | + .target( |
| 241 | + name: "GitHubRestAPIPulls", |
| 242 | + dependencies: [ |
| 243 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 244 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 245 | + ], |
| 246 | + path: "Sources/pulls" |
| 247 | + ), |
| 248 | + .target( |
| 249 | + name: "GitHubRestAPIDependency_Graph", |
| 250 | + dependencies: [ |
| 251 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 252 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 253 | + ], |
| 254 | + path: "Sources/dependency-graph" |
| 255 | + ), |
| 256 | + .target( |
| 257 | + name: "GitHubRestAPIEmojis", |
| 258 | + dependencies: [ |
| 259 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 260 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 261 | + ], |
| 262 | + path: "Sources/emojis" |
| 263 | + ), |
| 264 | + .target( |
| 265 | + name: "GitHubRestAPICode_Scanning", |
| 266 | + dependencies: [ |
| 267 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 268 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 269 | + ], |
| 270 | + path: "Sources/code-scanning" |
| 271 | + ), |
| 272 | + .target( |
| 273 | + name: "GitHubRestAPISecurity_Advisories", |
| 274 | + dependencies: [ |
| 275 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 276 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 277 | + ], |
| 278 | + path: "Sources/security-advisories" |
| 279 | + ), |
| 280 | + .target( |
| 281 | + name: "GitHubRestAPIIssues", |
| 282 | + dependencies: [ |
| 283 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 284 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 285 | + ], |
| 286 | + path: "Sources/issues" |
| 287 | + ), |
| 288 | + .target( |
| 289 | + name: "GitHubRestAPIApps", |
| 290 | + dependencies: [ |
| 291 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 292 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 293 | + ], |
| 294 | + path: "Sources/apps" |
| 295 | + ), |
| 296 | + .target( |
| 297 | + name: "GitHubRestAPIGists", |
| 298 | + dependencies: [ |
| 299 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 300 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 301 | + ], |
| 302 | + path: "Sources/gists" |
| 303 | + ), |
| 304 | + .target( |
| 305 | + name: "GitHubRestAPIBilling", |
| 306 | + dependencies: [ |
| 307 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 308 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 309 | + ], |
| 310 | + path: "Sources/billing" |
| 311 | + ), |
| 312 | + .target( |
| 313 | + name: "GitHubRestAPIRate_Limit", |
| 314 | + dependencies: [ |
| 315 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 316 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 317 | + ], |
| 318 | + path: "Sources/rate-limit" |
| 319 | + ), |
| 320 | + .target( |
| 321 | + name: "GitHubRestAPIGit", |
| 322 | + dependencies: [ |
| 323 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 324 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 325 | + ], |
| 326 | + path: "Sources/git" |
| 327 | + ), |
| 328 | + .target( |
| 329 | + name: "GitHubRestAPIGitignore", |
| 330 | + dependencies: [ |
| 331 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 332 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 333 | + ], |
| 334 | + path: "Sources/gitignore" |
| 335 | + ), |
| 336 | + .target( |
| 337 | + name: "GitHubRestAPISecret_Scanning", |
| 338 | + dependencies: [ |
| 339 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 340 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 341 | + ], |
| 342 | + path: "Sources/secret-scanning" |
| 343 | + ), |
| 344 | + .target( |
| 345 | + name: "GitHubRestAPIDependabot", |
| 346 | + dependencies: [ |
| 347 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 348 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 349 | + ], |
| 350 | + path: "Sources/dependabot" |
| 351 | + ), |
| 352 | + .testTarget( |
| 353 | + name: "UsersTests", |
| 354 | + dependencies: [ |
| 355 | + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), |
| 356 | + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"), |
| 357 | + .target(name: "GitHubRestAPIUsers"), |
| 358 | + ] |
| 359 | + ) |
| 360 | + ] |
| 361 | +) |
| 362 | + |
0 commit comments