Skip to content

Conversation

@yonihemi
Copy link
Contributor

@yonihemi yonihemi commented Jul 7, 2025

Add wasm-sdk JSON API

Motivation:

Missing ability to retrieve 'SDK for WebAssembly' toolchains list programmatically, like Static SDK list and platform toolchains.

Modifications:

  • Added wasm-sdk API to OpenAPI spec.
  • Added optional checksum property for DevToolchainForArch objects.
  • Added JSON populated from yaml data for branch 6.2 and main, plus empty results for 6.0, 6.1 branches.
  • Added test case to API test tool.

Result:

  • Valid JSON returned from /api/v1/install/dev/<branch>/wasm-sdk.json
  • Local API test passes (and with changes from Fix static-sdk JSON 6.2 API #1104, also tests branches 6.1 and 6.2)

@yonihemi yonihemi requested a review from heckj as a code owner July 14, 2025 02:08
@heckj heckj merged commit cd52850 into swiftlang:main Jul 14, 2025
3 checks passed
@yonihemi yonihemi deleted the add_wasm_sdk_api branch July 15, 2025 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants