Update README to recommend that pretty printing of JSON is enabled
Closes gh-16
This commit is contained in:
committed by
Andy Wilkinson
parent
565a57e5da
commit
289ba57159
@@ -283,6 +283,13 @@ be written:
|
||||
- `index/response.asciidoc`
|
||||
- `index/request-response.asciidoc`
|
||||
|
||||
#### Pretty-printed snippets
|
||||
|
||||
To improve the readability of the generated snippets you may want to configure your
|
||||
application to produce JSON that has been pretty-printed. If you are a Spring Boot
|
||||
user you can do so by setting the `spring.jackson.serialization.indent_output` property
|
||||
to `true`.
|
||||
|
||||
### Hand-written documentation
|
||||
|
||||
Producing high-quality, easily readable documentation is difficult and the process is
|
||||
|
||||
@@ -1 +1 @@
|
||||
http.mappers.json-pretty-print: true
|
||||
spring.jackson.serialization.indent_output: true
|
||||
Reference in New Issue
Block a user