aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/swagger.json')
-rw-r--r--docs/swagger.json53
1 files changed, 53 insertions, 0 deletions
diff --git a/docs/swagger.json b/docs/swagger.json
index 7e251ca..af3fa11 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -493,6 +493,59 @@
493 "tags": [ 493 "tags": [
494 "maps" 494 "maps"
495 ], 495 ],
496 "summary": "Create map summary with specified map id.",
497 "parameters": [
498 {
499 "type": "integer",
500 "description": "Map ID",
501 "name": "id",
502 "in": "path",
503 "required": true
504 },
505 {
506 "description": "Body",
507 "name": "request",
508 "in": "body",
509 "required": true,
510 "schema": {
511 "$ref": "#/definitions/models.CreateMapSummaryRequest"
512 }
513 }
514 ],
515 "responses": {
516 "200": {
517 "description": "OK",
518 "schema": {
519 "allOf": [
520 {
521 "$ref": "#/definitions/models.Response"
522 },
523 {
524 "type": "object",
525 "properties": {
526 "data": {
527 "$ref": "#/definitions/models.CreateMapSummaryRequest"
528 }
529 }
530 }
531 ]
532 }
533 },
534 "400": {
535 "description": "Bad Request",
536 "schema": {
537 "$ref": "#/definitions/models.Response"
538 }
539 }
540 }
541 },
542 "delete": {
543 "produces": [
544 "application/json"
545 ],
546 "tags": [
547 "maps"
548 ],
496 "summary": "Delete map summary with specified map id.", 549 "summary": "Delete map summary with specified map id.",
497 "parameters": [ 550 "parameters": [
498 { 551 {