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
1 change: 1 addition & 0 deletions api/v1/install/dev/6.0/wasm-sdk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
1 change: 1 addition & 0 deletions api/v1/install/dev/6.1/wasm-sdk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
4 changes: 4 additions & 0 deletions api/v1/install/dev/6.2/wasm-sdk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
layout: none
---
{{ site.data.builds.swift-6_2-branch.wasm-sdk | jsonify }}
4 changes: 4 additions & 0 deletions api/v1/install/dev/main/wasm-sdk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
layout: none
---
{{ site.data.builds.development.wasm-sdk | jsonify }}
10 changes: 10 additions & 0 deletions openapi/TestSwiftOrgClient/swiftorgClient/Tool.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ struct Tool {
)
)
}
for branch in Components.Schemas.KnownSourceBranch.allCases {
tests.append(
.init(
name: "listWasmSDKDevToolchains(\(branch.rawValue))",
work: {
_ = try await client.listWasmSDKDevToolchains(.init(path: .init(branch: .init(value1: branch)))).ok.body.json
}
)
)
}
tests.append(
.init(
name: "getCurrentSwiftlyRelease",
Expand Down
23 changes: 23 additions & 0 deletions openapi/swiftorg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,25 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/DevToolchainsForArch'
/install/dev/{branch}/wasm-sdk.json:
parameters:
- name: branch
in: path
required: true
schema:
$ref: '#/components/schemas/SourceBranch'
get:
operationId: listWasmSDKDevToolchains
summary: Fetch all SDK for WebAssembly toolchains
tags:
- Toolchains
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/DevToolchainsForArch'
/swiftly.json:
get:
operationId: getCurrentSwiftlyRelease
Expand Down Expand Up @@ -195,6 +214,10 @@ components:
type: string
description: Filename of the snapshot archive to download.
example: 'swift-6.0-DEVELOPMENT-SNAPSHOT-2024-07-25-a-amazonlinux2-aarch64.tar.gz'
checksum:
type: string
description: SHA-256 Checksum of the download.
example: 'a915e4a5f167f4bc8bbf702c4b235ba2d4b9c79124f61e3d85d3e0c0cafbc63c'
download_signature:
type: string
description: Filename of the signature file for the download.
Expand Down