Skip to content

Commit

Permalink
Merge pull request #26 from folio-org/MODTLR-24
Browse files Browse the repository at this point in the history
[MODTLR-24] Update content type for PUT endpoint
  • Loading branch information
roman-barannyk authored Mar 29, 2024
2 parents 395ec62 + 2560b23 commit 4db967a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public ResponseEntity<TlrSettings> getTlrSettings() {
}

@Override
public ResponseEntity<Void> putTlrSettings(TlrSettings tlrSettings) {
public ResponseEntity<String> putTlrSettings(TlrSettings tlrSettings) {
log.debug("putTlrSettings:: parameters: {}", () -> tlrSettings);

return ResponseEntity.status(
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/swagger.api/tlr-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ paths:
responses:
'204':
description: Request successfully updated
content:
text/plain:
schema:
type: string
'400':
$ref: '#/components/responses/badRequestResponse'
'404':
Expand Down

0 comments on commit 4db967a

Please sign in to comment.