Skip to content
Snippets Groups Projects

Integrate recommendations with movies service

14 files
+ 176
153
Compare changes
  • Side-by-side
  • Inline
Files
14
@@ -14,8 +14,8 @@ public record MovieDTO(
Long id,
@NotBlank
@Schema(description = "Movie title", example = "The Shawshank Redemption")
String title,
@Schema(description = "Movie name", example = "The Shawshank Redemption")
String name,
@NotBlank
@Schema(description = "Movie director", example = "Tom Hanks")
@@ -29,8 +29,7 @@ public record MovieDTO(
@Schema(description = "Movie actors", example = "John Doe, Jane Doe, John Smith")
List<String> actors,
@NotEmpty
@Schema(description = "Movie rating", example = "8.7")
Double rating
@Schema(description = "Movie's poster url", example = "https://picsum.photos/200")
String imageUrl
) {
}
Loading