@scalar/nestjs-api-reference 0.3.165 → 0.3.167
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/README.md +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ const OpenApiSpecification =
|
|
|
47
47
|
)
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
If you’re serving an OpenAPI/Swagger file already, you can pass an URL, too:
|
|
50
|
+
Recommended: If you’re serving an OpenAPI/Swagger file already, you can pass an URL, too:
|
|
51
51
|
|
|
52
52
|
```ts
|
|
53
53
|
import { apiReference } from '@scalar/nestjs-api-reference'
|
|
@@ -76,7 +76,7 @@ app.use(
|
|
|
76
76
|
apiReference({
|
|
77
77
|
theme: 'purple',
|
|
78
78
|
spec: {
|
|
79
|
-
|
|
79
|
+
url: '/openapi.json',
|
|
80
80
|
},
|
|
81
81
|
}),
|
|
82
82
|
)
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "https://github.com/scalar/scalar.git",
|
|
11
11
|
"directory": "packages/nestjs-api-reference"
|
|
12
12
|
},
|
|
13
|
-
"version": "0.3.
|
|
13
|
+
"version": "0.3.167",
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=18"
|
|
16
16
|
},
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
],
|
|
35
35
|
"module": "dist/index.js",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@scalar/types": "0.0.
|
|
37
|
+
"@scalar/types": "0.0.18"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/express": "^4.17.21",
|
|
41
|
-
"express": "^4.
|
|
41
|
+
"express": "^4.21.1",
|
|
42
42
|
"fastify": "^4.26.2",
|
|
43
43
|
"tsup": "^7.2.0",
|
|
44
|
-
"vite": "^5.
|
|
44
|
+
"vite": "^5.4.9",
|
|
45
45
|
"vitest": "^1.6.0",
|
|
46
|
-
"@scalar/api-reference": "1.25.
|
|
46
|
+
"@scalar/api-reference": "1.25.53"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsup ./src/index.ts --format esm,cjs --dts",
|