Skip to content
Snippets Groups Projects

Implemented and documented interactive API documentation with Springfox

Closed Tjark Wilhelm Hoeck requested to merge twhc55/arsnova-backend:swagger-api into master
Viewing commit 2e078392
Show latest version
1 file
+ 1
11
Compare changes
  • Side-by-side
  • Inline
@@ -61,17 +61,7 @@ public class AudienceQuestionController extends PaginationController {
@@ -61,17 +61,7 @@ public class AudienceQuestionController extends PaginationController {
@ApiOperation(value = "Count all the questions in current session",
@ApiOperation(value = "Count all the questions in current session",
nickname = "getAudienceQuestionCount",
nickname = "getAudienceQuestionCount",
notes = "getInterposedCount(String sessionkey, String user)"/*,
notes = "getInterposedCount(String sessionkey, String user)")
authorizations = {
@Authorization(
value = "arsnovaoauth",
scopes = {
@AuthorizationScope(
scope = "getInterposedCount:questions",
description = "Count all the questions in current session")
}
)
}*/)
@RequestMapping(value = "/count", method = RequestMethod.GET)
@RequestMapping(value = "/count", method = RequestMethod.GET)
@DeprecatedApi
@DeprecatedApi
@Deprecated
@Deprecated