Skip to content

Add Swift SDK generation and release checks#145

Draft
TimurBaiguskarovAspose wants to merge 22 commits into
mainfrom
feature/swift-sdk-bootstrap
Draft

Add Swift SDK generation and release checks#145
TimurBaiguskarovAspose wants to merge 22 commits into
mainfrom
feature/swift-sdk-bootstrap

Conversation

@TimurBaiguskarovAspose
Copy link
Copy Markdown
Contributor

@TimurBaiguskarovAspose TimurBaiguskarovAspose commented May 14, 2026

Summary

  • Add Swift SDK generation for Aspose.BarCode Cloud API v4.0.
  • Add the Swift SDK submodule backed by Aspose.BarCode-Cloud-SDK-for-Swift.
  • Add Swift package runtime helpers for OAuth client credentials/access token configuration.
  • Add Swift request-shape tests, live integration smoke tests, example app, README, CHANGELOG, and release docs.
  • Add packageVersion to config-swift.json and wire Swift into scripts/new-version.py.
  • Add codegen/Templates/swift from OpenAPI Generator 7.8.0 swift5 templates.
  • Generate Swift README and AsposeBarcodeCloudClient.swift from mustache templates, including {{packageVersion}}.
  • Move Swift Linux/macOS compatibility tweaks into templates and remove the post-generation runtime patch script.
  • Add codegen PR checks for Swift generation reproducibility, Swift tests, live API smoke tests, and macOS build/test/example verification.
  • Add temporary private-submodule checkout support while the Swift SDK repository is private.

Validation

GitHub checks are green on ba0b120:

  • check-submodules
  • check-swagger
  • check-swift-codegen-linux
  • check-swift-macos
  • check-urls

Swift SDK repo CI is also green on submodule commit 9f8cd6e:

  • linux-build-test
  • integration-test
  • macos-build-test

Additional local checks used during preparation:

  • make swift
  • git diff --cached --check

Release Notes

  • First Swift SDK release will be tagged as v26.4.0.
  • SwiftPM users should depend on version 26.4.0.

Temporary Bootstrap Notes

The Swift SDK repository is currently private, so CI uses the read-only deploy-key secret SWIFT_SUBMODULE_DEPLOY_KEY to checkout submodules/swift.

Cleanup after the private verification phase / after the Swift repository becomes public:

  • Delete codegen repo secret SWIFT_SUBMODULE_DEPLOY_KEY.
  • Delete Swift repo deploy key 151467785 (codegen swift submodule read 2026-05-14).
  • Delete temporary Swift repo Actions secret TEST_CONFIGURATION_ACCESS_TOKEN after the shared test-token flow is confirmed.
  • Remove the temporary Swift repository URL ignore from scripts/check-urls.py.
  • Re-run checks once without the temporary private-submodule access.

@TimurBaiguskarovAspose TimurBaiguskarovAspose force-pushed the feature/swift-sdk-bootstrap branch 3 times, most recently from ad3be6c to 5e41465 Compare May 14, 2026 12:01
@TimurBaiguskarovAspose TimurBaiguskarovAspose force-pushed the feature/swift-sdk-bootstrap branch from 5e41465 to 26fa9b0 Compare May 14, 2026 12:18
@TimurBaiguskarovAspose TimurBaiguskarovAspose marked this pull request as ready for review May 18, 2026 05:43
@TimurBaiguskarovAspose TimurBaiguskarovAspose marked this pull request as draft May 18, 2026 05:45
@TimurBaiguskarovAspose TimurBaiguskarovAspose force-pushed the feature/swift-sdk-bootstrap branch from 26fa9b0 to 9a7c1f4 Compare May 18, 2026 05:50
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.

1 participant