blomqma / next-rest-framework

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

Fix query parameter parsing & OpenAPI generation #137

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 as 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 Updated (UTC)
next-rest-framework ✅ Ready (Inspect) Visit Preview Feb 26, 2024 7:00pm
next-rest-framework-demo ❌ Failed (Inspect) Feb 26, 2024 7:00pm