@backstage/backend-openapi-utils 0.3.0-next.2 → 0.3.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/CHANGELOG.md +14 -0
- package/dist/index.d.ts +1 -1
- package/package.json +13 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @backstage/backend-openapi-utils
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1440232: Adds a new `createValidatedOpenApiRouterFromGeneratedEndpointMap` function that uses the new static server generation in `backstage-cli package schema openapi generate --server` to create a typed express router.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- f01787a: Moves msw from dependencies to devDependencies
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
- @backstage/types@1.2.0
|
|
14
|
+
- @backstage/backend-plugin-api@1.0.2
|
|
15
|
+
- @backstage/errors@1.2.5
|
|
16
|
+
|
|
3
17
|
## 0.3.0-next.2
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { JSONSchema, FromSchema } from 'json-schema-to-ts';
|
|
3
|
-
import {
|
|
3
|
+
import { OpenAPIObject, ReferenceObject, ContentObject, ParameterObject, SchemaObject, ResponseObject, RequestBodyObject } from 'openapi3-ts';
|
|
4
4
|
import core from 'express-serve-static-core';
|
|
5
5
|
import { Router, Express, RequestHandler } from 'express';
|
|
6
6
|
import { Server } from 'http';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/backend-openapi-utils",
|
|
3
|
-
"version": "0.3.0
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "OpenAPI typescript support.",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "node-library"
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@apidevtools/swagger-parser": "^10.1.0",
|
|
37
|
-
"@backstage/backend-plugin-api": "1.0.2
|
|
38
|
-
"@backstage/errors": "1.2.
|
|
39
|
-
"@backstage/types": "1.
|
|
37
|
+
"@backstage/backend-plugin-api": "^1.0.2",
|
|
38
|
+
"@backstage/errors": "^1.2.5",
|
|
39
|
+
"@backstage/types": "^1.2.0",
|
|
40
40
|
"@types/express": "^4.17.6",
|
|
41
41
|
"@types/express-serve-static-core": "^4.17.5",
|
|
42
42
|
"ajv": "^8.16.0",
|
|
@@ -51,10 +51,17 @@
|
|
|
51
51
|
"openapi3-ts": "^3.1.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@backstage/cli": "0.29.0
|
|
55
|
-
"@backstage/test-utils": "1.7.1
|
|
54
|
+
"@backstage/cli": "^0.29.0",
|
|
55
|
+
"@backstage/test-utils": "^1.7.1",
|
|
56
56
|
"msw": "^1.0.0",
|
|
57
57
|
"supertest": "^7.0.0"
|
|
58
58
|
},
|
|
59
|
+
"typesVersions": {
|
|
60
|
+
"*": {
|
|
61
|
+
"index": [
|
|
62
|
+
"dist/index.d.ts"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
59
66
|
"module": "dist/index.esm.js"
|
|
60
67
|
}
|