@xen-orchestra/rest-api 0.14.0 → 0.15.0

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/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "main": "./dist/index.mjs",
7
7
  "name": "@xen-orchestra/rest-api",
8
8
  "homepage": "https://github.com/vatesfr/xen-orchestra/tree/master/@xen-orchestra/rest-api",
9
- "version": "0.14.0",
9
+ "version": "0.15.0",
10
10
  "description": "REST API to manage your XOA",
11
11
  "license": "AGPL-3.0-or-later",
12
12
  "private": false,
@@ -35,19 +35,20 @@
35
35
  "dependencies": {
36
36
  "@vates/async-each": "^1.0.0",
37
37
  "@vates/task": "^0.6.1",
38
- "@vates/types": "^1.10.0",
39
- "@xen-orchestra/backups": "^0.63.0",
38
+ "@vates/types": "^1.11.0",
39
+ "@xen-orchestra/backups": "^0.64.0",
40
40
  "@xen-orchestra/log": "^0.7.1",
41
41
  "complex-matcher": "^0.7.1",
42
42
  "golike-defer": "^0.5.1",
43
43
  "inversify": "^6.2.2",
44
44
  "inversify-binding-decorators": "^4.0.0",
45
45
  "lodash": "^4.17.21",
46
+ "promise-toolbox": "^0.21.0",
46
47
  "semver": "^7.7.2",
47
48
  "swagger-ui-express": "^5.0.1",
48
49
  "tsoa": "^6.6.0",
49
50
  "value-matcher": "^0.2.0",
50
- "xo-common": "^0.8.0",
51
+ "xo-common": "^0.9.0",
51
52
  "xo-remote-parser": "^0.10.0"
52
53
  },
53
54
  "bugs": "https://github.com/vatesfr/xen-orchestra/issues",
package/tsconfig.json CHANGED
@@ -5,6 +5,7 @@
5
5
 
6
6
  "strict": true,
7
7
  "module": "ESNext",
8
+ "lib": ["ESNext"],
8
9
  "moduleResolution": "bundler",
9
10
  "target": "ES2023",
10
11
  "skipLibCheck": true,
package/tsoa.json CHANGED
@@ -30,6 +30,18 @@
30
30
  }
31
31
  }
32
32
  }
33
+ },
34
+ "/docs/swagger.json": {
35
+ "get": {
36
+ "operationId": "swaggerSpec",
37
+ "description": "Returns the swagger json ready to use for REST API clients",
38
+ "responses": {
39
+ "200": {
40
+ "description": "Ok"
41
+ }
42
+ },
43
+ "tags": ["docs"]
44
+ }
33
45
  }
34
46
  }
35
47
  }