swagger-blocks
swagger-blocks copied to clipboard
Auto validate parameters with Rails application
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.