Skip to content

Conversation

@fehguy
Copy link
Contributor

@fehguy fehguy commented Dec 19, 2016

Fixes #469

@fehguy fehguy added this to the v1.5.11 milestone Dec 19, 2016
@fehguy fehguy merged commit 8eafef8 into master Dec 19, 2016
@fehguy fehguy deleted the issue-469 branch December 19, 2016 21:29
@andreas-fey
Copy link

So, how does this fix showing a password in swagger as **** ?

@fehguy
Copy link
Contributor Author

fehguy commented Dec 20, 2016

It's part of the solution to let the format be password. Now the front-end can choose to hide the input value

@fehguy
Copy link
Contributor Author

fehguy commented Jan 2, 2017

Simply set type="string", format="password" and swagger-ui will render the password correctly.

@andreas-fey
Copy link

Seems that the "format" attribute did it not make into the https://github.com/swagger-api/swagger-core/wiki/Annotations-1.5.X#apimodelproperty , did it?

@fehguy
Copy link
Contributor Author

fehguy commented Jan 17, 2017

No, the original issue was around params, not model properties. Please open a new issue if you're looking at model property support.

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

Successfully merging this pull request may close these issues.

3 participants