-
-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
iandrc
authored
Jul 24, 2020
1 parent
d9e400e
commit adf0c95
Showing
8 changed files
with
499 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"openapi": "3.0.0", | ||
"info": { | ||
"description": "Test swagger specification", | ||
"version": "1.0.0", | ||
"title": "Test swagger specification", | ||
"contact": { | ||
"email": "[email protected]" | ||
} | ||
}, | ||
"servers": { | ||
"url": "http://localhost:3000/", | ||
"description": "Localhost (uses test data)" | ||
}, | ||
"paths": { | ||
"/status": { | ||
"get": { | ||
"description": "Status route, so we can check if server is alive", | ||
"tags": ["Status"] | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Server is alive", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"type": "object", | ||
"properties": { | ||
"health": { | ||
"type": "boolean" | ||
}, | ||
"date": { | ||
"type": "string" | ||
} | ||
}, | ||
"example": { | ||
"health": true, | ||
"date": "2018-02-19T15:36:46.758Z" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"version": "3.1.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.