anchor.diff:  <context:annotation-config/>
   
   <bean class="com.yourapp.configuration.MySwaggerConfig"/>
  -```
  -
  -```java
  +----
  +
  +.Configuration bean pulled into xml a configuration as a bean
  +[source,java,linenums]
  +----
   
   @Configuration
   @EnableSwagger //Loads the spring beans required by the framework
  
positive.code:    }
  
  }
  ```
  
  
  === Docket Spring Java Configuration
  
negative.code: use one of the base types specified in the Types class =>
  `springfox-schema/src/main/java/springfox/documentation/schema/Types.java`
  
  .Primitive types
  [source,groovy,linenums]
  ----
  include::../../springfox-schema/src/main/java/springfox/documentation/schema/Types.java[lines=42..56]
  ----
  
  
  