next-trpc-openapi
Advanced tools
Comparing version
# next-trpc-openapi | ||
## 0.1.4 | ||
### Patch Changes | ||
- 44507bc: Fix build | ||
## 0.1.3 | ||
@@ -4,0 +10,0 @@ |
@@ -74,5 +74,5 @@ import { AnyProcedure, TRPCError } from "@trpc/server"; | ||
input = { | ||
...(useBody | ||
...((useBody | ||
? await req.json() | ||
: queryParamsToMap(req.nextUrl.searchParams)), | ||
: queryParamsToMap(req.nextUrl.searchParams)) as any), | ||
...pathInput, | ||
@@ -79,0 +79,0 @@ }; |
{ | ||
"name": "next-trpc-openapi", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Expose your trpc endpoints as openapi API endpoints", | ||
@@ -5,0 +5,0 @@ "author": "강동윤 <kdy1997.dev@gmail.com>", |
Sorry, the diff of this file is not supported yet
31231
0.19%