@@ -0,0 +1,564 @@
+package xyz.nedderhoff.dropwizard.api;%0A%0A%0Aimport org.hibernate.validator.constraints.Length;%0A%0Aimport com.fasterxml.jackson.annotation.JsonProperty;%0A%0Apublic class Saying %7B%0A    private long id;%0A%0A    @Length(max = 3)%0A    private String content;%0A%0A    public Saying() %7B%0A        // Jackson deserialization%0A    %7D%0A%0A    public Saying(long id, String content) %7B%0A        this.id = id;%0A        this.content = content;%0A    %7D%0A%0A    @JsonProperty%0A    public long getId() %7B%0A        return id;%0A    %7D%0A%0A    @JsonProperty%0A    public String getContent() %7B%0A        return content;%0A    %7D%0A%7D

Create api