@tsed/swagger 6.102.8-rc.3 → 6.102.8
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/package.json +14 -17
- package/readme.md +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/swagger",
|
|
3
|
-
"version": "6.102.8
|
|
3
|
+
"version": "6.102.8",
|
|
4
4
|
"description": "Swagger package for Ts.ED framework",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -20,35 +20,32 @@
|
|
|
20
20
|
"start": "ts-node -r tsconfig-paths/register test/app/index.ts"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@tsed/openspec": "6.102.8
|
|
23
|
+
"@tsed/openspec": "6.102.8",
|
|
24
24
|
"fs-extra": "9.0.1",
|
|
25
25
|
"micromatch": "4.0.4",
|
|
26
26
|
"swagger-ui-dist": "^3.46.0",
|
|
27
27
|
"tslib": "2.2.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@tsed/common": "6.102.8
|
|
31
|
-
"@tsed/core": "6.102.8
|
|
32
|
-
"@tsed/di": "6.102.8
|
|
33
|
-
"@tsed/json-mapper": "6.102.8
|
|
34
|
-
"@tsed/openspec": "6.102.8
|
|
35
|
-
"@tsed/schema": "6.102.8
|
|
30
|
+
"@tsed/common": "6.102.8",
|
|
31
|
+
"@tsed/core": "6.102.8",
|
|
32
|
+
"@tsed/di": "6.102.8",
|
|
33
|
+
"@tsed/json-mapper": "6.102.8",
|
|
34
|
+
"@tsed/openspec": "6.102.8",
|
|
35
|
+
"@tsed/schema": "6.102.8",
|
|
36
36
|
"@types/swagger-ui-dist": ">=3.30.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@tsed/common": "^6.102.8
|
|
40
|
-
"@tsed/core": "^6.102.8
|
|
41
|
-
"@tsed/json-mapper": "^6.102.8
|
|
42
|
-
"@tsed/schema": "^6.102.8
|
|
39
|
+
"@tsed/common": "^6.102.8",
|
|
40
|
+
"@tsed/core": "^6.102.8",
|
|
41
|
+
"@tsed/json-mapper": "^6.102.8",
|
|
42
|
+
"@tsed/schema": "^6.102.8"
|
|
43
43
|
},
|
|
44
44
|
"repository": "https://github.com/tsedio/tsed",
|
|
45
45
|
"bugs": {
|
|
46
46
|
"url": "https://github.com/tsedio/tsed/issues"
|
|
47
47
|
},
|
|
48
|
-
"homepage": "https://github.com/tsedio/tsed/tree/
|
|
48
|
+
"homepage": "https://github.com/tsedio/tsed/tree/production/packages/specs/swagger",
|
|
49
49
|
"author": "Romain Lenzotti",
|
|
50
|
-
"license": "MIT"
|
|
51
|
-
"publishConfig": {
|
|
52
|
-
"tag": "rc"
|
|
53
|
-
}
|
|
50
|
+
"license": "MIT"
|
|
54
51
|
}
|
package/readme.md
CHANGED
|
@@ -43,10 +43,8 @@ Then add the following configuration in your Server:
|
|
|
43
43
|
import {Configuration} from "@tsed/common";
|
|
44
44
|
import "@tsed/swagger"; // import swagger Ts.ED module
|
|
45
45
|
import {resolve} from "path";
|
|
46
|
-
const rootDir = resolve(__dirname);
|
|
47
46
|
|
|
48
47
|
@Configuration({
|
|
49
|
-
rootDir,
|
|
50
48
|
swagger: [
|
|
51
49
|
{
|
|
52
50
|
path: "/v2/docs",
|
|
@@ -96,7 +94,6 @@ import {Configuration} from "@tsed/common";
|
|
|
96
94
|
import "@tsed/swagger"; // import swagger Ts.ED module
|
|
97
95
|
|
|
98
96
|
@Configuration({
|
|
99
|
-
rootDir: __dirname,
|
|
100
97
|
swagger: [
|
|
101
98
|
{
|
|
102
99
|
path: "/api-docs-v1",
|
|
@@ -206,7 +203,6 @@ import {Configuration} from "@tsed/common";
|
|
|
206
203
|
import "@tsed/swagger"; // import swagger Ts.ED module
|
|
207
204
|
|
|
208
205
|
@Configuration({
|
|
209
|
-
rootDir: __dirname,
|
|
210
206
|
swagger: [
|
|
211
207
|
{
|
|
212
208
|
path: "/api-docs",
|