File tree 1 file changed +3
-98
lines changed
1 file changed +3
-98
lines changed Original file line number Diff line number Diff line change 89
89
}
90
90
]
91
91
}
92
- },
93
- "required" : [
94
- " names"
95
- ]
92
+ }
96
93
},
97
94
"user" : {
98
95
"allOf" : [
159
156
"$ref" : " #/components/schemas/pet"
160
157
}
161
158
}
162
- },
163
- "required" : [
164
- " names"
165
- ]
159
+ }
166
160
}
167
161
},
168
162
"parameters" : {
1306
1300
" User (ORM duplicate)" ,
1307
1301
" User (ORM)"
1308
1302
],
1309
- "parameters" : [
1310
- {
1311
- "in" : " query" ,
1312
- "name" : " id" ,
1313
- "schema" : {
1314
- "type" : " integer" ,
1315
- "format" : " int64" ,
1316
- "uniqueItems" : true ,
1317
- "description" : " Note Sails special attributes: autoIncrement"
1318
- },
1319
- "description" : " Note Sails special attributes: autoIncrement"
1320
- },
1321
- {
1322
- "in" : " query" ,
1323
- "name" : " names" ,
1324
- "schema" : {
1325
- "type" : " string" ,
1326
- "example" : " First Middle Last"
1327
- },
1328
- "required" : true
1329
- },
1330
- {
1331
- "in" : " query" ,
1332
- "name" : " email" ,
1333
- "schema" : {
1334
- "type" : " string" ,
1335
- "format" : " email" ,
1336
- "description" : " Just any old email"
1337
- },
1338
- "description" : " Just any old email"
1339
- },
1340
- {
1341
- "in" : " query" ,
1342
- "name" : " sex" ,
1343
- "schema" : {
1344
- "type" : " string" ,
1345
- "enum" : [
1346
- " Male" ,
1347
- " Female"
1348
- ]
1349
- }
1350
- },
1351
- {
1352
- "in" : " query" ,
1353
- "name" : " ageLimit" ,
1354
- "schema" : {
1355
- "type" : " number" ,
1356
- "format" : " double" ,
1357
- "maximum" : 100 ,
1358
- "minimum" : 15
1359
- }
1360
- },
1361
- {
1362
- "in" : " query" ,
1363
- "name" : " pets" ,
1364
- "schema" : {
1365
- "description" : " Array of **pet**'s or array of FK's when creating / updating / not populated" ,
1366
- "type" : " array" ,
1367
- "items" : {
1368
- "$ref" : " #/components/schemas/pet"
1369
- }
1370
- },
1371
- "description" : " Array of **pet**'s or array of FK's when creating / updating / not populated"
1372
- },
1373
- {
1374
- "in" : " query" ,
1375
- "name" : " favouritePet" ,
1376
- "schema" : {
1377
- "description" : " JSON dictionary representing the **pet** instance or FK when creating / updating / not populated" ,
1378
- "oneOf" : [
1379
- {
1380
- "$ref" : " #/components/schemas/pet"
1381
- }
1382
- ]
1383
- },
1384
- "description" : " JSON dictionary representing the **pet** instance or FK when creating / updating / not populated"
1385
- },
1386
- {
1387
- "in" : " query" ,
1388
- "name" : " neighboursPets" ,
1389
- "schema" : {
1390
- "description" : " Array of **pet**'s or array of FK's when creating / updating / not populated" ,
1391
- "type" : " array" ,
1392
- "items" : {
1393
- "$ref" : " #/components/schemas/pet"
1394
- }
1395
- },
1396
- "description" : " Array of **pet**'s or array of FK's when creating / updating / not populated"
1397
- }
1398
- ],
1303
+ "parameters" : [],
1399
1304
"responses" : {
1400
1305
"200" : {
1401
1306
"description" : " Responds with a JSON dictionary representing the newly created **User** instance" ,
You can’t perform that action at this time.
0 commit comments