From a5271e4ec8658a7a3363757663513f34f4427002 Mon Sep 17 00:00:00 2001 From: lpapadopoulos Date: Wed, 10 Apr 2024 12:48:41 +0300 Subject: [PATCH] remove unnecessary consumes from Request mapping --- .../etsi/osl/tmf/gsm674/api/GeographicSiteManagementApi.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/org/etsi/osl/tmf/gsm674/api/GeographicSiteManagementApi.java b/src/main/java/org/etsi/osl/tmf/gsm674/api/GeographicSiteManagementApi.java index 4dc62583..380afa76 100644 --- a/src/main/java/org/etsi/osl/tmf/gsm674/api/GeographicSiteManagementApi.java +++ b/src/main/java/org/etsi/osl/tmf/gsm674/api/GeographicSiteManagementApi.java @@ -71,7 +71,6 @@ public interface GeographicSiteManagementApi { @ApiResponse(responseCode = "500", description = "Internal Server Error" ) }) @RequestMapping(value = "/geographicSite/{id}", produces = { "application/json" }, - consumes = { "application/json" }, method = RequestMethod.DELETE) default ResponseEntity deleteGeographicSite(@Parameter(description = "Identifier of the Geographic site",required=true) @PathVariable("id") String id) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); @@ -90,7 +89,6 @@ public interface GeographicSiteManagementApi { @ApiResponse(responseCode = "500", description = "Internal Server Error" ) }) @RequestMapping(value = "/geographicSite", produces = { "application/json" }, - consumes = { "application/json" }, method = RequestMethod.GET) default ResponseEntity> listGeographicSite() { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); @@ -128,7 +126,6 @@ public interface GeographicSiteManagementApi { @ApiResponse(responseCode = "500", description = "Internal Server Error" ) }) @RequestMapping(value = "/geographicSite/{id}", produces = { "application/json" }, - consumes = { "application/json" }, method = RequestMethod.GET) default ResponseEntity retrieveGeographicSite(@Parameter(description = "Identifier of the Geographic site",required=true) @PathVariable("id") String id) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); -- GitLab