Skip to content

ScaCap/spring-auto-restdocs

master
Switch branches/tags
Code

Latest commit

* Bump spring-webflux from 5.2.5.RELEASE to 5.3.18

Bumps [spring-webflux](https://github.com/spring-projects/spring-framework) from 5.2.5.RELEASE to 5.3.18.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](spring-projects/spring-framework@v5.2.5.RELEASE...v5.3.18)

---
updated-dependencies:
- dependency-name: org.springframework:spring-webflux
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update spring-test as well

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florian Benz <florian.benz@scalable.capital>
b6e8fdd

Git stats

Files

Permalink
Failed to load latest commit information.

Spring Auto REST Docs

Apache License 2 Build status Maven Central status

The aim of this Spring REST Docs extension is to help you write even less - both code and documentation. You still get the same nice documentation as with Spring REST Docs itself. The main benefit is that writing less and moving the documentation closer to the code increases the maintainability of the documentation.

In Spring REST Docs you have to add the documentation for your JSON with a DSL in your test. We moved this documentation to the POJO that represents your JSON object. You just add Javadoc to the fields and it will end up in the documentation.

Learn more in the Introducing Spring Auto REST Docs article. The slides and the video recording from the Introducing Spring Auto REST Docs talk at Spring IO 2017 are also available.

Documentation

Current 2.0.11 release reference guide (based on Spring REST Docs 2.x).

Legacy 1.0.15 release reference guide (based on Spring REST Docs 1.x).

Latest master 2.0.12-SNAPSHOT reference guide.

Main features

Usage

See the Getting started section in the documentation.

Sample projects

  • Java WebMVC: Spring Boot 2.3, WebMVC, JUnit 4, Java 8/11/14, Maven/Gradle
  • Java WebFlux: Spring Boot 2.3, WebFlux, JUnit 4, Java 8/11/14, Maven
  • Kotlin WebMVC: Spring Boot 2.3, WebMVC, JUnit 5, Kotlin 1.4, Maven/Gradle

All sample projects use shared POJOs to demonstarte the usage across projects.

Building from source

See the Building from source section in the documentation.

Contributing

  • Submit a Pull Request for any enhancement you made.
  • Create an issue describing your particular problem.
  • Ask and answer questions on Stack Overflow using the spring-auto-restdocs tag.

License

Spring Auto REST Docs is Open Source software released under the Apache 2.0 license.