Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions openapi/TestSwiftOrgClient/swiftorgClient/Tool.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,20 @@ struct Tool {
work: { _ = try await client.listReleases().ok.body.json }
),
]
struct DevToolchainBranchPlatform: Hashable {
var branch: Components.Schemas.KnownSourceBranch
var platform: Components.Schemas.KnownPlatformIdentifier
}
let excluded: Set<DevToolchainBranchPlatform> = [
.init(branch: ._6_0, platform: .debian12),
.init(branch: ._6_0, platform: .fedora39),
.init(branch: ._6_0, platform: .ubuntu2404),
]
for branch in Components.Schemas.KnownSourceBranch.allCases {
for platform in Components.Schemas.KnownPlatformIdentifier.allCases {
guard !excluded.contains(.init(branch: branch, platform: platform)) else {
continue
}
tests.append(
.init(
name: "listDevToolchains(\(branch.rawValue), \(platform.rawValue))",
Expand Down
18 changes: 15 additions & 3 deletions openapi/swiftorg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,12 @@ components:
type: string
pattern: \d+\.\d+(\.\d+)?
description: Version number of the Swift release.
example: '6.0.2'
example: '6.2.0'
date:
type: string
pattern: \d{4}-\d{2}-\d{2}
description: Release date of the Swift version.
example: '2024-10-28'
example: '2025-09-15'
platforms:
type: array
description: List of supported platforms for this release.
Expand Down Expand Up @@ -172,10 +172,13 @@ components:
enum:
- amazonlinux2
- centos7
- debian12
- fedora39
- macos
- ubi9
- ubuntu2004
- ubuntu2204
- ubuntu2404
- windows10
PlatformIdentifier:
anyOf:
Expand All @@ -191,6 +194,8 @@ components:
type: string
enum:
- Swift Development Snapshot
- Swift Static SDK Development Snapshot
- Swift Wasm SDK Development Snapshot
DevToolchainKind:
anyOf:
- $ref: '#/components/schemas/KnownDevToolchainKind'
Expand Down Expand Up @@ -273,6 +278,8 @@ components:
- Linux
- Windows
- static-sdk
- wasm
example: Linux
PlatformType:
anyOf:
- $ref: '#/components/schemas/KnownPlatformType'
Expand Down Expand Up @@ -311,7 +318,12 @@ components:
description: List of supported architectures.
checksum:
type: string
description: SHA-256 Checksum of the static SDK, if this platform is the static SDK.
description: SHA-256 checksum of the Swift SDK.
example: 'd2225840e592389ca517bbf71652f7003dbf45ac35d1e57d98b9250368769378'
docker:
type: string
description: The tag of the container image.
example: '6.2-noble'
required:
- name
- platform
Expand Down