Password input field
My api has an endpoint to authenticate users and get a token via authentication of email and password. I know the swagger spec supports specifying a password format and swagger-ui will turn the input into a password. However, I'm not sure if this is a swagger 2.0 spec feature or not.
is it possible to specify in grape-swagger that a parameter is a password parameter yielding a password input in swagger-ui?
Are you saying that's a swagger 2 feature? There's a swagger 2 branch ATM, you could definitely contribute password support change into it.
I can't find reference to it in the 1.2 spec, so I'm guessing its swagger 2 feature. We're still on 1.2 unfortunately and I won't be able to dev and test on it at this time.
I've labelled this as a new feature.