Watch
0
0
Fork
You've already forked hyperhive
0

swarm-controller: restore the commands route's 200 and 503 doc text

This commit is contained in:
iris 2026-11-15 19:53:41 +01:00
commit 687683a4f0

View file

@ -83,8 +83,8 @@ fn build(published: Option<Skills>) -> Vec<CommandEntry> {
params(("name" = String, Path, description = "agent whose commands to list")),
responses(
(status = 200, description = "the swarm's own commands, then the skills the agent's \
harness published, for the message box's command menu; just the swarm's commands \
when the agent has published none and on a host with no swarm queue",
when the agent has published none",
body = Vec<CommandEntry>),
(status = 400, description = "the agent name is not shaped like an identifier \
(problem+json)", body = String),