Andy Wilkinson
8e2fc7f45d
Provide support for documenting path parameters
This commit adds support for documenting a request's path parameters.
For example:
mockMvc.perform(
get("/locations/{latitude}/{longitude}", 51.5072, 0.1275))
.andExpect(status().isOk())
.andDo(document("locations").withPathParameters(
parameterWithName("latitude")
.description("The location's latitude"),
parameterWithName("longitude")
.description("The location's longitude")
));
Closes gh-86
2015-07-29 14:50:49 +01:00
..
2015-05-05 12:09:45 +01:00
2015-04-16 12:34:28 +01:00
2015-07-29 14:50:49 +01:00
2015-06-24 14:36:47 +01:00
2015-02-16 16:46:56 +00:00
2015-02-16 16:46:56 +00:00
2015-06-24 14:36:47 +01:00