restdocs

Installation
SKILL.md

REST Docs rules

Overview

This document defines rules for writing Spring REST Docs tests using the project's RestDocsSupport base class, Field DSL, and common response patterns.

Key Principle: Extend RestDocsSupport, mock the Facade, and use DocsFieldType and Field DSL for all documentation tests.

Note: Full documentation is available in the .docs/restdocs/ directory.

Document Contents
.docs/restdocs/01-overview.adoc Directory structure, core components, DocsFieldType, Field DSL
.docs/restdocs/02-writing-tests.adoc Step-by-step DocsTest writing guide, common response patterns
.docs/restdocs/03-examples.adoc HolidayControllerDocsTest analysis, AsciiDoc document authoring
.docs/restdocs/04-reference.adoc Best practices, troubleshooting, checklist, build commands

Core rules

Installs
1
First Seen
Apr 10, 2026