Skip to content

Commit 3614359

Browse files
committed
add param description
1 parent 072194a commit 3614359

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • x-pack/platform/plugins/shared/fleet/server/types/rest_spec

x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,9 @@ export const GetAvailableAgentVersionsResponseSchema = schema.object({
836836

837837
export const ChangeAgentPrivilegeLevelRequestSchema = {
838838
params: schema.object({
839-
agentId: schema.string(),
839+
agentId: schema.string({
840+
meta: { description: 'The agent ID to change privilege level for' },
841+
}),
840842
}),
841843
body: schema.nullable(
842844
schema.object({

0 commit comments

Comments
 (0)