Generate command no longer writes openapi.json #888

Closed
opened 2026-02-16 17:28:40 -05:00 by yindo · 3 comments
Owner

Originally created by @CSRessel on GitHub (Jul 23, 2025).

Originally assigned to: @thdxr on GitHub.

The openapi.json file write was disabled yesterday in release v0.3.58 it looks like

Fixed here: https://github.com/sst/opencode/pull/1262

Originally created by @CSRessel on GitHub (Jul 23, 2025). Originally assigned to: @thdxr on GitHub. > The `openapi.json` file write was disabled yesterday in release `v0.3.58` it looks like Fixed here: https://github.com/sst/opencode/pull/1262
yindo closed this issue 2026-02-16 17:28:40 -05:00
Author
Owner

@thdxr commented on GitHub (Jul 23, 2025):

is this used somewhere?

@thdxr commented on GitHub (Jul 23, 2025): is this used somewhere?
Author
Owner

@CSRessel commented on GitHub (Jul 23, 2025):

Ah I was using the generate command to get the openapi.json, in order to auto-generate a client to query the headless server from Rust. Obligatory xkcd, no pressure to maintain something that isn't part of the intended public surface

Unfortunately Stainless doesn't support Rust, or I would use exactly the approach you use for the Go client

@CSRessel commented on GitHub (Jul 23, 2025): Ah I was using the generate command to get the `openapi.json`, in order to auto-generate a client to query the headless server from Rust. [Obligatory xkcd](https://xkcd.com/1172/), no pressure to maintain something that isn't part of the intended public surface Unfortunately Stainless doesn't support Rust, or I would use exactly the approach you use for the Go client
Author
Owner

@thdxr commented on GitHub (Jul 24, 2025):

it pipes to stdout because we switched it to opencode generate >openocde.json a bit more flexible

@thdxr commented on GitHub (Jul 24, 2025): it pipes to stdout because we switched it to `opencode generate >openocde.json` a bit more flexible
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#888