Skip to content

tkopczynski/restdocs-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restdocs-demo

This repository contains the source code for my talk about Spring REST Docs.

It consists of a naive implementation of a CMS system. Additionally it provides a test suite which serves the purpose of presenting the most important and interesting features of Spring REST Docs:

  • documenting HTTP communication
  • documenting request parameters
  • documenting response fields
  • documenting HAL links
  • documenting cookies
  • presenting examples of invoking command line tools (curl, HTTPie) against the system under test
  • relaxed snippets
  • reusing snippets
  • request/response preprocessing

Presentation

This talk was presented on the following occasions:

  1. Warsaw JUG Flash Talk (21.02.2017)
  1. DevCrowd (22.04.2017)