Skip to content

Commit 54605df

Browse files
author
10kartik
committed
updated package.json
1 parent cb7467c commit 54605df

File tree

2 files changed

+30
-27
lines changed

2 files changed

+30
-27
lines changed

merged_openapi.json

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -41,31 +41,32 @@
4141
"application/json": {
4242
"example": {
4343
"success": true,
44-
"data": null,
45-
"booking_by_date": {
46-
"2024-12-15": [
47-
{
48-
"_id": "12345",
49-
"guest_name": "Alex Xu",
50-
"guest_phone": "+91-9876543210",
51-
"guest_email": "Alex@email.com",
52-
"booking_date": "2024-01-28",
53-
"start_time": "8",
54-
"end_time": "9",
55-
"sports": "Cricket",
56-
"attendees": 10,
57-
"status": "CONFIRMED",
58-
"admin_id": "65b646e7ef56fc00ce98df42"
44+
"data": {
45+
"booking_by_date": {
46+
"2024-12-15": [
47+
{
48+
"_id": "12345",
49+
"guest_name": "Alex Xu",
50+
"guest_phone": "+91-9876543210",
51+
"guest_email": "Alex@email.com",
52+
"booking_date": "2024-01-28",
53+
"start_time": "8",
54+
"end_time": "9",
55+
"sports": "Cricket",
56+
"attendees": 10,
57+
"status": "CONFIRMED",
58+
"admin_id": "65b646e7ef56fc00ce98df42"
59+
}
60+
]
61+
},
62+
"admin_by_id": {
63+
"65b646e7ef56fc00ce98df42": {
64+
"_id": "65b646e7ef56fc00ce98df42",
65+
"username": "admin_1",
66+
"name": "Tars",
67+
"phone": "1234567890",
68+
"email": "admin_1@email.com"
5969
}
60-
]
61-
},
62-
"admin_by_id": {
63-
"65b646e7ef56fc00ce98df42": {
64-
"_id": "65b646e7ef56fc00ce98df42",
65-
"username": "admin_1",
66-
"name": "Tars",
67-
"phone": "1234567890",
68-
"email": "admin_1@email.com"
6970
}
7071
}
7172
}

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
"description": "TrueSparrow Hackathon September 2023",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"start": "node src/index.js --open-api-specification-folder-path ./sampleSpecs"
89
},
9-
"author": "",
10-
"license": "ISC",
10+
"keywords": [ "API Mocker", "OpenAPI", "Express", "OpenAI", "AI Mock API Generator" ],
11+
"author": "Kartik Kapgate",
12+
"license": "MIT",
1113
"dependencies": {
1214
"axios": "^1.5.0",
1315
"commander": "^11.0.0",

0 commit comments

Comments
 (0)