securityScheme("BasicAuth") { type = AuthType.HTTP scheme = AuthScheme.BASIC }
Structural error at components.securitySchemes.BasicAuth
should NOT have additional
additionalProperty: name
securityScheme(JWT_AUTH) { type = AuthType.HTTP scheme = AuthScheme.BEARER }
Structural error at components.securitySchemes.JwtAuth
should NOT have additional properties
additionalProperty: name
Using https://editor.swagger.io/ to check the generated json presents these problems.
securityScheme("BasicAuth") { type = AuthType.HTTP scheme = AuthScheme.BASIC }
Structural error at components.securitySchemes.BasicAuth should NOT have additional additionalProperty: namesecurityScheme(JWT_AUTH) { type = AuthType.HTTP scheme = AuthScheme.BEARER }
Structural error at components.securitySchemes.JwtAuth should NOT have additional properties additionalProperty: name