Skip to content

Commit

Permalink
fix: show empty response for status 200
Browse files Browse the repository at this point in the history
  • Loading branch information
eschrewe committed Jul 23, 2024
1 parent f449bb1 commit 663812e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ public class DemandAndCapacityNotificationRequestApiController {

@Operation(summary = "This endpoint receives the DemandAndCapacityNotification 2.0.0 requests")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Ok"),
@ApiResponse(responseCode = "200", description = "Ok", content = @Content),
@ApiResponse(responseCode = "400", description = "Bad Request", content = @Content),
@ApiResponse(responseCode = "500", description = "Internal Server Error", content = @Content)
})
@PostMapping("request")
public ResponseEntity<DemandAndCapacityNotificationSamm> postDemandAndCapacityNotification(
public ResponseEntity<?> postDemandAndCapacityNotification(
@RequestHeader("edc-bpn") String bpnl,
@io.swagger.v3.oas.annotations.parameters.RequestBody(content = {@Content(examples = {
@ExampleObject(sample)
Expand Down

0 comments on commit 663812e

Please sign in to comment.