You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

next-rest-framework

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-rest-framework - npm Package Compare versions

Comparing version

to
0.4.1

2

package.json
{
"name": "next-rest-framework",
"version": "0.4.0",
"version": "0.4.1",
"description": "Next REST Framework - write type-safe, self-documenting REST APIs in Next.js",

@@ -5,0 +5,0 @@ "keywords": [

@@ -92,3 +92,5 @@ <p align="center">

export const { defineCatchAllHandler, defineEndpoints } = NextRestFramework();
export const { defineCatchAllHandler, defineEndpoints } = NextRestFramework({
// apiRoutesPath: "src/pages/api", // Only needed if using the src/ folder.
});
```

@@ -166,5 +168,5 @@

}),
query: {
query: z.object({
page: z.number()
}
})
},

@@ -171,0 +173,0 @@ output: [