File tree Expand file tree Collapse file tree
src/main/java/uk/gov/hmcts/reform/lrdapi/controllers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767@ Slf4j
6868public class LrdCourtVenueController {
6969
70+ private static final String WARNING_COURT_VENUE_ID = "⚠ **Note: the `court_venue_id` property returned "
71+ + "should not be used: as it is an internal value that may change.**" ;
7072
7173 @ Value ("${loggingComponentName}" )
7274 private String loggingComponentName ;
@@ -166,13 +168,12 @@ public ResponseEntity<List<LrdCourtVenueResponse>> retrieveCourtVenues(
166168
167169 @ Operation (
168170 summary = "This API will retrieve Court Venues for given Service Code" ,
169- description = "No roles required to access this API" ,
171+ description = "No roles required to access this API<br/><br/>" + WARNING_COURT_VENUE_ID ,
170172 security = {
171173 @ SecurityRequirement (name = "ServiceAuthorization" ),
172174 @ SecurityRequirement (name = "Authorization" )
173175 }
174176 )
175-
176177 @ ApiResponse (
177178 responseCode = "200" ,
178179 description = "Successfully retrieved list of Court Venues for given Service Code" ,
@@ -198,7 +199,6 @@ public ResponseEntity<List<LrdCourtVenueResponse>> retrieveCourtVenues(
198199 description = "Internal Server Error" ,
199200 content = @ Content
200201 )
201-
202202 @ GetMapping (
203203 path = "/services" ,
204204 produces = APPLICATION_JSON_VALUE
You can’t perform that action at this time.
0 commit comments