From 6a6309c1a0ad5ac25bd987d5a42d884232e14af8 Mon Sep 17 00:00:00 2001 From: "aspire-repo-bot[bot]" <268009190+aspire-repo-bot[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2026 01:17:07 +0000 Subject: [PATCH] Document aspire sdk export for Go Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../src/content/docs/whats-new/aspire-17.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/frontend/src/content/docs/whats-new/aspire-17.mdx b/src/frontend/src/content/docs/whats-new/aspire-17.mdx index 4c5cbc2c5e..df2069ecf6 100644 --- a/src/frontend/src/content/docs/whats-new/aspire-17.mdx +++ b/src/frontend/src/content/docs/whats-new/aspire-17.mdx @@ -51,6 +51,18 @@ Once Aspire 17.0 is available on the stable channel, use the [`aspire update` co CLI](/get-started/install-cli/). +## ✨ New features + +#### Export Go API reference data + +`aspire sdk export` now supports Go. Previously, only TypeScript shipped an exporter, so `aspire sdk export --language go` failed with a "no IApiReferenceExporter" error. The Go exporter projects through the same naming and type-mapping code as the Go SDK generator, so the exported signatures match the generated SDK. That includes the surface written by hand, such as `Build()` on the builder, `Err()` on every handle, `ToMap()` on options structs, and the interaction input collection helpers. + +```bash title="Aspire CLI — Export Go API data" +aspire sdk export --language go +``` + +The command writes one deterministic JSON document to standard output. Use `--package` to export a specific `PackageName@Version`. + ## ⚠️ Breaking changes