@backstage/backend-openapi-utils 0.5.5 → 0.6.0-next.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @backstage/backend-openapi-utils
2
2
 
3
+ ## 0.6.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 3760352: Update `express-openapi-validator` to 5.5.8 to fix security vulnerability in transitive dependency `multer`
8
+
9
+ ## 0.6.0-next.0
10
+
11
+ ### Minor Changes
12
+
13
+ - c08cbc4: Move Scaffolder API to OpenAPI
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+ - @backstage/backend-plugin-api@1.4.2-next.0
19
+ - @backstage/errors@1.2.7
20
+ - @backstage/types@1.2.1
21
+
3
22
  ## 0.5.5
4
23
 
5
24
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -395,7 +395,7 @@ interface DocRequestMatcher<Doc extends RequiredDoc, T, Method extends 'all' | '
395
395
  type EndpointMap = Record<string, {
396
396
  query?: object;
397
397
  body?: object;
398
- response?: object | void;
398
+ response?: object | string | void;
399
399
  path?: object;
400
400
  }>;
401
401
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/backend-openapi-utils",
3
- "version": "0.5.5",
3
+ "version": "0.6.0-next.1",
4
4
  "description": "OpenAPI typescript support.",
5
5
  "backstage": {
6
6
  "role": "node-library"
@@ -54,14 +54,14 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@apidevtools/swagger-parser": "^10.1.0",
57
- "@backstage/backend-plugin-api": "^1.4.1",
58
- "@backstage/errors": "^1.2.7",
59
- "@backstage/types": "^1.2.1",
57
+ "@backstage/backend-plugin-api": "1.4.2-next.0",
58
+ "@backstage/errors": "1.2.7",
59
+ "@backstage/types": "1.2.1",
60
60
  "@types/express": "^4.17.6",
61
61
  "@types/express-serve-static-core": "^4.17.5",
62
62
  "ajv": "^8.16.0",
63
63
  "express": "^4.17.1",
64
- "express-openapi-validator": "^5.0.4",
64
+ "express-openapi-validator": "^5.5.8",
65
65
  "express-promise-router": "^4.1.0",
66
66
  "get-port": "^5.1.1",
67
67
  "json-schema-to-ts": "^3.0.0",
@@ -71,8 +71,8 @@
71
71
  "openapi3-ts": "^3.1.2"
72
72
  },
73
73
  "devDependencies": {
74
- "@backstage/cli": "^0.33.1",
75
- "@backstage/test-utils": "^1.7.10",
74
+ "@backstage/cli": "0.34.0-next.2",
75
+ "@backstage/test-utils": "1.7.11-next.0",
76
76
  "msw": "^1.0.0",
77
77
  "supertest": "^7.0.0"
78
78
  }