Skip to content

Commit 96bda52

Browse files
authored
Merge pull request #187 from cyberark/update-request-body
Updated request body on secret creation
2 parents 9f04fe6 + eef0c49 commit 96bda52

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Fixed
9+
- Request body details for secret creation so all clients can properly set secrets. This changes
10+
the MIME type of the request body to `application/octet-stream` in place of text plain,
11+
allowing for proper binary secrets in clients (`format: binary` is broken in some clients).
12+
[cyberark/conjur-openapi-spec#187](https://github.com/cyberark/conjur-openapi-spec/pull/187)
813

914
## [5.1.1] - 2021-04-28
1015
### Added

spec/secrets.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,9 @@ components:
8383
description: "Secret data"
8484
required: false
8585
content:
86-
text/plain:
86+
application/octet-stream:
8787
schema:
8888
type: string
89-
format: binary
9089

9190
responses:
9291
"201":

0 commit comments

Comments
 (0)