Commit 9097c967 authored by Matija Obreza's avatar Matija Obreza

Generate Genesys BrAPI documentation using RestDoc (closes #9)

parent 03badd60
......@@ -25,4 +25,4 @@ include::brapi/germplasm.adoc[]
[bibliography]
- [[[brapiv1]]] http://docs.brapi.apiary.io/. Retrieved March 2017.
- [[brapiv1]] http://docs.brapi.apiary.io/. Retrieved March 2017.
......@@ -131,7 +131,7 @@ include::{snippets}/brapi-germplasm/path-parameters.adoc[]
"acquisitionDate": null
}
}
-----
----
include::{snippets}/brapi-germplasm/response-fields.adoc[]
......@@ -20,18 +20,16 @@ import static org.hamcrest.Matchers.*;
import static org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.*;
import static org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders.*;
import static org.springframework.restdocs.payload.PayloadDocumentation.*;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
import static org.springframework.restdocs.request.RequestDocumentation.*;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.google.common.collect.Lists;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment