@@ -259,7 +259,7 @@ public HttpResponse<SoundResponseDTO> update(@Body @Valid SoundEventDTO model) {
259
259
)
260
260
@ Get ("{id}/sources" )
261
261
@ Produces (MediaType .APPLICATION_JSON )
262
- public HttpResponse <Page <SoundResponseDTO >> get (@ Valid @ PathVariable UUID id , Pageable pageable ) {
262
+ public HttpResponse <Page <SoundResponseDTO >> get (@ PathVariable UUID id , Pageable pageable ) {
263
263
Page <SoundResponseDTO > result = soundService .getSoundSourcesById (id , pageable );
264
264
return HttpResponse .ok (result );
265
265
}
@@ -296,7 +296,7 @@ public HttpResponse<Page<SoundResponseDTO>> get(@Valid @PathVariable UUID id, Pa
296
296
@ Post ("{id}/sources" )
297
297
@ Produces (MediaType .APPLICATION_JSON )
298
298
public HttpResponse <SoundResponseDTO > createSource (
299
- @ Valid @ PathVariable ("id" ) UUID soundEventId ,
299
+ @ PathVariable ("id" ) UUID soundEventId ,
300
300
@ Body SoundFileSourceDTO sourceDTO
301
301
) {
302
302
SoundResponseDTO result = soundService .createAndLinkSource (soundEventId , sourceDTO );
@@ -335,7 +335,7 @@ public HttpResponse<SoundResponseDTO> createSource(
335
335
@ Post ("{id}/sources/update" )
336
336
@ Produces (MediaType .APPLICATION_JSON )
337
337
public HttpResponse <SoundResponseDTO > updateSource (
338
- @ Valid @ PathVariable ("id" ) UUID soundEventId ,
338
+ @ PathVariable ("id" ) UUID soundEventId ,
339
339
@ Body SoundFileSourceDTO sourceDTO
340
340
) {
341
341
SoundResponseDTO result = soundService .updateLinkedSource (soundEventId , sourceDTO );
@@ -375,7 +375,7 @@ public HttpResponse<SoundResponseDTO> updateSource(
375
375
@ Delete ("{id}/sources/delete" )
376
376
@ Produces (MediaType .APPLICATION_JSON )
377
377
public HttpResponse <SoundResponseDTO > deleteSource (
378
- @ Valid @ PathVariable ("id" ) UUID soundEventId ,
378
+ @ PathVariable ("id" ) UUID soundEventId ,
379
379
@ Body SoundFileSourceDTO sourceDTO
380
380
) {
381
381
SoundResponseDTO result = soundService .deleteLinkedSource (soundEventId , sourceDTO );
0 commit comments