Skip to content

Commit d2d5c00

Browse files
committed
chore: Update test data after merge
1 parent d560ff0 commit d2d5c00

File tree

1 file changed

+3
-98
lines changed

1 file changed

+3
-98
lines changed

test/fixtures/generatedSwagger.json

+3-98
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@
8989
}
9090
]
9191
}
92-
},
93-
"required": [
94-
"names"
95-
]
92+
}
9693
},
9794
"user": {
9895
"allOf": [
@@ -159,10 +156,7 @@
159156
"$ref": "#/components/schemas/pet"
160157
}
161158
}
162-
},
163-
"required": [
164-
"names"
165-
]
159+
}
166160
}
167161
},
168162
"parameters": {
@@ -1306,96 +1300,7 @@
13061300
"User (ORM duplicate)",
13071301
"User (ORM)"
13081302
],
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": [],
13991304
"responses": {
14001305
"200": {
14011306
"description": "Responds with a JSON dictionary representing the newly created **User** instance",

0 commit comments

Comments
 (0)