@backstage/plugin-catalog-backend-module-backstage-openapi 0.5.15-next.0 → 0.5.16-next.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 +18 -0
- package/README.md +1 -1
- package/config.schema.json +44 -0
- package/package.json +7 -7
- package/config.d.ts +0 -40
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-backstage-openapi
|
|
2
2
|
|
|
3
|
+
## 0.5.16-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/backend-plugin-api@1.9.3-next.0
|
|
9
|
+
- @backstage/plugin-catalog-node@2.2.3-next.0
|
|
10
|
+
- @backstage/backend-openapi-utils@0.6.11-next.0
|
|
11
|
+
|
|
12
|
+
## 0.5.15
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @backstage/backend-plugin-api@1.9.2
|
|
18
|
+
- @backstage/backend-openapi-utils@0.6.10
|
|
19
|
+
- @backstage/plugin-catalog-node@2.2.2
|
|
20
|
+
|
|
3
21
|
## 0.5.15-next.0
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"catalog": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"providers": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"backstageOpenapi": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"plugins": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"description": "A list of plugins, whose OpenAPI specs you want to collate in `InternalOpenApiDocumentationProvider`."
|
|
20
|
+
},
|
|
21
|
+
"entityOverrides": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"description": "Properties to override on the final entity object."
|
|
24
|
+
},
|
|
25
|
+
"definitionFormat": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": [
|
|
28
|
+
"json",
|
|
29
|
+
"yaml"
|
|
30
|
+
],
|
|
31
|
+
"description": "The format of the definition."
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"plugins"
|
|
36
|
+
],
|
|
37
|
+
"description": "BackstageOpenApiEntityProvider configuration"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-backstage-openapi",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.16-next.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "backend-plugin-module",
|
|
6
6
|
"pluginId": "catalog",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"types": "dist/index.d.ts",
|
|
25
25
|
"files": [
|
|
26
26
|
"dist",
|
|
27
|
-
"config.
|
|
27
|
+
"config.schema.json"
|
|
28
28
|
],
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "backstage-cli package build",
|
|
@@ -36,22 +36,22 @@
|
|
|
36
36
|
"test": "backstage-cli package test"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@backstage/backend-openapi-utils": "0.6.
|
|
40
|
-
"@backstage/backend-plugin-api": "1.9.
|
|
39
|
+
"@backstage/backend-openapi-utils": "0.6.11-next.0",
|
|
40
|
+
"@backstage/backend-plugin-api": "1.9.3-next.0",
|
|
41
41
|
"@backstage/catalog-model": "1.9.0",
|
|
42
42
|
"@backstage/config": "1.3.8",
|
|
43
43
|
"@backstage/errors": "1.3.1",
|
|
44
|
-
"@backstage/plugin-catalog-node": "2.2.
|
|
44
|
+
"@backstage/plugin-catalog-node": "2.2.3-next.0",
|
|
45
45
|
"cross-fetch": "^4.0.0",
|
|
46
46
|
"lodash": "^4.17.21",
|
|
47
47
|
"openapi-merge": "^1.3.2",
|
|
48
48
|
"yaml": "^2.7.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@backstage/cli": "0.36.
|
|
51
|
+
"@backstage/cli": "0.36.4-next.0",
|
|
52
52
|
"openapi3-ts": "^3.1.2"
|
|
53
53
|
},
|
|
54
|
-
"configSchema": "config.
|
|
54
|
+
"configSchema": "config.schema.json",
|
|
55
55
|
"typesVersions": {
|
|
56
56
|
"*": {
|
|
57
57
|
"package.json": [
|
package/config.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2023 The Backstage Authors
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
export interface Config {
|
|
18
|
-
catalog?: {
|
|
19
|
-
providers?: {
|
|
20
|
-
/**
|
|
21
|
-
* BackstageOpenApiEntityProvider configuration
|
|
22
|
-
*/
|
|
23
|
-
backstageOpenapi?: {
|
|
24
|
-
/**
|
|
25
|
-
* A list of plugins, whose OpenAPI specs you want to collate in `InternalOpenApiDocumentationProvider`.
|
|
26
|
-
*/
|
|
27
|
-
plugins: string[];
|
|
28
|
-
/**
|
|
29
|
-
* Properties to override on the final entity object.
|
|
30
|
-
*/
|
|
31
|
-
entityOverrides?: object;
|
|
32
|
-
/**
|
|
33
|
-
* The format of the definition.
|
|
34
|
-
* @defaultValue json
|
|
35
|
-
*/
|
|
36
|
-
definitionFormat?: 'json' | 'yaml';
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
}
|