Closed itsjxck closed 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
next-rest-framework | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 26, 2024 10:43am |
next-rest-framework-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 26, 2024 10:43am |
Hey @blomqma sorry to ping, but this bug with query params is causing us issues - please could we get your eyes on this?
Hey @blomqma sorry to ping, but this bug with query params is causing us issues - please could we get your eyes on this?
@itsjxck Thanks for the contribution & welcome to the contributor club, your fix seems like a correct one. I cleaned up the commits a bit and added some test coverage in https://github.com/blomqma/next-rest-framework/pull/138 where I also added you as the co-author. The OpenAPI generation is fixed in v5.1.9
with these changes now.
Noticed a bug that meant query params get generated in the openapi file like:
This
anyOf: [{ "not": {} }]
meant the swagger UI wasn't being generated correctly. I also noticed that the parsing of query params doesn't handle arrays properly so updated that as well.