swarm-controller: restore the commands route's 200 and 503 doc text
This commit is contained in:
parent
05fef7926f
commit
687683a4f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue