Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Commit 19b9414

Browse files
committed
remove host, fix def reference
1 parent 4a90bdc commit 19b9414

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

end/ContactList/config/api.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"title": "Contact List",
66
"description": "A Contact list API based on Swagger and built using Node.js"
77
},
8-
"host": "localhost",
98
"schemes": ["http", "https"],
109
"basePath": "/",
1110
"paths": {
@@ -50,7 +49,7 @@
5049
"schema": {
5150
"type": "array",
5251
"items": {
53-
"$ref": "#/definitions/Contacts"
52+
"$ref": "#/definitions/Contact"
5453
}
5554
}
5655
}
@@ -76,4 +75,4 @@
7675
}
7776
}
7877
}
79-
}
78+
}

0 commit comments

Comments
 (0)