Skip to content

Commit

Permalink
fix comments routes and swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinBeczak committed Dec 19, 2023
1 parent 7825b05 commit a856760
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conf/v2_route/changes.api
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ POST /change/test @org.maproulette.controllers.OSMChan
# description: The user is not authorized to make this request
# parameters:
# - name: taskId
# in: query
# in: path
# description: The task id that should be marked as fixed after this tag change has been applied.
# - name: requestReview
# in: query
Expand Down
14 changes: 14 additions & 0 deletions conf/v2_route/task.api
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,20 @@ PUT /task/:id/metareview/:status @org.maproulette.
# - name: errorTags
# in: query
# description: Optional string to provide error tags in the review history
# requestBody:
# description: The JSON structure for the Comments body
# required: false
# content:
# application/json:
# schema:
# type: object
# properties:
# comment:
# type: string
# description: User's comment.
# example: "This is an example comment."
# required:
# - comment
###
PUT /taskBundle/:id/metareview/:status @org.maproulette.framework.controller.TaskBundleController.setBundleMetaReviewStatus(id:Long, status:Int, tags:String ?="", errorTags:String ?= "")
###
Expand Down

0 comments on commit a856760

Please sign in to comment.