50 lines
1.8 KiB
Markdown
50 lines
1.8 KiB
Markdown
# Spring REST Docs [![Build status][1]][2]
|
|
|
|
## Overview
|
|
|
|
The primary goal of this project is to make it easy to document RESTful services by
|
|
combining content that's been hand-written using [Asciidoctor][3] with auto-generated
|
|
examples produced with the [Spring MVC Test][4] framework. The result is intended to be
|
|
an easy-to-read user guide, akin to [GitHub's API documentation][5] for example, rather
|
|
than the fully automated, dense API documentation produced by tools like [Swagger][6].
|
|
|
|
For a broader introduction see the Documenting RESTful APIs presentation. Both the
|
|
[slides][7] and a [video recording][8] are available.
|
|
|
|
## Learning more
|
|
|
|
To learn more about Spring REST Docs, please consult the [reference documentation][9].
|
|
|
|
## Building from source
|
|
|
|
Spring REST Docs requires Java 7 or later and is built using [Gradle][10]:
|
|
|
|
```
|
|
./gradlew build
|
|
```
|
|
|
|
## Contributing
|
|
|
|
Contributors to this project agree to uphold its [code of conduct][11].
|
|
[Pull requests][12] are welcome. Please see the [contributor guidelines][13] for details.
|
|
|
|
## Licence
|
|
|
|
Spring REST Docs is open source software released under the [Apache 2.0 license][14].
|
|
|
|
[1]: https://build.spring.io/plugins/servlet/buildStatusImage/SRD-PUB (Build status)
|
|
[2]: https://build.spring.io/browse/SRD-PUB
|
|
[3]: http://asciidoctor.org
|
|
[4]: http://docs.spring.io/spring-framework/docs/4.1.x/spring-framework-reference/htmlsingle/#spring-mvc-test-framework
|
|
[5]: https://developer.github.com/v3/
|
|
[6]: http://swagger.io
|
|
[7]: https://speakerdeck.com/ankinson/documenting-restful-apis-webinar
|
|
[8]: https://www.youtube.com/watch?v=knH5ihPNiUs&feature=youtu.be
|
|
[9]: http://docs.spring.io/spring-restdocs/docs/
|
|
[10]: http://gradle.org
|
|
[11]: CODE_OF_CONDUCT.md
|
|
[12]: https://help.github.com/articles/using-pull-requests/
|
|
[13]: CONTRIBUTING.md
|
|
[14]: http://www.apache.org/licenses/LICENSE-2.0.html
|
|
|