next-rest-framework
Advanced tools
Comparing version
@@ -38,3 +38,3 @@ "use strict"; | ||
name: "next-rest-framework", | ||
version: "6.0.0", | ||
version: "6.0.1", | ||
description: "Next REST Framework - Type-safe, self-documenting APIs for Next.js", | ||
@@ -41,0 +41,0 @@ keywords: [ |
@@ -34,3 +34,3 @@ #!/usr/bin/env node | ||
name: "next-rest-framework", | ||
version: "6.0.0", | ||
version: "6.0.1", | ||
description: "Next REST Framework - Type-safe, self-documenting APIs for Next.js", | ||
@@ -37,0 +37,0 @@ keywords: [ |
@@ -38,3 +38,3 @@ "use strict"; | ||
name: "next-rest-framework", | ||
version: "6.0.0", | ||
version: "6.0.1", | ||
description: "Next REST Framework - Type-safe, self-documenting APIs for Next.js", | ||
@@ -41,0 +41,0 @@ keywords: [ |
@@ -28,3 +28,3 @@ "use strict"; | ||
name: "next-rest-framework", | ||
version: "6.0.0", | ||
version: "6.0.1", | ||
description: "Next REST Framework - Type-safe, self-documenting APIs for Next.js", | ||
@@ -31,0 +31,0 @@ keywords: [ |
@@ -15,3 +15,3 @@ import { N as NextRestFrameworkConfig, B as BaseQuery, a as BaseContentType, F as FormDataContentType, T as TypedFormData, A as AnyContentTypeWithAutocompleteForMostCommonOnes, b as BaseParams, O as OutputObject, c as BaseOptions, d as BaseStatus, C as ContentTypesThatSupportInputValidation, Z as ZodFormSchema, e as OpenApiOperation, M as Modify, f as AnyCase, g as OpenApiPathItem } from './types-6T6OGMKf.js'; | ||
GET: { | ||
(req: NextRequest, _context: { | ||
(_req: NextRequest, _context: { | ||
params: BaseQuery; | ||
@@ -18,0 +18,0 @@ }): Promise<NextResponse<unknown>>; |
{ | ||
"name": "next-rest-framework", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Next REST Framework - Type-safe, self-documenting APIs for Next.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -254,8 +254,2 @@ <p align="center"> | ||
When using the default `nodejs` runtime with app router routes (`docsRoute` or `route`), you may encounter the [Dynamic server usage](https://nextjs.org/docs/messages/dynamic-server-error) Next.js error when running `next build`. In that case you should force the route to be dynamically rendered with the [dynamic](https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#dynamic) option: | ||
```typescript | ||
export const dynamic = 'force-dynamic'; | ||
``` | ||
##### [Pages router API route](#pages-router-api-route): | ||
@@ -262,0 +256,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1014896
8.12%91
15.19%23631
12.07%916
-0.65%55
14.58%