diff options
Diffstat (limited to 'docs/docs.go')
| -rw-r--r-- | docs/docs.go | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/docs/docs.go b/docs/docs.go index 788ca3d..164db20 100644 --- a/docs/docs.go +++ b/docs/docs.go | |||
| @@ -50,10 +50,7 @@ const docTemplate = `{ | |||
| 50 | "type": "object", | 50 | "type": "object", |
| 51 | "properties": { | 51 | "properties": { |
| 52 | "data": { | 52 | "data": { |
| 53 | "type": "array", | 53 | "$ref": "#/definitions/models.ChaptersResponse" |
| 54 | "items": { | ||
| 55 | "$ref": "#/definitions/models.Chapter" | ||
| 56 | } | ||
| 57 | } | 54 | } |
| 58 | } | 55 | } |
| 59 | } | 56 | } |
| @@ -746,9 +743,6 @@ const docTemplate = `{ | |||
| 746 | "models.Chapter": { | 743 | "models.Chapter": { |
| 747 | "type": "object", | 744 | "type": "object", |
| 748 | "properties": { | 745 | "properties": { |
| 749 | "game_id": { | ||
| 750 | "type": "integer" | ||
| 751 | }, | ||
| 752 | "id": { | 746 | "id": { |
| 753 | "type": "integer" | 747 | "type": "integer" |
| 754 | }, | 748 | }, |
| @@ -757,6 +751,20 @@ const docTemplate = `{ | |||
| 757 | } | 751 | } |
| 758 | } | 752 | } |
| 759 | }, | 753 | }, |
| 754 | "models.ChaptersResponse": { | ||
| 755 | "type": "object", | ||
| 756 | "properties": { | ||
| 757 | "chapters": { | ||
| 758 | "type": "array", | ||
| 759 | "items": { | ||
| 760 | "$ref": "#/definitions/models.Chapter" | ||
| 761 | } | ||
| 762 | }, | ||
| 763 | "game": { | ||
| 764 | "$ref": "#/definitions/models.Game" | ||
| 765 | } | ||
| 766 | } | ||
| 767 | }, | ||
| 760 | "models.Game": { | 768 | "models.Game": { |
| 761 | "type": "object", | 769 | "type": "object", |
| 762 | "properties": { | 770 | "properties": { |
| @@ -834,9 +842,6 @@ const docTemplate = `{ | |||
| 834 | "models.MapShort": { | 842 | "models.MapShort": { |
| 835 | "type": "object", | 843 | "type": "object", |
| 836 | "properties": { | 844 | "properties": { |
| 837 | "chapter_id": { | ||
| 838 | "type": "integer" | ||
| 839 | }, | ||
| 840 | "id": { | 845 | "id": { |
| 841 | "type": "integer" | 846 | "type": "integer" |
| 842 | }, | 847 | }, |