content: package ag.selm.feedback;
  
  import io.swagger.v3.oas.annotations.enums.SecuritySchemeType;
  import io.swagger.v3.oas.annotations.security.OAuthFlow;
  import io.swagger.v3.oas.annotations.security.OAuthFlows;
  import io.swagger.v3.oas.annotations.security.OAuthScope;
  import io.swagger.v3.oas.annotations.security.SecurityScheme;
  import org.springframework.boot.SpringApplication;
  import org.springframework.boot.autoconfigure.SpringBootApplication;
  import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
  
  @SecurityScheme(
          name = "keycloak",
          type = SecuritySchemeType.OAUTH2,
          flows = @OAuthFlows(
                  authorizationCode = @OAuthFlow(
                          authorizationUrl = "${keycloak.uri}/realms/selmag/protocol/openid-connect/auth",
                          tokenUrl = "${keycloak.uri}/realms/selmag/protocol/openid-connect/token",
                          scopes = {
                                  @OAuthScope(name = "openid"),
                                  @OAuthScope(name = "microprofile-jwt")
                          }
                  )
          )
  )
  @SpringBootApplication
  @EnableDiscoveryClient
  public class FeedbackServiceApplication {
  
      public static void main(String[] args) {
          SpringApplication.run(FeedbackServiceApplication.class, args);
      }
  }
  