swagger-blocks icon indicating copy to clipboard operation
swagger-blocks copied to clipboard

Auto validate parameters with Rails application

Open ms-z opened this issue 5 years ago • 0 comments

Hello Team,

I'm using swagger::blocks in my rails application. For any new endpoint in my rails controller, I'm annotating the endpoint with swagger_path declarations along with required parameters.

At swagger docs level (I mean from swagger docs interface), the parameters are being validated to which required: true is present. I'm trying to find a way if there is any possibility to fire the same validations when I'm using this swagger path from the postman or RestClient or from curl requests.

Please let me know.

ms-z avatar Mar 25 '19 09:03 ms-z