more api documentation

This commit is contained in:
Athou
2013-04-16 12:36:18 +02:00
parent 11a9d68948
commit 3ab8abe5bd
6 changed files with 119 additions and 55 deletions

View File

@@ -17,19 +17,19 @@ import com.wordnik.swagger.annotations.ApiProperty;
@ApiClass("List of entries with some metadata")
public class Entries implements Serializable {
@ApiProperty("Name of the feed or the category requested")
@ApiProperty("name of the feed or the category requested")
private String name;
@ApiProperty("Error or warning message")
@ApiProperty("error or warning message")
private String message;
@ApiProperty("TImes the server tried to refresh the feed and failed")
@ApiProperty("times the server tried to refresh the feed and failed")
private int errorCount;
@ApiProperty("List generation Timestamp")
@ApiProperty("list generation Timestamp")
private long timestamp;
@ApiProperty("List of entries")
@ApiProperty("list of entries")
private List<Entry> entries = Lists.newArrayList();
public String getName() {