Class ScalarDisableAutoConfiguration

java.lang.Object
org.springdoc.scalar.ScalarDisableAutoConfiguration
All Implemented Interfaces:
org.springframework.boot.autoconfigure.AutoConfigurationImportFilter

public class ScalarDisableAutoConfiguration extends Object implements org.springframework.boot.autoconfigure.AutoConfigurationImportFilter
Disable Scalar WebJar AutoConfiguration.

Registered by the Springdoc Scalar starters only, as their controllers replace Scalar's own ones. Both Scalar auto-configurations are excluded together, since Scalar's WebFlux one has no web application type condition.

  • Constructor Details

    • ScalarDisableAutoConfiguration

      public ScalarDisableAutoConfiguration()
  • Method Details

    • match

      public boolean[] match(String[] candidates, org.springframework.boot.autoconfigure.AutoConfigurationMetadata metadata)
      Specified by:
      match in interface org.springframework.boot.autoconfigure.AutoConfigurationImportFilter