-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Basic Auth shouldn't require a password #2114
Copy link
Copy link
Closed
Milestone
Description
The BasicAuth dialog shouldn't require a password. I've got an API I'm trying to use that only requires a username. There is no password so I should be able to submit the empty string.
- swagger-ui version 2.1.4
- a swagger file reproducing the issue
swagger: '2.0'
info:
title: Demo
version: vDemo
host: example.com
schemes:
- https
consumes:
- application/json
produces:
- application/json
security:
- api_key: []
paths:
/sites:
get:
summary: List of sites
tags:
- site
description: This route is most useful for finding a site's ID for subsequent requests.
responses:
default:
description: Something.
securityDefinitions:
api_key:
type: basic
description: Enter the API key as the username and set the password to an empty string. You can locate and manage your API keys from the API Credentials page.
Reactions are currently unavailable
