diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-06-29 19:35:54 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-06-29 19:35:54 +0300 |
| commit | f187bc7df9b25acdbbf07f13063c9ea0111a6a3b (patch) | |
| tree | 2958d58af18bdd2b20921260c4624c5e0a1064f5 /docs/swagger.json | |
| parent | docs: updated for add/edit/delete map summary (diff) | |
| download | lphub-f187bc7df9b25acdbbf07f13063c9ea0111a6a3b.tar.gz lphub-f187bc7df9b25acdbbf07f13063c9ea0111a6a3b.tar.bz2 lphub-f187bc7df9b25acdbbf07f13063c9ea0111a6a3b.zip | |
docs: fix delete map summary
Former-commit-id: c94adce2fb9a6210f2732a35075bbe49adebc532
Diffstat (limited to '')
| -rw-r--r-- | docs/swagger.json | 53 |
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 | { |