@golemio/gardens 1.2.5-dev.899783218 → 1.2.5-rc.1241866703
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/openapi.yaml +12 -12
- package/package.json +5 -5
package/docs/openapi.yaml
CHANGED
|
@@ -5,28 +5,28 @@ info:
|
|
|
5
5
|
description: Locations and Description of Gardens
|
|
6
6
|
version: 1.0.0
|
|
7
7
|
contact:
|
|
8
|
-
name: Golemio Prague Data
|
|
8
|
+
name: Golemio Prague Data Platform
|
|
9
9
|
email: golemio@operatorict.cz
|
|
10
10
|
url: https://golemio.cz
|
|
11
11
|
|
|
12
12
|
servers:
|
|
13
|
-
- url: https://api.golemio.cz
|
|
13
|
+
- url: https://api.golemio.cz
|
|
14
14
|
description: Main (production) server
|
|
15
|
-
- url: https://rabin.golemio.cz
|
|
15
|
+
- url: https://rabin.golemio.cz
|
|
16
16
|
description: Test (development) server
|
|
17
17
|
|
|
18
18
|
tags:
|
|
19
|
-
- name: 🌳 Gardens
|
|
19
|
+
- name: 🌳 Gardens (v2)
|
|
20
20
|
description: <img src="https://img.shields.io/badge/opendata-available-green" alt="golemioapi-opendata-badge" /> 💡 Locations and Description of Gardens
|
|
21
21
|
|
|
22
22
|
paths:
|
|
23
|
-
/gardens
|
|
23
|
+
/v2/gardens:
|
|
24
24
|
get:
|
|
25
25
|
summary: GET All Gardens
|
|
26
26
|
operationId: GETAllGardens
|
|
27
27
|
description: ""
|
|
28
28
|
tags:
|
|
29
|
-
- 🌳 Gardens
|
|
29
|
+
- 🌳 Gardens (v2)
|
|
30
30
|
parameters:
|
|
31
31
|
- name: latlng
|
|
32
32
|
in: query
|
|
@@ -41,14 +41,14 @@ paths:
|
|
|
41
41
|
description: Filter by distance from latlng in meters (range query). Depends on
|
|
42
42
|
the latlng parameter.
|
|
43
43
|
required: false
|
|
44
|
-
example:
|
|
44
|
+
example: 5000
|
|
45
45
|
schema:
|
|
46
46
|
type: number
|
|
47
47
|
- name: districts
|
|
48
48
|
in: query
|
|
49
49
|
description: Filter by Prague city districts (slug) separated by comma.
|
|
50
50
|
required: false
|
|
51
|
-
example: praha-4
|
|
51
|
+
example: ['praha-4']
|
|
52
52
|
schema:
|
|
53
53
|
type: array
|
|
54
54
|
items: {}
|
|
@@ -57,14 +57,14 @@ paths:
|
|
|
57
57
|
description: Limits number of retrieved items. The maximum is 10000 (default
|
|
58
58
|
value).
|
|
59
59
|
required: false
|
|
60
|
-
example:
|
|
60
|
+
example: 10
|
|
61
61
|
schema:
|
|
62
62
|
type: number
|
|
63
63
|
- name: offset
|
|
64
64
|
in: query
|
|
65
65
|
description: Number of the first items that are skipped.
|
|
66
66
|
required: false
|
|
67
|
-
example:
|
|
67
|
+
example: 0
|
|
68
68
|
schema:
|
|
69
69
|
type: number
|
|
70
70
|
- name: updatedSince
|
|
@@ -116,13 +116,13 @@ paths:
|
|
|
116
116
|
error_message: Forbidden
|
|
117
117
|
error_status: 403
|
|
118
118
|
|
|
119
|
-
/gardens/{id}:
|
|
119
|
+
/v2/gardens/{id}:
|
|
120
120
|
get:
|
|
121
121
|
summary: GET Gardens
|
|
122
122
|
operationId: GETGardens
|
|
123
123
|
description: ""
|
|
124
124
|
tags:
|
|
125
|
-
- 🌳 Gardens
|
|
125
|
+
- 🌳 Gardens (v2)
|
|
126
126
|
parameters:
|
|
127
127
|
- name: id
|
|
128
128
|
in: path
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/gardens",
|
|
3
|
-
"version": "1.2.5-
|
|
3
|
+
"version": "1.2.5-rc.1241866703",
|
|
4
4
|
"description": "Golemio Gardens Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@commitlint/cli": "^16.2.1",
|
|
35
35
|
"@commitlint/config-conventional": "^16.2.1",
|
|
36
|
-
"@golemio/cli": "1.
|
|
37
|
-
"@golemio/core": "1.
|
|
38
|
-
"@golemio/db-common": "1.1.
|
|
36
|
+
"@golemio/cli": "1.5.0",
|
|
37
|
+
"@golemio/core": "1.9.2",
|
|
38
|
+
"@golemio/db-common": "1.1.2",
|
|
39
39
|
"@golemio/eslint-config": "1.1.1",
|
|
40
40
|
"@types/chai": "4.2.3",
|
|
41
41
|
"@types/chai-as-promised": "7.1.2",
|
|
@@ -67,6 +67,6 @@
|
|
|
67
67
|
"typescript-transform-paths": "^3.4.6"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"@golemio/core": ">=1.
|
|
70
|
+
"@golemio/core": ">=1.9.0"
|
|
71
71
|
}
|
|
72
72
|
}
|