Skip to content

why openapi specification yaml generation forced to include basic security scheme ? #656

Closed Answered by shreeram09
shreeram09 asked this question in Q&A
Discussion options

You must be logged in to vote

found a workaround with properties based approach

  1. disabled default basic security scheme with following property quarkus.smallrye-openapi.auto-add-security=false
  2. set the following properties for bearer scheme
  • quarkus.smallrye-openapi.security-scheme-name=bearerAuth
  • quarkus.smallrye-openapi.security-scheme=jwt

this worked with

  • Quarkus v3.2.12.Final & JDK(11,21)
  • Quarkus v3.8.6 & JDK21
  • Quarkus v3.14.1 & JDK21

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@shreeram09
Comment options

@phillip-kruger
Comment options

@shreeram09
Comment options

Answer selected by phillip-kruger
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