diff options
Diffstat (limited to 'docs/docs.go')
| -rw-r--r-- | docs/docs.go | 53 |
1 files changed, 44 insertions, 9 deletions
diff --git a/docs/docs.go b/docs/docs.go index 9712377..5a107c1 100644 --- a/docs/docs.go +++ b/docs/docs.go | |||
| @@ -345,13 +345,6 @@ const docTemplate = `{ | |||
| 345 | "required": true | 345 | "required": true |
| 346 | }, | 346 | }, |
| 347 | { | 347 | { |
| 348 | "type": "integer", | ||
| 349 | "description": "Discussion ID", | ||
| 350 | "name": "discussionid", | ||
| 351 | "in": "path", | ||
| 352 | "required": true | ||
| 353 | }, | ||
| 354 | { | ||
| 355 | "description": "Body", | 348 | "description": "Body", |
| 356 | "name": "request", | 349 | "name": "request", |
| 357 | "in": "body", | 350 | "in": "body", |
| @@ -714,6 +707,48 @@ const docTemplate = `{ | |||
| 714 | } | 707 | } |
| 715 | } | 708 | } |
| 716 | }, | 709 | }, |
| 710 | "/maps/{mapid}/record/{recordid}": { | ||
| 711 | "delete": { | ||
| 712 | "description": "Delete record with specified map and record id.", | ||
| 713 | "produces": [ | ||
| 714 | "application/json" | ||
| 715 | ], | ||
| 716 | "tags": [ | ||
| 717 | "maps" | ||
| 718 | ], | ||
| 719 | "parameters": [ | ||
| 720 | { | ||
| 721 | "type": "integer", | ||
| 722 | "description": "Map ID", | ||
| 723 | "name": "mapid", | ||
| 724 | "in": "path", | ||
| 725 | "required": true | ||
| 726 | }, | ||
| 727 | { | ||
| 728 | "type": "integer", | ||
| 729 | "description": "Record ID", | ||
| 730 | "name": "recordid", | ||
| 731 | "in": "path", | ||
| 732 | "required": true | ||
| 733 | }, | ||
| 734 | { | ||
| 735 | "type": "string", | ||
| 736 | "description": "JWT Token", | ||
| 737 | "name": "Authorization", | ||
| 738 | "in": "header", | ||
| 739 | "required": true | ||
| 740 | } | ||
| 741 | ], | ||
| 742 | "responses": { | ||
| 743 | "200": { | ||
| 744 | "description": "OK", | ||
| 745 | "schema": { | ||
| 746 | "$ref": "#/definitions/models.Response" | ||
| 747 | } | ||
| 748 | } | ||
| 749 | } | ||
| 750 | } | ||
| 751 | }, | ||
| 717 | "/maps/{mapid}/summary": { | 752 | "/maps/{mapid}/summary": { |
| 718 | "get": { | 753 | "get": { |
| 719 | "description": "Get map summary with specified id.", | 754 | "description": "Get map summary with specified id.", |
| @@ -1937,8 +1972,8 @@ const docTemplate = `{ | |||
| 1937 | // SwaggerInfo holds exported Swagger Info so clients can modify it | 1972 | // SwaggerInfo holds exported Swagger Info so clients can modify it |
| 1938 | var SwaggerInfo = &swag.Spec{ | 1973 | var SwaggerInfo = &swag.Spec{ |
| 1939 | Version: "1.0", | 1974 | Version: "1.0", |
| 1940 | Host: "lp.ardapektezol.com/api", | 1975 | Host: "lp.ardapektezol.com", |
| 1941 | BasePath: "/v1", | 1976 | BasePath: "/api/v1", |
| 1942 | Schemes: []string{}, | 1977 | Schemes: []string{}, |
| 1943 | Title: "Least Portals Database API", | 1978 | Title: "Least Portals Database API", |
| 1944 | Description: "Backend API endpoints for the Least Portals Database.", | 1979 | Description: "Backend API endpoints for the Least Portals Database.", |