-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi.yaml
192 lines (191 loc) · 6.81 KB
/
openapi.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# Generated with protoc-gen-openapi
# https://github.com/google/gnostic/tree/master/cmd/protoc-gen-openapi
openapi: 3.0.3
info:
title: Lianjia API
version: 0.0.1
paths:
/lianjia/ershoufang/list:
get:
tags:
- Lianjia
operationId: Lianjia_ListErshoufang
parameters:
- name: page
in: query
schema:
type: integer
format: int32
- name: size
in: query
schema:
type: integer
format: int32
- name: query
in: query
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ListErshoufangReply'
default:
description: Default error response
content:
application/json:
schema:
$ref: '#/components/schemas/Status'
components:
schemas:
ErShouFangInfo:
type: object
properties:
cityId:
type: string
houseCode:
type: string
resblockId:
type: string
title:
type: string
desc:
type: string
recoDesc:
type: string
totalPrice:
type: number
format: float
unitPrice:
type: number
format: float
jumpUrl:
type: string
listPictureUrl:
type: string
houseStatus:
type: integer
format: int32
isCtypeHouse:
type: integer
format: int32
fbExpoId:
type: string
yeZhuTuijianStatus:
type: integer
format: int32
haofangStatus:
type: integer
format: int32
yezhuPayStatus:
type: integer
format: int32
vrStatus:
type: integer
format: int32
keyStatus:
type: integer
format: int32
newStatus:
type: integer
format: int32
brandTitle:
type: string
hotTopDspAgentUcId:
type: string
hotTopDigV:
type: string
hotTop:
type: integer
format: int32
sellPriceStatus:
type: integer
format: int32
priceListingGovCn:
type: integer
format: int32
unitPriceGov:
type: integer
format: int32
totalPricePrefix:
type: string
totalPriceTitle:
type: string
totalPriceSuffix:
type: string
unitPricePrefix:
type: string
unitPriceTitle:
type: string
unitPriceSuffix:
type: string
priceInfoListTotalPricePrefix:
type: string
priceInfoListTotalPriceStr:
type: string
priceInfoListTotalPriceSuffix:
type: string
priceInfoListUnitPricePrefix:
type: string
priceInfoListUnitPriceStr:
type: string
priceInfoListUnitPriceSuffix:
type: string
tags:
type: string
layout:
type: string
area:
type: number
format: float
direction:
type: string
community:
type: string
district:
type: string
street:
type: string
floor:
type: string
totalFloor:
type: integer
format: int32
GoogleProtobufAny:
type: object
properties:
'@type':
type: string
description: The type of the serialized message.
additionalProperties: true
description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
ListErshoufangReply:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/ErShouFangInfo'
total:
type: integer
format: int32
Status:
type: object
properties:
code:
type: integer
description: The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
format: int32
message:
type: string
description: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details:
type: array
items:
$ref: '#/components/schemas/GoogleProtobufAny'
description: A list of messages that carry the error details. There is a common set of message types for APIs to use.
description: 'The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).'
tags:
- name: Lianjia