Closed martijnimhoff closed 1 year ago
I took a look at the source code. I see the parameters key was only implemented for v3. However it is actually also a valid spec for v2. Could that be added?
Hi, thanks for asking!
It sounds like we should be able to add this to V2 as well however I 'm currently enjoying a vacation away from my Dev environment. I will look into the issue next week!
Kind regards, Hans
Released as 4.3.1 on NPM. Enjoy !
Kind regards, Hans
My issue is exactly like this issue: https://github.com/seriousme/fastify-openapi-glue/issues/52
However I'm using 4.3.0 of this library.
I can reproduce this issue with this swagger doc:
This results in this error:
Perhaps the issue got reintroduced somehow?
According to the specs, swagger 2.0 should support the parameters key: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md#fixed-fields-4