adding maven config

This commit is contained in:
John Thompson
2019-05-27 16:57:12 -04:00
parent d6a96f8498
commit a8b37662e5
2 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
= SFG Brewery Order Service Docs
John Thompson;
:doctype: book
:icons: font
:source-highlighter: highlightjs
Sample application demonstrating how to use Spring REST Docs with JUnit 5.
`BeerOrderControllerTest` makes a call to a very simple service and produces three
documentation snippets.
One showing how to make a request using cURL:
include::{snippets}/orders/curl-request.adoc[]
One showing the HTTP request:
include::{snippets}/orders/http-request.adoc[]
And one showing the HTTP response:
include::{snippets}/orders/http-response.adoc[]
Response Body:
include::{snippets}/orders/response-body.adoc[]
Response Fields:
include::{snippets}/orders/response-fields.adoc[]