diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-06-29 11:57:53 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-06-29 11:57:53 +0300 |
| commit | 85c6da965ec401dabb162df09160b4ce9dc28413 (patch) | |
| tree | bc62d79f948d8264b1a95c9d360883f5e8d7fc83 /docs | |
| parent | fix: auth sql typo (diff) | |
| download | lphub-85c6da965ec401dabb162df09160b4ce9dc28413.tar.gz lphub-85c6da965ec401dabb162df09160b4ce9dc28413.tar.bz2 lphub-85c6da965ec401dabb162df09160b4ce9dc28413.zip | |
feat: route id in map summary, update docs
Former-commit-id: f8db004d2c17f09f665e51ec4e730418248bfd07
Diffstat (limited to '')
| -rw-r--r-- | docs/docs.go | 9 | ||||
| -rw-r--r-- | docs/swagger.json | 9 | ||||
| -rw-r--r-- | docs/swagger.yaml | 6 |
3 files changed, 24 insertions, 0 deletions
diff --git a/docs/docs.go b/docs/docs.go index 090d3e8..91f91ef 100644 --- a/docs/docs.go +++ b/docs/docs.go | |||
| @@ -467,6 +467,15 @@ const docTemplate = `{ | |||
| 467 | "name": "id", | 467 | "name": "id", |
| 468 | "in": "path", | 468 | "in": "path", |
| 469 | "required": true | 469 | "required": true |
| 470 | }, | ||
| 471 | { | ||
| 472 | "description": "Body", | ||
| 473 | "name": "request", | ||
| 474 | "in": "body", | ||
| 475 | "required": true, | ||
| 476 | "schema": { | ||
| 477 | "$ref": "#/definitions/models.EditMapSummaryRequest" | ||
| 478 | } | ||
| 470 | } | 479 | } |
| 471 | ], | 480 | ], |
| 472 | "responses": { | 481 | "responses": { |
diff --git a/docs/swagger.json b/docs/swagger.json index 62079b1..c6bbfbc 100644 --- a/docs/swagger.json +++ b/docs/swagger.json | |||
| @@ -460,6 +460,15 @@ | |||
| 460 | "name": "id", | 460 | "name": "id", |
| 461 | "in": "path", | 461 | "in": "path", |
| 462 | "required": true | 462 | "required": true |
| 463 | }, | ||
| 464 | { | ||
| 465 | "description": "Body", | ||
| 466 | "name": "request", | ||
| 467 | "in": "body", | ||
| 468 | "required": true, | ||
| 469 | "schema": { | ||
| 470 | "$ref": "#/definitions/models.EditMapSummaryRequest" | ||
| 471 | } | ||
| 463 | } | 472 | } |
| 464 | ], | 473 | ], |
| 465 | "responses": { | 474 | "responses": { |
diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 9d58620..4291cfc 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml | |||
| @@ -480,6 +480,12 @@ paths: | |||
| 480 | name: id | 480 | name: id |
| 481 | required: true | 481 | required: true |
| 482 | type: integer | 482 | type: integer |
| 483 | - description: Body | ||
| 484 | in: body | ||
| 485 | name: request | ||
| 486 | required: true | ||
| 487 | schema: | ||
| 488 | $ref: '#/definitions/models.EditMapSummaryRequest' | ||
| 483 | produces: | 489 | produces: |
| 484 | - application/json | 490 | - application/json |
| 485 | responses: | 491 | responses: |