diff options
Diffstat (limited to '')
| -rw-r--r-- | docs/docs.go | 33 |
1 files changed, 8 insertions, 25 deletions
diff --git a/docs/docs.go b/docs/docs.go index c2c1bab..fc38d35 100644 --- a/docs/docs.go +++ b/docs/docs.go | |||
| @@ -546,6 +546,13 @@ const docTemplate = `{ | |||
| 546 | "required": true | 546 | "required": true |
| 547 | }, | 547 | }, |
| 548 | { | 548 | { |
| 549 | "type": "integer", | ||
| 550 | "description": "Discussion ID", | ||
| 551 | "name": "discussionid", | ||
| 552 | "in": "path", | ||
| 553 | "required": true | ||
| 554 | }, | ||
| 555 | { | ||
| 549 | "description": "Body", | 556 | "description": "Body", |
| 550 | "name": "request", | 557 | "name": "request", |
| 551 | "in": "body", | 558 | "in": "body", |
| @@ -1577,30 +1584,6 @@ const docTemplate = `{ | |||
| 1577 | } | 1584 | } |
| 1578 | } | 1585 | } |
| 1579 | }, | 1586 | }, |
| 1580 | "handlers.MapDiscussionOnlyTitle": { | ||
| 1581 | "type": "object", | ||
| 1582 | "properties": { | ||
| 1583 | "comments": { | ||
| 1584 | "type": "array", | ||
| 1585 | "items": { | ||
| 1586 | "$ref": "#/definitions/handlers.MapDiscussionComment" | ||
| 1587 | } | ||
| 1588 | }, | ||
| 1589 | "creator": { | ||
| 1590 | "$ref": "#/definitions/models.UserShortWithAvatar" | ||
| 1591 | }, | ||
| 1592 | "id": { | ||
| 1593 | "type": "integer" | ||
| 1594 | }, | ||
| 1595 | "title": { | ||
| 1596 | "type": "string" | ||
| 1597 | }, | ||
| 1598 | "updated_at": { | ||
| 1599 | "description": "Upvotes int ` + "`" + `json:\"upvotes\"` + "`" + `", | ||
| 1600 | "type": "string" | ||
| 1601 | } | ||
| 1602 | } | ||
| 1603 | }, | ||
| 1604 | "handlers.MapDiscussionResponse": { | 1587 | "handlers.MapDiscussionResponse": { |
| 1605 | "type": "object", | 1588 | "type": "object", |
| 1606 | "properties": { | 1589 | "properties": { |
| @@ -1615,7 +1598,7 @@ const docTemplate = `{ | |||
| 1615 | "discussions": { | 1598 | "discussions": { |
| 1616 | "type": "array", | 1599 | "type": "array", |
| 1617 | "items": { | 1600 | "items": { |
| 1618 | "$ref": "#/definitions/handlers.MapDiscussionOnlyTitle" | 1601 | "$ref": "#/definitions/handlers.MapDiscussion" |
| 1619 | } | 1602 | } |
| 1620 | } | 1603 | } |
| 1621 | } | 1604 | } |