Closed davidwessman closed 1 year ago
The @in_schema
seems to be true and then it wont consider @param_description.required
which would have returned true:
https://github.com/Apipie/apipie-rails/blob/61ae61d1247543dcb17ebb58267dc5ca0e987c7f/lib/apipie/generator/swagger/param_description/builder.rb#L82
Fixed in 1.2.2, thank you @shev-vadim-net 🎉
Hello!
When I specify my return values like this:
and generate swagger, I still get warnings:
even though
property
are required by default. I also tried addingrequired: true
but still get the errors.It does generate the correct swagger file as far as I understand: