swiftly icon indicating copy to clipboard operation
swiftly copied to clipboard

Adopt swift-openapi-generator for the Swift.org API

Open czechboy0 opened this issue 1 year ago • 4 comments

Blocked on https://github.com/swiftlang/swift-org-website/issues/832

czechboy0 avatar Oct 20 '24 09:10 czechboy0

This is ready to use now: https://www.swift.org/openapi/openapi.html#/Swiftly/getCurrentSwiftlyRelease

You can use this test client for inspiration: https://github.com/swiftlang/swift-org-website/tree/main/openapi/TestSwiftOrgClient

Although for the HTTP client, assuming you want to keep using AHC, you'd select the integration package: https://github.com/swift-server/swift-openapi-async-http-client

For more info: https://github.com/apple/swift-openapi-generator

czechboy0 avatar Jan 22 '25 14:01 czechboy0

See #205

cmcgee1024 avatar Jan 25 '25 01:01 cmcgee1024

#205 Adopts this for the swiftly releases. Next step is to follow the same approach for the interactions with the swift toolchains.

cmcgee1024 avatar Jan 27 '25 01:01 cmcgee1024

See #253

cmcgee1024 avatar Mar 27 '25 22:03 cmcgee1024