blomqma / next-rest-framework

Type-safe, self-documenting APIs for Next.js
https://next-rest-framework.vercel.app
Other
134 stars 17 forks source link

Fix query parameter parsing & OpenAPI generation #136

Closed blomqma closed 5 months ago

blomqma commented 5 months ago

This fixes the parsing of request query parameters by using the qs library that handles parsing more complex parameters better than the current manual approach. The OpenAPI spec generation is also fixed at the current implementation ended up adding unnecessary union types for the generated schema.

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-rest-framework ❌ Failed (Inspect) Feb 26, 2024 6:46pm
next-rest-framework-demo ❌ Failed (Inspect) Feb 26, 2024 6:46pm