diff options
Diffstat (limited to 'docs/docs.go')
| -rw-r--r-- | docs/docs.go | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/docs/docs.go b/docs/docs.go index 40bae17..70a7267 100644 --- a/docs/docs.go +++ b/docs/docs.go | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | // Package docs GENERATED BY SWAG; DO NOT EDIT | 1 | // Code generated by swaggo/swag. DO NOT EDIT. |
| 2 | // This file was generated by swaggo/swag | 2 | |
| 3 | package docs | 3 | package docs |
| 4 | 4 | ||
| 5 | import "github.com/swaggo/swag" | 5 | import "github.com/swaggo/swag" |
| @@ -152,6 +152,7 @@ const docTemplate = `{ | |||
| 152 | "items": { | 152 | "items": { |
| 153 | "type": "file" | 153 | "type": "file" |
| 154 | }, | 154 | }, |
| 155 | "collectionFormat": "csv", | ||
| 155 | "description": "Demos", | 156 | "description": "Demos", |
| 156 | "name": "demos", | 157 | "name": "demos", |
| 157 | "in": "formData", | 158 | "in": "formData", |
| @@ -469,6 +470,23 @@ const docTemplate = `{ | |||
| 469 | } | 470 | } |
| 470 | } | 471 | } |
| 471 | }, | 472 | }, |
| 473 | "models.RankingsResponse": { | ||
| 474 | "type": "object", | ||
| 475 | "properties": { | ||
| 476 | "rankings_mp": { | ||
| 477 | "type": "array", | ||
| 478 | "items": { | ||
| 479 | "$ref": "#/definitions/models.UserRanking" | ||
| 480 | } | ||
| 481 | }, | ||
| 482 | "rankings_sp": { | ||
| 483 | "type": "array", | ||
| 484 | "items": { | ||
| 485 | "$ref": "#/definitions/models.UserRanking" | ||
| 486 | } | ||
| 487 | } | ||
| 488 | } | ||
| 489 | }, | ||
| 472 | "models.RecordRequest": { | 490 | "models.RecordRequest": { |
| 473 | "type": "object", | 491 | "type": "object", |
| 474 | "required": [ | 492 | "required": [ |
| @@ -512,6 +530,20 @@ const docTemplate = `{ | |||
| 512 | }, | 530 | }, |
| 513 | "records": {} | 531 | "records": {} |
| 514 | } | 532 | } |
| 533 | }, | ||
| 534 | "models.UserRanking": { | ||
| 535 | "type": "object", | ||
| 536 | "properties": { | ||
| 537 | "total_score": { | ||
| 538 | "type": "integer" | ||
| 539 | }, | ||
| 540 | "user_id": { | ||
| 541 | "type": "string" | ||
| 542 | }, | ||
| 543 | "username": { | ||
| 544 | "type": "string" | ||
| 545 | } | ||
| 546 | } | ||
| 515 | } | 547 | } |
| 516 | } | 548 | } |
| 517 | }` | 549 | }` |
| @@ -519,13 +551,15 @@ const docTemplate = `{ | |||
| 519 | // SwaggerInfo holds exported Swagger Info so clients can modify it | 551 | // SwaggerInfo holds exported Swagger Info so clients can modify it |
| 520 | var SwaggerInfo = &swag.Spec{ | 552 | var SwaggerInfo = &swag.Spec{ |
| 521 | Version: "1.0", | 553 | Version: "1.0", |
| 522 | Host: "localhost:4000/api", | 554 | Host: "lp.ardapektezol.com/api", |
| 523 | BasePath: "/v1", | 555 | BasePath: "/v1", |
| 524 | Schemes: []string{}, | 556 | Schemes: []string{}, |
| 525 | Title: "Least Portals Database API", | 557 | Title: "Least Portals Database API", |
| 526 | Description: "Backend API endpoints for Least Portals Database.", | 558 | Description: "Backend API endpoints for Least Portals Database.", |
| 527 | InfoInstanceName: "swagger", | 559 | InfoInstanceName: "swagger", |
| 528 | SwaggerTemplate: docTemplate, | 560 | SwaggerTemplate: docTemplate, |
| 561 | LeftDelim: "{{", | ||
| 562 | RightDelim: "}}", | ||
| 529 | } | 563 | } |
| 530 | 564 | ||
| 531 | func init() { | 565 | func init() { |