diff --git a/test-app/spec/swagger_helper.rb b/test-app/spec/swagger_helper.rb index ea72c4d..cadb592 100644 --- a/test-app/spec/swagger_helper.rb +++ b/test-app/spec/swagger_helper.rb @@ -70,7 +70,8 @@ RSpec.configure do |config| components: { securitySchemes: { basic_auth: { - type: :basic + type: :http, + scheme: :basic }, api_key: { type: :apiKey, @@ -135,7 +136,8 @@ RSpec.configure do |config| components: { securitySchemes: { basic_auth: { - type: :basic + type: :http, + scheme: :basic }, api_key: { type: :apiKey, diff --git a/test-app/swagger/v1/swagger.json b/test-app/swagger/v1/swagger.json index 957206c..e18f579 100644 --- a/test-app/swagger/v1/swagger.json +++ b/test-app/swagger/v1/swagger.json @@ -377,7 +377,8 @@ "components": { "securitySchemes": { "basic_auth": { - "type": "basic" + "type": "http", + "scheme": "basic" }, "api_key": { "type": "apiKey", diff --git a/test-app/swagger/v3/openapi.json b/test-app/swagger/v3/openapi.json index 97506c4..90b9f18 100644 --- a/test-app/swagger/v3/openapi.json +++ b/test-app/swagger/v3/openapi.json @@ -127,7 +127,8 @@ "components": { "securitySchemes": { "basic_auth": { - "type": "basic" + "type": "http", + "scheme": "basic" }, "api_key": { "type": "apiKey",