@loopback/rest-explorer 1.4.6 → 1.4.10

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 +32 -0
  2. package/README.md +16 -0
  3. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -3,6 +3,38 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.4.10](https://github.com/strongloop/loopback-next/compare/@loopback/rest-explorer@1.4.9...@loopback/rest-explorer@1.4.10) (2020-02-06)
7
+
8
+ **Note:** Version bump only for package @loopback/rest-explorer
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.4.9](https://github.com/strongloop/loopback-next/compare/@loopback/rest-explorer@1.4.8...@loopback/rest-explorer@1.4.9) (2020-02-05)
15
+
16
+ **Note:** Version bump only for package @loopback/rest-explorer
17
+
18
+
19
+
20
+
21
+
22
+ ## [1.4.8](https://github.com/strongloop/loopback-next/compare/@loopback/rest-explorer@1.4.7...@loopback/rest-explorer@1.4.8) (2020-01-27)
23
+
24
+ **Note:** Version bump only for package @loopback/rest-explorer
25
+
26
+
27
+
28
+
29
+
30
+ ## [1.4.7](https://github.com/strongloop/loopback-next/compare/@loopback/rest-explorer@1.4.6...@loopback/rest-explorer@1.4.7) (2020-01-07)
31
+
32
+ **Note:** Version bump only for package @loopback/rest-explorer
33
+
34
+
35
+
36
+
37
+
6
38
  ## [1.4.6](https://github.com/strongloop/loopback-next/compare/@loopback/rest-explorer@1.4.5...@loopback/rest-explorer@1.4.6) (2019-12-09)
7
39
 
8
40
  **Note:** Version bump only for package @loopback/rest-explorer
package/README.md CHANGED
@@ -90,6 +90,22 @@ Note also that you cannot use a url-relative path for the `servers` entry, as
90
90
  the Swagger UI does not support that (yet). You may use a _host_-relative path
91
91
  however.
92
92
 
93
+ ### Disable Self-Hosted API Explorer
94
+
95
+ To disable the self-hosted API Explorer, remove the component from the
96
+ constructor of your custom Application class. Typically the component will be
97
+ located in `./src/application.ts` and consist of two items, for example:
98
+
99
+ ```ts
100
+ this.bind(RestExplorerBindings.CONFIG).to({
101
+ path: '/openapi/ui',
102
+ });
103
+ this.component(RestExplorerComponent);
104
+ ```
105
+
106
+ {% include note.html content="To completely disable API Explorer, we also need
107
+ to [disable the redirect to the externally hosted API Explorer](./Server.html#disable-redirect-to-api-explorer)." %}
108
+
93
109
  #### Summary
94
110
 
95
111
  For some common scenarios, here are recommended configurations to have the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loopback/rest-explorer",
3
- "version": "1.4.6",
3
+ "version": "1.4.10",
4
4
  "description": "LoopBack's API Explorer",
5
5
  "engines": {
6
6
  "node": ">=8.9"
@@ -16,19 +16,19 @@
16
16
  "copyright.owner": "IBM Corp.",
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
- "@loopback/context": "^1.25.0",
20
- "@loopback/core": "^1.12.0",
21
- "@loopback/rest": "^1.25.0",
19
+ "@loopback/context": "^2.1.1",
20
+ "@loopback/core": "^1.12.4",
21
+ "@loopback/rest": "^2.0.0",
22
22
  "ejs": "^3.0.1",
23
- "swagger-ui-dist": "^3.24.3"
23
+ "swagger-ui-dist": "^3.25.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@loopback/build": "^3.0.0",
27
- "@loopback/eslint-config": "^5.0.0",
28
- "@loopback/testlab": "^1.10.0",
26
+ "@loopback/build": "^3.1.1",
27
+ "@loopback/eslint-config": "^5.0.3",
28
+ "@loopback/testlab": "^1.10.3",
29
29
  "@types/ejs": "^3.0.0",
30
30
  "@types/express": "^4.17.2",
31
- "@types/node": "^10.17.6",
31
+ "@types/node": "^10.17.14",
32
32
  "express": "^4.17.1"
33
33
  },
34
34
  "keywords": [
@@ -53,5 +53,5 @@
53
53
  "url": "https://github.com/strongloop/loopback-next.git",
54
54
  "directory": "packages/rest-explorer"
55
55
  },
56
- "gitHead": "89eb61bacaed75e6eb61ae6840cea266cb888659"
56
+ "gitHead": "6eea5e428b145cafb84a998bd53979da8c8fba07"
57
57
  }