Skip to content

Commit

Permalink
SonarSmell: Remove ApiResponses wrapper
Browse files Browse the repository at this point in the history
Relates #381
  • Loading branch information
swarajsaaj committed Dec 22, 2021
1 parent d5b0da8 commit e30df4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public SonarResource(SonarApplicationService sonarApplicationService) {
}

@Operation(summary = "Add Sonar configuration to inspect code quality")
@ApiResponses({ @ApiResponse(responseCode = "500", description = "An error occurred while adding Sonar configuration") })
@ApiResponse(responseCode = "500", description = "An error occurred while adding Sonar configuration")
@PostMapping
public void addSonar(@RequestBody ProjectDTO projectDTO) {
Project project = ProjectDTO.toProject(projectDTO);
Expand Down

0 comments on commit e30df4f

Please sign in to comment.