Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit f5f7fb1

Browse files
authored
Merge pull request #16 from wrtnio/feature/examples
Change examples
2 parents 5fc078f + 2872af7 commit f5f7fb1

21 files changed

+4005
-182576
lines changed

examples/keyword/bbs.json

Lines changed: 1 addition & 2060 deletions
Large diffs are not rendered by default.

examples/keyword/clickhouse.json

Lines changed: 1 addition & 991 deletions
Large diffs are not rendered by default.

examples/keyword/fireblocks.json

Lines changed: 1 addition & 16029 deletions
Large diffs are not rendered by default.

examples/keyword/iamport.json

Lines changed: 1 addition & 6803 deletions
Large diffs are not rendered by default.

examples/keyword/petstore.json

Lines changed: 1 addition & 1287 deletions
Large diffs are not rendered by default.

examples/keyword/shopping.json

Lines changed: 1 addition & 50964 deletions
Large diffs are not rendered by default.

examples/keyword/toss.json

Lines changed: 1 addition & 10748 deletions
Large diffs are not rendered by default.

examples/keyword/uber.json

Lines changed: 1 addition & 219 deletions
Original file line numberDiff line numberDiff line change
@@ -1,219 +1 @@
1-
{
2-
"openapi": "3.0.3",
3-
"functions": [
4-
{
5-
"method": "get",
6-
"path": "/products",
7-
"name": "products_get",
8-
"parameters": [
9-
{
10-
"type": "object",
11-
"properties": {
12-
"query": {
13-
"type": "object",
14-
"properties": {
15-
"latitude": {
16-
"name": "latitude",
17-
"in": "query",
18-
"description": "Latitude component of location.",
19-
"required": true,
20-
"type": "number",
21-
"format": "double"
22-
},
23-
"longitude": {
24-
"name": "longitude",
25-
"in": "query",
26-
"description": "Longitude component of location.",
27-
"required": true,
28-
"type": "number",
29-
"format": "double"
30-
}
31-
},
32-
"required": [
33-
"latitude",
34-
"longitude"
35-
]
36-
}
37-
}
38-
}
39-
],
40-
"output": {
41-
"type": "array",
42-
"items": {}
43-
},
44-
"description": "Product Types.\n\nThe Products endpoint returns information about the Uber products offered at a given location. The response includes the display name and other details about each product, and lists the products in the proper display order."
45-
},
46-
{
47-
"method": "get",
48-
"path": "/estimates/price",
49-
"name": "estimates_price_get",
50-
"parameters": [
51-
{
52-
"type": "object",
53-
"properties": {
54-
"query": {
55-
"type": "object",
56-
"properties": {
57-
"start_latitude": {
58-
"name": "start_latitude",
59-
"in": "query",
60-
"description": "Latitude component of start location.",
61-
"required": true,
62-
"type": "number",
63-
"format": "double"
64-
},
65-
"start_longitude": {
66-
"name": "start_longitude",
67-
"in": "query",
68-
"description": "Longitude component of start location.",
69-
"required": true,
70-
"type": "number",
71-
"format": "double"
72-
},
73-
"end_latitude": {
74-
"name": "end_latitude",
75-
"in": "query",
76-
"description": "Latitude component of end location.",
77-
"required": true,
78-
"type": "number",
79-
"format": "double"
80-
},
81-
"end_longitude": {
82-
"name": "end_longitude",
83-
"in": "query",
84-
"description": "Longitude component of end location.",
85-
"required": true,
86-
"type": "number",
87-
"format": "double"
88-
}
89-
},
90-
"required": [
91-
"start_latitude",
92-
"start_longitude",
93-
"end_latitude",
94-
"end_longitude"
95-
]
96-
}
97-
}
98-
}
99-
],
100-
"output": {
101-
"type": "array",
102-
"items": {}
103-
},
104-
"description": "Price Estimates.\n\nThe Price Estimates endpoint returns an estimated price range for each product offered at a given location. The price estimate is provided as a formatted string with the full price range and the localized currency symbol.<br><br>The response also includes low and high estimates, and the [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217) currency code for situations requiring currency conversion. When surge is active for a particular product, its surge_multiplier will be greater than 1, but the price estimate already factors in this multiplier."
105-
},
106-
{
107-
"method": "get",
108-
"path": "/estimates/time",
109-
"name": "estimates_time_get",
110-
"parameters": [
111-
{
112-
"type": "object",
113-
"properties": {
114-
"query": {
115-
"type": "object",
116-
"properties": {
117-
"start_latitude": {
118-
"name": "start_latitude",
119-
"in": "query",
120-
"description": "Latitude component of start location.",
121-
"required": true,
122-
"type": "number",
123-
"format": "double"
124-
},
125-
"start_longitude": {
126-
"name": "start_longitude",
127-
"in": "query",
128-
"description": "Longitude component of start location.",
129-
"required": true,
130-
"type": "number",
131-
"format": "double"
132-
},
133-
"customer_uuid": {
134-
"name": "customer_uuid",
135-
"in": "query",
136-
"type": "string",
137-
"format": "uuid",
138-
"description": "Unique customer identifier to be used for experience customization."
139-
},
140-
"product_id": {
141-
"name": "product_id",
142-
"in": "query",
143-
"type": "string",
144-
"description": "Unique identifier representing a specific product for a given latitude & longitude."
145-
}
146-
},
147-
"required": [
148-
"start_latitude",
149-
"start_longitude",
150-
"customer_uuid",
151-
"product_id"
152-
]
153-
}
154-
}
155-
}
156-
],
157-
"output": {
158-
"type": "array",
159-
"items": {}
160-
},
161-
"description": "Time Estimates.\n\nThe Time Estimates endpoint returns ETAs for all products offered at a given location, with the responses expressed as integers in seconds. We recommend that this endpoint be called every minute to provide the most accurate, up-to-date ETAs."
162-
},
163-
{
164-
"method": "get",
165-
"path": "/me",
166-
"name": "me_get",
167-
"parameters": [
168-
{
169-
"type": "object",
170-
"properties": {}
171-
}
172-
],
173-
"output": {},
174-
"description": "User Profile.\n\nThe User Profile endpoint returns information about the Uber user that has authorized with the application."
175-
},
176-
{
177-
"method": "get",
178-
"path": "/history",
179-
"name": "history_get",
180-
"parameters": [
181-
{
182-
"type": "object",
183-
"properties": {
184-
"query": {
185-
"type": "object",
186-
"properties": {
187-
"offset": {
188-
"name": "offset",
189-
"in": "query",
190-
"type": "integer",
191-
"format": "int32",
192-
"description": "Offset the list of returned results by this amount. Default is zero."
193-
},
194-
"limit": {
195-
"name": "limit",
196-
"in": "query",
197-
"type": "integer",
198-
"format": "int32",
199-
"description": "Number of items to retrieve. Default is 5, maximum is 100."
200-
}
201-
},
202-
"required": [
203-
"offset",
204-
"limit"
205-
]
206-
}
207-
}
208-
}
209-
],
210-
"output": {},
211-
"description": "User Activity.\n\nThe User Activity endpoint returns data about a user's lifetime activity with Uber. The response will include pickup locations and times, dropoff locations and times, the distance of past requests, and information about which products were requested.<br><br>The history array in the response will have a maximum length based on the limit parameter. The response value count may exceed limit, therefore subsequent API requests may be necessary."
212-
}
213-
],
214-
"errors": [],
215-
"options": {
216-
"keyword": true,
217-
"separate": null
218-
}
219-
}
1+
{"openapi":"3.0.3","functions":[{"method":"get","path":"/products","name":"products_get","parameters":[{"type":"object","properties":{"query":{"type":"object","properties":{"latitude":{"name":"latitude","in":"query","description":"Latitude component of location.","required":true,"type":"number","format":"double"},"longitude":{"name":"longitude","in":"query","description":"Longitude component of location.","required":true,"type":"number","format":"double"}},"required":["latitude","longitude"]}}}],"output":{"type":"array","items":{}},"description":"Product Types.\n\nThe Products endpoint returns information about the Uber products offered at a given location. The response includes the display name and other details about each product, and lists the products in the proper display order."},{"method":"get","path":"/estimates/price","name":"estimates_price_get","parameters":[{"type":"object","properties":{"query":{"type":"object","properties":{"start_latitude":{"name":"start_latitude","in":"query","description":"Latitude component of start location.","required":true,"type":"number","format":"double"},"start_longitude":{"name":"start_longitude","in":"query","description":"Longitude component of start location.","required":true,"type":"number","format":"double"},"end_latitude":{"name":"end_latitude","in":"query","description":"Latitude component of end location.","required":true,"type":"number","format":"double"},"end_longitude":{"name":"end_longitude","in":"query","description":"Longitude component of end location.","required":true,"type":"number","format":"double"}},"required":["start_latitude","start_longitude","end_latitude","end_longitude"]}}}],"output":{"type":"array","items":{}},"description":"Price Estimates.\n\nThe Price Estimates endpoint returns an estimated price range for each product offered at a given location. The price estimate is provided as a formatted string with the full price range and the localized currency symbol.<br><br>The response also includes low and high estimates, and the [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217) currency code for situations requiring currency conversion. When surge is active for a particular product, its surge_multiplier will be greater than 1, but the price estimate already factors in this multiplier."},{"method":"get","path":"/estimates/time","name":"estimates_time_get","parameters":[{"type":"object","properties":{"query":{"type":"object","properties":{"start_latitude":{"name":"start_latitude","in":"query","description":"Latitude component of start location.","required":true,"type":"number","format":"double"},"start_longitude":{"name":"start_longitude","in":"query","description":"Longitude component of start location.","required":true,"type":"number","format":"double"},"customer_uuid":{"name":"customer_uuid","in":"query","type":"string","format":"uuid","description":"Unique customer identifier to be used for experience customization."},"product_id":{"name":"product_id","in":"query","type":"string","description":"Unique identifier representing a specific product for a given latitude & longitude."}},"required":["start_latitude","start_longitude","customer_uuid","product_id"]}}}],"output":{"type":"array","items":{}},"description":"Time Estimates.\n\nThe Time Estimates endpoint returns ETAs for all products offered at a given location, with the responses expressed as integers in seconds. We recommend that this endpoint be called every minute to provide the most accurate, up-to-date ETAs."},{"method":"get","path":"/me","name":"me_get","parameters":[{"type":"object","properties":{}}],"output":{},"description":"User Profile.\n\nThe User Profile endpoint returns information about the Uber user that has authorized with the application."},{"method":"get","path":"/history","name":"history_get","parameters":[{"type":"object","properties":{"query":{"type":"object","properties":{"offset":{"name":"offset","in":"query","type":"integer","format":"int32","description":"Offset the list of returned results by this amount. Default is zero."},"limit":{"name":"limit","in":"query","type":"integer","format":"int32","description":"Number of items to retrieve. Default is 5, maximum is 100."}},"required":["offset","limit"]}}}],"output":{},"description":"User Activity.\n\nThe User Activity endpoint returns data about a user's lifetime activity with Uber. The response will include pickup locations and times, dropoff locations and times, the distance of past requests, and information about which products were requested.<br><br>The history array in the response will have a maximum length based on the limit parameter. The response value count may exceed limit, therefore subsequent API requests may be necessary."}],"errors":[],"options":{"keyword":true,"separate":null}}

0 commit comments

Comments
 (0)