aboutsummaryrefslogtreecommitdiff
path: root/docs/docs.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/docs.go65
1 files changed, 65 insertions, 0 deletions
diff --git a/docs/docs.go b/docs/docs.go
index f689ba6..c2c1bab 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -522,6 +522,60 @@ const docTemplate = `{
522 } 522 }
523 } 523 }
524 }, 524 },
525 "post": {
526 "description": "Create map discussion comment with specified map id.",
527 "produces": [
528 "application/json"
529 ],
530 "tags": [
531 "maps"
532 ],
533 "parameters": [
534 {
535 "type": "string",
536 "description": "JWT Token",
537 "name": "Authorization",
538 "in": "header",
539 "required": true
540 },
541 {
542 "type": "integer",
543 "description": "Map ID",
544 "name": "mapid",
545 "in": "path",
546 "required": true
547 },
548 {
549 "description": "Body",
550 "name": "request",
551 "in": "body",
552 "required": true,
553 "schema": {
554 "$ref": "#/definitions/handlers.CreateMapDiscussionCommentRequest"
555 }
556 }
557 ],
558 "responses": {
559 "200": {
560 "description": "OK",
561 "schema": {
562 "allOf": [
563 {
564 "$ref": "#/definitions/models.Response"
565 },
566 {
567 "type": "object",
568 "properties": {
569 "data": {
570 "$ref": "#/definitions/handlers.CreateMapDiscussionCommentRequest"
571 }
572 }
573 }
574 ]
575 }
576 }
577 }
578 },
525 "delete": { 579 "delete": {
526 "description": "Delete map summary with specified map id.", 580 "description": "Delete map summary with specified map id.",
527 "produces": [ 581 "produces": [
@@ -1325,6 +1379,17 @@ const docTemplate = `{
1325 } 1379 }
1326 } 1380 }
1327 }, 1381 },
1382 "handlers.CreateMapDiscussionCommentRequest": {
1383 "type": "object",
1384 "required": [
1385 "comment"
1386 ],
1387 "properties": {
1388 "comment": {
1389 "type": "string"
1390 }
1391 }
1392 },
1328 "handlers.CreateMapDiscussionRequest": { 1393 "handlers.CreateMapDiscussionRequest": {
1329 "type": "object", 1394 "type": "object",
1330 "required": [ 1395 "required": [