Skip to content

Add wasm-sdk JSON API #1105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 14, 2025
Merged

Add wasm-sdk JSON API #1105

merged 2 commits into from
Jul 14, 2025

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