@opra/core 1.0.0-alpha.8 → 1.0.0-alpha.9
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.
|
@@ -81,7 +81,6 @@ class ExpressAdapter extends http_adapter_js_1.HttpAdapter {
|
|
|
81
81
|
router.get('/\\$schema', (_req, _res, next) => {
|
|
82
82
|
const context = createContext(_req, _res);
|
|
83
83
|
this[constants_js_1.kHandler].sendDocumentSchema(context).catch(next);
|
|
84
|
-
return;
|
|
85
84
|
});
|
|
86
85
|
/** Add operation endpoints */
|
|
87
86
|
if (this.api.controllers.size) {
|
|
@@ -77,7 +77,6 @@ export class ExpressAdapter extends HttpAdapter {
|
|
|
77
77
|
router.get('/\\$schema', (_req, _res, next) => {
|
|
78
78
|
const context = createContext(_req, _res);
|
|
79
79
|
this[kHandler].sendDocumentSchema(context).catch(next);
|
|
80
|
-
return;
|
|
81
80
|
});
|
|
82
81
|
/** Add operation endpoints */
|
|
83
82
|
if (this.api.controllers.size) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/core",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.9",
|
|
4
4
|
"description": "Opra schema package",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@browsery/http-parser": "^0.5.8",
|
|
35
35
|
"@browsery/type-is": "^1.6.18-r2",
|
|
36
|
-
"@opra/common": "^1.0.0-alpha.
|
|
36
|
+
"@opra/common": "^1.0.0-alpha.9",
|
|
37
37
|
"@types/formidable": "^3.4.5",
|
|
38
38
|
"accepts": "^1.3.8",
|
|
39
39
|
"base64-stream": "^1.0.0",
|