Added Readme
This commit is contained in:
parent
d586d1557c
commit
0f4364b2f2
2 changed files with 16 additions and 0 deletions
15
task04/README.md
Normal file
15
task04/README.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Getting started
|
||||
|
||||
This task is about Spring HATEOAS and Spring REST Docs.
|
||||
|
||||
TODO 01 - 03 deal with Spring HATEOAS. Add the missing links. The TODO comments explain which links you should add.
|
||||
|
||||
For the second part of this task edit the `InvoiceAPITest` file. Additional to that have a look at the file `all_invoices.doc`.
|
||||
Execute `maven install` and look at the file in `target/generated-docs/index.html` to see the result. (TODO 04 - 07)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -134,6 +134,7 @@ class InvoiceAPITest {
|
|||
),
|
||||
responseFields(
|
||||
fieldWithPath("invoices").description("Array that contains all invoices"),
|
||||
fieldWithPath("invoices[].invoiceId").description("Id of an invoice"),
|
||||
subsectionWithPath("_links").description("Link to resources")
|
||||
)
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue