aboutsummaryrefslogtreecommitdiff
path: root/docs/docs.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-29 19:35:54 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-29 19:35:54 +0300
commitf187bc7df9b25acdbbf07f13063c9ea0111a6a3b (patch)
tree2958d58af18bdd2b20921260c4624c5e0a1064f5 /docs/docs.go
parentdocs: updated for add/edit/delete map summary (diff)
downloadlphub-f187bc7df9b25acdbbf07f13063c9ea0111a6a3b.tar.gz
lphub-f187bc7df9b25acdbbf07f13063c9ea0111a6a3b.tar.bz2
lphub-f187bc7df9b25acdbbf07f13063c9ea0111a6a3b.zip
docs: fix delete map summary
Former-commit-id: c94adce2fb9a6210f2732a35075bbe49adebc532
Diffstat (limited to 'docs/docs.go')
-rw-r--r--docs/docs.go53
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 {