package fi.evident.apina.model;

import static java.util.Objects.requireNonNull;

/**
 * Represents a template for URLs.
 */
public final class URITemplate {

    private final String template;

    public URITemplate(String template) {
        this.template = requireNonNull(template);
    }

    @Override
    public String toString() {
        return template;
    }
}

@@ -287,16 +287,355 @@
 %0A    %7D%0A%0A
+    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A        URITemplate that = (URITemplate) o;%0A%0A        return template.equals(that.template);%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return template.hashCode();%0A    %7D%0A%0A
     @Ove

Implement structural equality for URITemplates