Skip to content

Commit 262ab8b

Browse files
authored
Merge pull request #2414 from objectcomputing/feature-2408/remove-unnecessary-consumes
remove @consumes(MediaType.APPLICATION_JSON)
2 parents f7b2fae + b9c132f commit 262ab8b

File tree

22 files changed

+0
-23
lines changed

22 files changed

+0
-23
lines changed

server/src/main/java/com/objectcomputing/checkins/services/checkins/CheckInController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
@Controller("/services/check-ins")
2525
@ExecuteOn(TaskExecutors.BLOCKING)
2626
@Secured(SecurityRule.IS_AUTHENTICATED)
27-
@Consumes(MediaType.APPLICATION_JSON)
2827
@Tag(name = "check-ins")
2928
public class CheckInController {
3029

server/src/main/java/com/objectcomputing/checkins/services/demographics/DemographicsController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
@Controller("/services/demographics")
2323
@ExecuteOn(TaskExecutors.BLOCKING)
2424
@Secured(SecurityRule.IS_AUTHENTICATED)
25-
@Consumes(MediaType.APPLICATION_JSON)
2625
@Tag(name = "demographics")
2726
public class DemographicsController {
2827

server/src/main/java/com/objectcomputing/checkins/services/feedback/suggestions/FeedbackSuggestionsController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
@Controller("/services/feedback/suggestions")
2020
@ExecuteOn(TaskExecutors.BLOCKING)
2121
@Secured(SecurityRule.IS_AUTHENTICATED)
22-
@Consumes(MediaType.APPLICATION_JSON)
2322
@Tag(name = "feedback")
2423
public class FeedbackSuggestionsController {
2524

server/src/main/java/com/objectcomputing/checkins/services/feedback_template/FeedbackTemplateController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
@Controller("/services/feedback/templates")
2222
@ExecuteOn(TaskExecutors.BLOCKING)
2323
@Secured(SecurityRule.IS_AUTHENTICATED)
24-
@Consumes(MediaType.APPLICATION_JSON)
2524
@Tag(name = "feedback_templates")
2625
public class FeedbackTemplateController {
2726
private final FeedbackTemplateServices feedbackTemplateServices;

server/src/main/java/com/objectcomputing/checkins/services/feedback_template/template_question/TemplateQuestionController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
@Controller("/services/feedback/template_questions")
2323
@ExecuteOn(TaskExecutors.BLOCKING)
2424
@Secured(SecurityRule.IS_AUTHENTICATED)
25-
@Consumes(MediaType.APPLICATION_JSON)
2625
@Tag(name = "template_questions")
2726
@Validated
2827
public class TemplateQuestionController {

server/src/main/java/com/objectcomputing/checkins/services/member_skill/skillsreport/SkillsReportController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
@Controller("/reports/skills")
2121
@ExecuteOn(TaskExecutors.BLOCKING)
2222
@Secured(SecurityRule.IS_AUTHENTICATED)
23-
@Consumes(MediaType.APPLICATION_JSON)
2423
@Tag(name = "skills-report")
2524
public class SkillsReportController {
2625
private final SkillsReportServices skillsReportServices;

server/src/main/java/com/objectcomputing/checkins/services/memberprofile/MemberProfileController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
@Controller("/services/member-profiles")
2626
@ExecuteOn(TaskExecutors.IO)
2727
@Secured(SecurityRule.IS_AUTHENTICATED)
28-
@Consumes(MediaType.APPLICATION_JSON)
2928
@Tag(name = "member profiles")
3029
public class MemberProfileController {
3130

server/src/main/java/com/objectcomputing/checkins/services/memberprofile/anniversaryreport/AnniversaryReportController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
@Controller("/services/reports/anniversaries")
2323
@ExecuteOn(TaskExecutors.BLOCKING)
2424
@Secured(SecurityRule.IS_AUTHENTICATED)
25-
@Consumes(MediaType.APPLICATION_JSON)
2625
@Tag(name = "member anniversaries")
2726
public class AnniversaryReportController {
2827

server/src/main/java/com/objectcomputing/checkins/services/memberprofile/birthday/BirthDayController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
@Controller("/services/reports/birthdays")
2323
@ExecuteOn(TaskExecutors.BLOCKING)
2424
@Secured(SecurityRule.IS_AUTHENTICATED)
25-
@Consumes(MediaType.APPLICATION_JSON)
2625
@Tag(name = "Member Birthday")
2726
public class BirthDayController {
2827

server/src/main/java/com/objectcomputing/checkins/services/memberprofile/retentionreport/RetentionReportController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
@Controller("/reports/retention")
2222
@ExecuteOn(TaskExecutors.BLOCKING)
2323
@Secured(SecurityRule.IS_AUTHENTICATED)
24-
@Consumes(MediaType.APPLICATION_JSON)
2524
@Tag(name = "retention-report")
2625
public class RetentionReportController {
2726

0 commit comments

Comments
 (0)