mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-24 23:06:41 +00:00
also move away from deprecated type: basic
This commit is contained in:
parent
3e10b09f23
commit
ab457743a8
@ -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",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user