Skip to content

Commit

Permalink
Merge pull request #187 from cyberark/update-request-body
Browse files Browse the repository at this point in the history
Updated request body on secret creation
  • Loading branch information
telday authored May 7, 2021
2 parents 9f04fe6 + eef0c49 commit 96bda52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

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

## [5.1.1] - 2021-04-28
### Added
Expand Down
3 changes: 1 addition & 2 deletions spec/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ components:
description: "Secret data"
required: false
content:
text/plain:
application/octet-stream:
schema:
type: string
format: binary

responses:
"201":
Expand Down

0 comments on commit 96bda52

Please sign in to comment.