diff options
Diffstat (limited to 'docs/docs.go')
| -rw-r--r-- | docs/docs.go | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/docs/docs.go b/docs/docs.go index 40632e3..8affdab 100644 --- a/docs/docs.go +++ b/docs/docs.go | |||
| @@ -500,6 +500,59 @@ const docTemplate = `{ | |||
| 500 | "tags": [ | 500 | "tags": [ |
| 501 | "maps" | 501 | "maps" |
| 502 | ], | 502 | ], |
| 503 | "summary": "Create map summary with specified map id.", | ||
| 504 | "parameters": [ | ||
| 505 | { | ||
| 506 | "type": "integer", | ||
| 507 | "description": "Map ID", | ||
| 508 | "name": "id", | ||
| 509 | "in": "path", | ||
| 510 | "required": true | ||
| 511 | }, | ||
| 512 | { | ||
| 513 | "description": "Body", | ||
| 514 | "name": "request", | ||
| 515 | "in": "body", | ||
| 516 | "required": true, | ||
| 517 | "schema": { | ||
| 518 | "$ref": "#/definitions/models.CreateMapSummaryRequest" | ||
| 519 | } | ||
| 520 | } | ||
| 521 | ], | ||
| 522 | "responses": { | ||
| 523 | "200": { | ||
| 524 | "description": "OK", | ||
| 525 | "schema": { | ||
| 526 | "allOf": [ | ||
| 527 | { | ||
| 528 | "$ref": "#/definitions/models.Response" | ||
| 529 | }, | ||
| 530 | { | ||
| 531 | "type": "object", | ||
| 532 | "properties": { | ||
| 533 | "data": { | ||
| 534 | "$ref": "#/definitions/models.CreateMapSummaryRequest" | ||
| 535 | } | ||
| 536 | } | ||
| 537 | } | ||
| 538 | ] | ||
| 539 | } | ||
| 540 | }, | ||
| 541 | "400": { | ||
| 542 | "description": "Bad Request", | ||
| 543 | "schema": { | ||
| 544 | "$ref": "#/definitions/models.Response" | ||
| 545 | } | ||
| 546 | } | ||
| 547 | } | ||
| 548 | }, | ||
| 549 | "delete": { | ||
| 550 | "produces": [ | ||
| 551 | "application/json" | ||
| 552 | ], | ||
| 553 | "tags": [ | ||
| 554 | "maps" | ||
| 555 | ], | ||
| 503 | "summary": "Delete map summary with specified map id.", | 556 | "summary": "Delete map summary with specified map id.", |
| 504 | "parameters": [ | 557 | "parameters": [ |
| 505 | { | 558 | { |