Enable preview of Spring REST Docs snippets in IntelliJ IDEA

If you use Spring REST Docs, you will be using the Asciidoctor include¬†directive a lot to include the request and responses that are generated from the unit tests. Drawback is that the Asciidoctor plugin for IntelliJ IDEA will not render them by default and looks like this: The reason is simple, the snippets¬†attribute is only…

Creating a REST web application in 4 classes

After visiting Spring Exchange in London, I wanted to try Spring Boot and Spring Data. I managed to it this weekend and was quite impressed. First, I needed an entity class: My entity just has an id which will be used as primary key in the database, a descriptive name and an other String (purpose…