Skip to content

Can I define a global security scheme? #1902

Answered by MikeEdgar
cristalp asked this question in Q&A
Discussion options

You must be logged in to vote

Add this, also to the Application class:

@OpenAPIDefinition(
    security = @SecurityRequirement(name = ""basicAuth")
)

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@cristalp
Comment options

@MikeEdgar
Comment options

Comment options

You must be logged in to vote
1 reply
@MikeEdgar
Comment options

Answer selected by cristalp
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants