Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto validate parameters with Rails application #124

Open
ms-z opened this issue Mar 25, 2019 · 0 comments
Open

Auto validate parameters with Rails application #124

ms-z opened this issue Mar 25, 2019 · 0 comments

Comments

@ms-z
Copy link

ms-z commented Mar 25, 2019

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 ms-z changed the title Auto validate parameters with Rails appliction Auto validate parameters with Rails application Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant