feat(auth): Allow Basic auth to be enabled

This commit is contained in:
Austin Kabiru
2018-11-30 12:33:13 +03:00
parent a50bf616b9
commit b0712418a3
3 changed files with 19 additions and 0 deletions

View File

@@ -7,4 +7,8 @@ Rswag::Ui.configure do |c|
# then the list below should correspond to the relative paths for those endpoints
c.swagger_endpoint '/api-docs/v1/swagger.json', 'API V1 Docs'
# Add Basic Auth in case your API is private
# c.basic_auth_enabled = true
# c.basic_auth_credentials 'username', 'password'
end