Skip to content

Commit

Permalink
[Fleet] added missing content type application/gzip to openapi (#151566)
Browse files Browse the repository at this point in the history
## Summary

Related to #148599

Added missing `application/gzip` content type to openapi for packages
upload API.
  • Loading branch information
juliaElastic authored Feb 21, 2023
1 parent 9d1aac6 commit d841c93
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x-pack/plugins/fleet/common/openapi/bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,12 @@
"type": "string",
"format": "binary"
}
},
"application/gzip": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions x-pack/plugins/fleet/common/openapi/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,10 @@ paths:
schema:
type: string
format: binary
application/gzip:
schema:
type: string
format: binary
/epm/packages/_bulk:
post:
summary: Packages - Bulk install
Expand Down
4 changes: 4 additions & 0 deletions x-pack/plugins/fleet/common/openapi/paths/epm@packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ post:
requestBody:
content:
application/zip:
schema:
type: string
format: binary
application/gzip:
schema:
type: string
format: binary

0 comments on commit d841c93

Please sign in to comment.