Everything service has examples now, fixes for client generator (#203)

This commit is contained in:
Janos Dobronszki
2021-09-13 16:19:53 +01:00
committed by GitHub
parent a9dfd7cc03
commit 6cb1a023aa
14 changed files with 581 additions and 119 deletions

36
time/examples.json Normal file
View File

@@ -0,0 +1,36 @@
{
"now": [
{
"title": "Returns current time, optionally with location",
"run_check": true,
"request": {},
"response": {
"localtime": "14:35:44",
"timestamp": "2021-09-13T14:35:44.144293723Z",
"location": "Prime Meridian",
"timezone": "UTC",
"unix": "1631543744"
}
}
],
"zone": [
{
"title": "Get the timezone info for a specific location",
"run_check": false,
"request": {
"location": "London"
},
"response": {
"location": "London",
"region": "City of London, Greater London",
"country": "United Kingdom",
"latitude": 51.52,
"longitude": -0.11,
"timezone": "Europe/London",
"abbreviation": "BST",
"localtime": "2021-09-13 15:37",
"dst": true
}
}
]
}