mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 07:16:40 +00:00
also move away from deprecated type: basic
This commit is contained in:
@@ -70,7 +70,8 @@ RSpec.configure do |config|
|
|||||||
components: {
|
components: {
|
||||||
securitySchemes: {
|
securitySchemes: {
|
||||||
basic_auth: {
|
basic_auth: {
|
||||||
type: :basic
|
type: :http,
|
||||||
|
scheme: :basic
|
||||||
},
|
},
|
||||||
api_key: {
|
api_key: {
|
||||||
type: :apiKey,
|
type: :apiKey,
|
||||||
@@ -135,7 +136,8 @@ RSpec.configure do |config|
|
|||||||
components: {
|
components: {
|
||||||
securitySchemes: {
|
securitySchemes: {
|
||||||
basic_auth: {
|
basic_auth: {
|
||||||
type: :basic
|
type: :http,
|
||||||
|
scheme: :basic
|
||||||
},
|
},
|
||||||
api_key: {
|
api_key: {
|
||||||
type: :apiKey,
|
type: :apiKey,
|
||||||
|
|||||||
@@ -377,7 +377,8 @@
|
|||||||
"components": {
|
"components": {
|
||||||
"securitySchemes": {
|
"securitySchemes": {
|
||||||
"basic_auth": {
|
"basic_auth": {
|
||||||
"type": "basic"
|
"type": "http",
|
||||||
|
"scheme": "basic"
|
||||||
},
|
},
|
||||||
"api_key": {
|
"api_key": {
|
||||||
"type": "apiKey",
|
"type": "apiKey",
|
||||||
|
|||||||
@@ -127,7 +127,8 @@
|
|||||||
"components": {
|
"components": {
|
||||||
"securitySchemes": {
|
"securitySchemes": {
|
||||||
"basic_auth": {
|
"basic_auth": {
|
||||||
"type": "basic"
|
"type": "http",
|
||||||
|
"scheme": "basic"
|
||||||
},
|
},
|
||||||
"api_key": {
|
"api_key": {
|
||||||
"type": "apiKey",
|
"type": "apiKey",
|
||||||
|
|||||||
Reference in New Issue
Block a user