Skip to content

Files

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Latest commit

Sep 30, 2019
dab59d1 · Sep 30, 2019

History

History

rest-notes-slate

README.md

REST Notes Slate

This sample shows how to document a RESTful API using Spring REST Docs and Slate. The sample can be built with Gradle, but requires Ruby and the bundler gem to be installed.

Quickstart

./gradlew build
open build/docs/api-guide.html

Details

The bulk of the documentation is written in Markdown in the file named slate/source/api-guide.md.erb. When the documentation is built, snippets generated by Spring REST Docs in the ApiDocumentation tests are incorporated into this documentation by ERB. The combined Markdown document is then turned into HTML.