Make the checkbox id more unique.

If the swagger.json defines more than one oauth2 Security scheme with
matching scopes, the id of the scope checkboxes were not unique.
As a result the scope for a second security scheme could not be
selected.

By adding the security scheme name to the id, it becomes more unique.
This commit is contained in:
Stefan Grootscholten
2017-04-21 10:38:54 +02:00
parent b76dcc2d4a
commit 073eff4e10
4 changed files with 39 additions and 39 deletions

File diff suppressed because one or more lines are too long