swagger-api / swagger-ui

Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
https://swagger.io
Apache License 2.0
25.94k stars 8 forks source link

Hide curl value for password or curl output itself? #9833

Open lasred opened 2 months ago

lasred commented 2 months ago

Hi team,

This feature request is very similar to this one - https://github.com/swagger-api/swagger-ui/issues/8320

We're looking for a way to hide the password or the curl output itself

Is there a feature request for this? If there is, what is the priority of this request?
hkosova commented 1 month ago

To hide the curl commands, you can add this plugin to your Swagger UI initialization code: https://github.com/swagger-api/swagger-ui/issues/5020#issuecomment-653756698