File tree Expand file tree Collapse file tree 6 files changed +43
-0
lines changed
TestSwiftOrgClient/swiftorgClient Expand file tree Collapse file tree 6 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ []
Original file line number Diff line number Diff line change
1
+ []
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: none
3
+ ---
4
+ {{ site.data.builds.swift-6_2-branch.wasm-sdk | jsonify }}
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: none
3
+ ---
4
+ {{ site.data.builds.development.wasm-sdk | jsonify }}
Original file line number Diff line number Diff line change @@ -79,6 +79,16 @@ struct Tool {
79
79
)
80
80
)
81
81
}
82
+ for branch in Components . Schemas. KnownSourceBranch. allCases {
83
+ tests. append (
84
+ . init(
85
+ name: " listWasmSDKDevToolchains( \( branch. rawValue) ) " ,
86
+ work: {
87
+ _ = try await client. listWasmSDKDevToolchains ( . init( path: . init( branch: . init( value1: branch) ) ) ) . ok. body. json
88
+ }
89
+ )
90
+ )
91
+ }
82
92
tests. append (
83
93
. init(
84
94
name: " getCurrentSwiftlyRelease " ,
Original file line number Diff line number Diff line change @@ -74,6 +74,25 @@ paths:
74
74
application/json :
75
75
schema :
76
76
$ref : ' #/components/schemas/DevToolchainsForArch'
77
+ /install/dev/{branch}/wasm-sdk.json :
78
+ parameters :
79
+ - name : branch
80
+ in : path
81
+ required : true
82
+ schema :
83
+ $ref : ' #/components/schemas/SourceBranch'
84
+ get :
85
+ operationId : listWasmSDKDevToolchains
86
+ summary : Fetch all SDK for WebAssembly toolchains
87
+ tags :
88
+ - Toolchains
89
+ responses :
90
+ ' 200 ' :
91
+ description : A successful response.
92
+ content :
93
+ application/json :
94
+ schema :
95
+ $ref : ' #/components/schemas/DevToolchainsForArch'
77
96
/swiftly.json :
78
97
get :
79
98
operationId : getCurrentSwiftlyRelease
@@ -195,6 +214,10 @@ components:
195
214
type : string
196
215
description : Filename of the snapshot archive to download.
197
216
example : ' swift-6.0-DEVELOPMENT-SNAPSHOT-2024-07-25-a-amazonlinux2-aarch64.tar.gz'
217
+ checksum :
218
+ type : string
219
+ description : SHA-256 Checksum of the download.
220
+ example : ' a915e4a5f167f4bc8bbf702c4b235ba2d4b9c79124f61e3d85d3e0c0cafbc63c'
198
221
download_signature :
199
222
type : string
200
223
description : Filename of the signature file for the download.
You can’t perform that action at this time.
0 commit comments