Skip to content

Commit

Permalink
Fix single vs plural mismatch for operation
Browse files Browse the repository at this point in the history
  • Loading branch information
John Schulz committed Jul 21, 2021
1 parent 04cc6b8 commit 770ef97
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/fleet/common/openapi/bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@
}
}
},
"operationId": "unenroll-agents",
"operationId": "unenroll-agent",
"parameters": [
{
"$ref": "#/components/parameters/kbn_xsrf"
Expand Down Expand Up @@ -740,7 +740,7 @@
}
}
},
"operationId": "upgrade-agents",
"operationId": "upgrade-agent",
"parameters": [
{
"$ref": "#/components/parameters/kbn_xsrf"
Expand Down
4 changes: 2 additions & 2 deletions x-pack/plugins/fleet/common/openapi/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ paths:
type: number
enum:
- 400
operationId: unenroll-agents
operationId: unenroll-agent
parameters:
- $ref: '#/components/parameters/kbn_xsrf'
requestBody:
Expand Down Expand Up @@ -457,7 +457,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/upgrade_agent'
operationId: upgrade-agents
operationId: upgrade-agent
parameters:
- $ref: '#/components/parameters/kbn_xsrf'
requestBody:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ post:
type: number
enum:
- 400
operationId: unenroll-agents
operationId: unenroll-agent
parameters:
- $ref: ../components/headers/kbn_xsrf.yaml
requestBody:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ post:
application/json:
schema:
$ref: ../components/schemas/upgrade_agent.yaml
operationId: upgrade-agents
operationId: upgrade-agent
parameters:
- $ref: ../components/headers/kbn_xsrf.yaml
requestBody:
Expand Down

0 comments on commit 770ef97

Please sign in to comment.