tebakaja commited on
Commit
5fa57ee
1 Parent(s): 460c52a

update: repair Swagger OpenAPI Configurations

Browse files
Files changed (3) hide show
  1. docs/docs.go +9 -3
  2. docs/swagger.json +9 -3
  3. docs/swagger.yaml +3 -0
docs/docs.go CHANGED
@@ -43,7 +43,9 @@ const docTemplate = `{
43
  }
44
  }
45
  }
46
- },
 
 
47
  "post": {
48
  "description": "Cryptocurrency Prediction",
49
  "consumes": [
@@ -95,7 +97,9 @@ const docTemplate = `{
95
  }
96
  }
97
  }
98
- },
 
 
99
  "post": {
100
  "description": "National Currency Prediction",
101
  "consumes": [
@@ -147,7 +151,9 @@ const docTemplate = `{
147
  }
148
  }
149
  }
150
- },
 
 
151
  "post": {
152
  "description": "Stock Prediction",
153
  "consumes": [
 
43
  }
44
  }
45
  }
46
+ }
47
+ },
48
+ "/crypto/prediction": {
49
  "post": {
50
  "description": "Cryptocurrency Prediction",
51
  "consumes": [
 
97
  }
98
  }
99
  }
100
+ }
101
+ },
102
+ "/national-currency/prediction": {
103
  "post": {
104
  "description": "National Currency Prediction",
105
  "consumes": [
 
151
  }
152
  }
153
  }
154
+ }
155
+ },
156
+ "/stock/prediction": {
157
  "post": {
158
  "description": "Stock Prediction",
159
  "consumes": [
docs/swagger.json CHANGED
@@ -35,7 +35,9 @@
35
  }
36
  }
37
  }
38
- },
 
 
39
  "post": {
40
  "description": "Cryptocurrency Prediction",
41
  "consumes": [
@@ -87,7 +89,9 @@
87
  }
88
  }
89
  }
90
- },
 
 
91
  "post": {
92
  "description": "National Currency Prediction",
93
  "consumes": [
@@ -139,7 +143,9 @@
139
  }
140
  }
141
  }
142
- },
 
 
143
  "post": {
144
  "description": "Stock Prediction",
145
  "consumes": [
 
35
  }
36
  }
37
  }
38
+ }
39
+ },
40
+ "/crypto/prediction": {
41
  "post": {
42
  "description": "Cryptocurrency Prediction",
43
  "consumes": [
 
89
  }
90
  }
91
  }
92
+ }
93
+ },
94
+ "/national-currency/prediction": {
95
  "post": {
96
  "description": "National Currency Prediction",
97
  "consumes": [
 
143
  }
144
  }
145
  }
146
+ }
147
+ },
148
+ "/stock/prediction": {
149
  "post": {
150
  "description": "Stock Prediction",
151
  "consumes": [
docs/swagger.yaml CHANGED
@@ -170,6 +170,7 @@ paths:
170
  summary: Cryptocurrency List
171
  tags:
172
  - Cryptocurrency
 
173
  post:
174
  consumes:
175
  - application/json
@@ -204,6 +205,7 @@ paths:
204
  summary: National Currency List
205
  tags:
206
  - National Currency
 
207
  post:
208
  consumes:
209
  - application/json
@@ -238,6 +240,7 @@ paths:
238
  summary: Stock List
239
  tags:
240
  - Stock
 
241
  post:
242
  consumes:
243
  - application/json
 
170
  summary: Cryptocurrency List
171
  tags:
172
  - Cryptocurrency
173
+ /crypto/prediction:
174
  post:
175
  consumes:
176
  - application/json
 
205
  summary: National Currency List
206
  tags:
207
  - National Currency
208
+ /national-currency/prediction:
209
  post:
210
  consumes:
211
  - application/json
 
240
  summary: Stock List
241
  tags:
242
  - Stock
243
+ /stock/prediction:
244
  post:
245
  consumes:
246
  - application/json