~/talk

JUnit, RESTDocs, Asciidoctor and Maven to document your APIs

Talkat JavaDay Ukraine 2017 · 2017-11-04..11-05· [documentation, testing]
slides:none on file

Shows a concrete pipeline that turns JUnit + MockMvc tests and Spring REST Docs into live site docs: Maven Site + asciidoctor renders source-adjacent Asciidoc, includes actual pom snippets and diagrams, and deploys via wagon-ssh to docs.nemesis.io; a custom JUnit run listener collects test snippets into rest-docs-metadata.json so the docs show curl/http examples, tabs and dependency tables for 120 modules, and the build runs in Jenkins or locally with asciidoctor+maven site. The system is implemented and running.

AI-written summary · about

  1. 0:00Introduction to API documentation
  2. 6:35Documentation challenges in large projects
  3. 10:12Maven and Asciidoctor setup
  4. 17:23Why Asciidoctor over Markdown
  5. 20:44Dynamic module documentation
  6. 29:46Breadcrumbs and navigation
  7. 32:41Spring Boot properties documentation
  8. 35:12REST API testing with Spring RESTDocs
  9. 41:46Future improvements and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.