mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
allow empty names for modification requests, not modifying the name (fix #263)
This commit is contained in:
@@ -18,7 +18,7 @@ public class CategoryModificationRequest implements Serializable {
|
||||
@ApiProperty(value = "id", required = true)
|
||||
private Long id;
|
||||
|
||||
@ApiProperty(value = "new name")
|
||||
@ApiProperty(value = "new name, null if not changed")
|
||||
private String name;
|
||||
|
||||
@ApiProperty(value = "new parent category id")
|
||||
|
||||
@@ -18,7 +18,7 @@ public class FeedModificationRequest implements Serializable {
|
||||
@ApiProperty(value = "id", required = true)
|
||||
private Long id;
|
||||
|
||||
@ApiProperty(value = "new name")
|
||||
@ApiProperty(value = "new name, null if not changed")
|
||||
private String name;
|
||||
|
||||
@ApiProperty(value = "new parent category id")
|
||||
|
||||
Reference in New Issue
Block a user