@backstage/plugin-api-docs 0.0.0-nightly-2021102522541 → 0.0.0-nightly-202111222339

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/README.md +8 -0
  3. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # @backstage/plugin-api-docs
2
2
 
3
- ## 0.0.0-nightly-2021102522541
3
+ ## 0.6.15
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - c982fc12cb: Adjusted some styles in the OpenAPI definition, for elements which were barely readable in dark mode.
8
8
  - Updated dependencies
9
- - @backstage/core-plugin-api@0.0.0-nightly-2021102522541
10
- - @backstage/core-components@0.0.0-nightly-2021102522541
9
+ - @backstage/core-plugin-api@0.2.1
10
+ - @backstage/core-components@0.7.5
11
11
 
12
12
  ## 0.6.14
13
13
 
package/README.md CHANGED
@@ -160,6 +160,14 @@ by this plugin.
160
160
  Grab a copy of [oauth2-redirect.html](https://github.com/swagger-api/swagger-ui/blob/master/dist/oauth2-redirect.html)
161
161
  and put it in the `app/public/` directory in order to enable Swagger UI to complete this redirection.
162
162
 
163
+ This also may require you to adjust `Content Security Policy` header settings of your Backstage application, so that the script in `oauth2-redirect.html` can be executed. Since the script is static we can add the hash of it directly to our CSP policy, which we do by adding the following to the `csp` section of the app configuration:
164
+
165
+ ```yaml
166
+ script-src:
167
+ - "'self'"
168
+ - "'sha256-GeDavzSZ8O71Jggf/pQkKbt52dfZkrdNMQ3e+Ox+AkI='" # oauth2-redirect.html
169
+ ```
170
+
163
171
  #### Configuring your OAuth2 Client
164
172
 
165
173
  You'll need to make sure your OAuth2 client has been registered in your OAuth2 Authentication Server (AS)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-api-docs",
3
3
  "description": "A Backstage plugin that helps represent API entities in the frontend",
4
- "version": "0.0.0-nightly-2021102522541",
4
+ "version": "0.0.0-nightly-202111222339",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -31,12 +31,12 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@asyncapi/react-component": "^0.23.0",
34
- "@backstage/catalog-model": "^0.9.7",
35
- "@backstage/core-components": "^0.0.0-nightly-2021102522541",
36
- "@backstage/core-plugin-api": "^0.0.0-nightly-2021102522541",
37
- "@backstage/plugin-catalog": "^0.7.3",
38
- "@backstage/plugin-catalog-react": "^0.6.4",
39
- "@backstage/theme": "^0.2.13",
34
+ "@backstage/catalog-model": "^0.0.0-nightly-202111222339",
35
+ "@backstage/core-components": "^0.0.0-nightly-202111222339",
36
+ "@backstage/core-plugin-api": "^0.0.0-nightly-202111222339",
37
+ "@backstage/plugin-catalog": "^0.0.0-nightly-202111222339",
38
+ "@backstage/plugin-catalog-react": "^0.0.0-nightly-202111222339",
39
+ "@backstage/theme": "^0.0.0-nightly-202111222339",
40
40
  "@material-ui/core": "^4.12.2",
41
41
  "@material-ui/icons": "^4.9.1",
42
42
  "@material-ui/lab": "4.0.0-alpha.57",
@@ -53,10 +53,10 @@
53
53
  "swagger-ui-react": "^4.0.0-rc.3"
54
54
  },
55
55
  "devDependencies": {
56
- "@backstage/cli": "^0.0.0-nightly-2021102522541",
57
- "@backstage/core-app-api": "^0.0.0-nightly-2021102522541",
58
- "@backstage/dev-utils": "^0.2.13",
59
- "@backstage/test-utils": "^0.0.0-nightly-2021102522541",
56
+ "@backstage/cli": "^0.0.0-nightly-202111222339",
57
+ "@backstage/core-app-api": "^0.0.0-nightly-202111222339",
58
+ "@backstage/dev-utils": "^0.0.0-nightly-202111222339",
59
+ "@backstage/test-utils": "^0.0.0-nightly-202111222339",
60
60
  "@testing-library/jest-dom": "^5.10.1",
61
61
  "@testing-library/react": "^11.2.5",
62
62
  "@testing-library/user-event": "^13.1.8",