001package io.jstach.opt.dropwizard.example;
002
003import io.jstach.jstache.JStache;
004import io.jstach.opt.dropwizard.JStacheViewSupport;
005
006/**
007 * A JStache model using external template:
008 * <code>src/main/resources/io/jstach/opt/dropwizard/example/ExampleModel.mustache</code>.
009 * <p>
010 * The static jstachio configuration is pulled from the
011 * {@linkplain io.jstach.opt.dropwizard.example package-info}. Take note how the model
012 * implements {@link JStacheViewSupport} and the static configuration will enforce this on
013 * all annotated models.
014 * @param message the message to display
015 * @author agentgt
016 * @see io.jstach.opt.dropwizard.example
017 */
018@JStache
019public record ExampleModel(String message) implements JStacheViewSupport {
020
021}