Skip to content

Commit acba143

Browse files
authored
Merge pull request #274 from sdslabs/docs
documentation
2 parents 731280b + d4b9353 commit acba143

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

api/info.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,15 @@ func getAllUsersInfoHandler(c *gin.Context) {
471471
return
472472
}
473473

474+
// Handles submissions made by the user
475+
// @Summary Handles submissions made by the user
476+
// @Description Handles submissions made by the user
477+
// @Tags submissions
478+
// @Accept json
479+
// @Produce json
480+
// @Success 200 {object} api.SubmissionResp
481+
// @Failure 500 {object} api.HTTPPlainResp
482+
// @Router /api/info/submissions [post]
474483
func submissionsHandler(c *gin.Context) {
475484
submissions, err := database.QueryAllSubmissions()
476485
if err != nil {

0 commit comments

Comments
 (0)