forked from ainize-team2/crowdy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
swagger.yaml
89 lines (88 loc) · 2.42 KB
/
swagger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
openapi: 3.0.0
info:
title: Crowdy Project
version: 1.0.0
servers:
- url: https://crowdy.liayoo.endpoint.ainize.ai
paths:
/healthz:
get:
summary: API For health checking.
responses:
'200':
description: OK
content:
applicatioin/json:
schema:
type: object
properties:
data:
type: string
example: Healthy
/api/locations:
get:
summary: Returns Location Information List.
parameters:
- name: latitude
in: query
required: true
schema:
items:
type: number
example: 30
- name: longitude
in: query
required: true
schema:
items:
type: number
example: 120
- name: category
in: query
required: true
schema:
items:
type: string
example: 'starbucks'
responses:
'200':
description: OK
content:
applicatioin/json:
schema:
type: object
properties:
statusCode:
type: string
locationInfoList:
type: array
items:
type: object
properties:
name:
type: string
address:
type: string
latitude:
type: string
longitude:
type: string
nowStatus:
type: string
link:
type: string
directions:
type: string
phonenumber:
type: string
live:
type: string
allStatus:
type: array
items:
type: object
properties:
time:
type: number
status:
type: string