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 {
7979 )
8080 )
8181 }
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+ }
8292 tests. append (
8393 . init(
8494 name: " getCurrentSwiftlyRelease " ,
Original file line number Diff line number Diff line change @@ -74,6 +74,25 @@ paths:
7474 application/json :
7575 schema :
7676 $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'
7796 /swiftly.json :
7897 get :
7998 operationId : getCurrentSwiftlyRelease
@@ -195,6 +214,10 @@ components:
195214 type : string
196215 description : Filename of the snapshot archive to download.
197216 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'
198221 download_signature :
199222 type : string
200223 description : Filename of the signature file for the download.
You can’t perform that action at this time.
0 commit comments