@scalar/nextjs-openapi 0.2.14 → 0.2.16

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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @scalar/nextjs-openapi
2
2
 
3
+ ## 0.2.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6a88108]
8
+ - @scalar/types@0.2.12
9
+ - @scalar/nextjs-api-reference@0.8.16
10
+ - @scalar/ts-to-openapi@0.1.0
11
+
12
+ ## 0.2.15
13
+
14
+ ### Patch Changes
15
+
16
+ - @scalar/nextjs-api-reference@0.8.15
17
+ - @scalar/ts-to-openapi@0.1.0
18
+ - @scalar/types@0.2.11
19
+
3
20
  ## 0.2.14
4
21
 
5
22
  ### Patch Changes
package/README.md CHANGED
@@ -31,5 +31,5 @@ You just need to drop this file into the `app/api/openapi/[[...openapi]]` folder
31
31
  // app/api/openapi/[[...slug]]/route.ts
32
32
  import { OpenAPI } from '@scalar/nextjs-openapi'
33
33
 
34
- export const GET = OpenAPI()
34
+ export const GET = OpenAPI().GET
35
35
  ```
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "scalar",
17
17
  "references"
18
18
  ],
19
- "version": "0.2.14",
19
+ "version": "0.2.16",
20
20
  "engines": {
21
21
  "node": ">=20"
22
22
  },
@@ -34,9 +34,9 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "fast-glob": "^3.3.2",
37
- "@scalar/nextjs-api-reference": "0.8.14",
38
- "@scalar/ts-to-openapi": "0.1.0",
39
- "@scalar/types": "0.2.11"
37
+ "@scalar/nextjs-api-reference": "0.8.16",
38
+ "@scalar/types": "0.2.12",
39
+ "@scalar/ts-to-openapi": "0.1.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/node": "^22.9.0",
@@ -44,7 +44,7 @@
44
44
  "@types/react-dom": "^19.1.6",
45
45
  "next": "^15.3.3",
46
46
  "openapi-types": "^12.1.3",
47
- "@scalar/build-tooling": "0.2.4"
47
+ "@scalar/build-tooling": "0.2.6"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "scalar-build-esbuild",