Orange-OpenSource / angular-swagger-ui

An angularJS implementation of Swagger UI
http://orange-opensource.github.io/angular-swagger-ui/
MIT License
135 stars 74 forks source link

Label of "Open/Hide" link button must be changed to "Show/Hide" #74

Closed amistry79 closed 7 years ago

amistry79 commented 7 years ago

Label of "Open/Hide" link button must be changed to "Show/Hide"

Current Behavior: Angular swagger ui is displaying "Open/Hide" link button for each model. Expected Behavior : Original swagger.io (http://petstore.swagger.io/#/store) ui is displaying "Show/Hide" link button for each model so angular swagger ui must display "Show/Hide" button.

mathieuales commented 7 years ago

Hi ! Yes i know but this is my choice: as the opposite of "open" is "close" and not "hide" i decided to choose between "open/close" and "show/hide" ... This component does at aim at being an exact clone of swagger-ui Regards

amistry79 commented 7 years ago

I would still prefer the Open/Close instead of "Open/Hide". This gives the different meaning to the user as per the UX guideline.