Get rid of unnecessary ternary operator
Get rid of unnecessary ternary operator

Condition `required == :required` is already boolean operation.
So we don't need to return `true` and `false` explicitly.

alfss/swagger-docs,richhollis/swagger-docs,billy3321/swagger-docs,bioritmo/swagger-docs,Flux-App/swagger-docs,RKushnir/swagger-docs,tbtalbottjr/swagger-docs