Skip to content
Snippets Groups Projects
Commit a3280adc authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

fixed swagger for get articles

parent 4e0402e8
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ public class ArticlesApi {
@RequestMapping(method = RequestMethod.GET)
public ResponseEntity<Iterable> getArticles(
@ApiParam(value = "Only ask own articles") @RequestParam(value = "own", required = false) Boolean own,
@ApiParam(value = "Only ask results matching status", allowableValues = "{values=[draft, published, closed]}") @RequestParam(value = "status", required = false) String status
@ApiParam(value = "Only ask results matching status", allowableValues = "draft, published") @RequestParam(value = "status", required = false) String status
) {
LOGGER.info("Get articles");
......
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