Skip to content

Commit 2eeaad2

Browse files
committed
Update type of dietaryRestriction
1 parent 5e29d66 commit 2eeaad2

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/api/api_data.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ define({
3838
},
3939
{
4040
"group": "body",
41-
"type": "String",
41+
"type": "String[]",
4242
"optional": false,
4343
"field": "dietaryRestrictions",
4444
"description": "<p>Any dietary restrictions for the user. 'None' if there are no restrictions</p>"
@@ -386,7 +386,7 @@ define({
386386
},
387387
{
388388
"group": "body",
389-
"type": "String",
389+
"type": "String[]",
390390
"optional": true,
391391
"field": "dietaryRestrictions",
392392
"description": "<p>Any dietary restrictions for the user. 'None' if there are no restrictions</p>"

docs/api/api_data.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
{
3939
"group": "body",
40-
"type": "String",
40+
"type": "String[]",
4141
"optional": false,
4242
"field": "dietaryRestrictions",
4343
"description": "<p>Any dietary restrictions for the user. 'None' if there are no restrictions</p>"
@@ -385,7 +385,7 @@
385385
},
386386
{
387387
"group": "body",
388-
"type": "String",
388+
"type": "String[]",
389389
"optional": true,
390390
"field": "dietaryRestrictions",
391391
"description": "<p>Any dietary restrictions for the user. 'None' if there are no restrictions</p>"

docs/api/api_project.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ define({
99
"apidoc": "0.3.0",
1010
"generator": {
1111
"name": "apidoc",
12-
"time": "2018-12-07T22:04:17.400Z",
12+
"time": "2018-12-07T22:15:54.263Z",
1313
"url": "http://apidocjs.com",
1414
"version": "0.17.6"
1515
}

docs/api/api_project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"apidoc": "0.3.0",
1010
"generator": {
1111
"name": "apidoc",
12-
"time": "2018-12-07T22:04:17.400Z",
12+
"time": "2018-12-07T22:15:54.263Z",
1313
"url": "http://apidocjs.com",
1414
"version": "0.17.6"
1515
}

routes/api/account.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ module.exports = {
6969
* @apiParam (body) {String} lastName Last name of the account creator.
7070
* @apiParam (body) {String} pronoun the pronoun of the account creator.
7171
* @apiParam (body) {String} email Email of the account.
72-
* @apiParam (body) {String} dietaryRestrictions Any dietary restrictions for the user. 'None' if there are no restrictions
72+
* @apiParam (body) {String[]} dietaryRestrictions Any dietary restrictions for the user. 'None' if there are no restrictions
7373
* @apiParam (body) {String} shirtSize Size of the shirt that the user will receive.
7474
* @apiParam (body) {String} password The password of the account.
7575
* @apiParam (body) {String} birthDate a Date parsable string.
@@ -150,7 +150,7 @@ module.exports = {
150150
* @apiParam (body) {String} [lastName] Last name of the account creator.
151151
* @apiParam (body) {String} [pronoun] the pronoun of the account creator.
152152
* @apiParam (body) {String} [email] Email of the account.
153-
* @apiParam (body) {String} [dietaryRestrictions] Any dietary restrictions for the user. 'None' if there are no restrictions
153+
* @apiParam (body) {String[]} [dietaryRestrictions] Any dietary restrictions for the user. 'None' if there are no restrictions
154154
* @apiParam (body) {String} [shirtSize] Size of the shirt that the user will receive.
155155
* @apiParam (body) {String} [birthDate] a Date parsable string.
156156
* @apiParam (body) {Number} [phoneNumber] the user's phone number, represented as a string.

0 commit comments

Comments
 (0)