code: public Docket alternateTypeRules(AlternateTypeRule... alternateTypeRules) {
      this.ruleBuilders.addAll(Stream.of(alternateTypeRules).map(identityRuleBuilder()).collect(toList()));
      return this;
    }
docs: Adds model substitution rules (alternateTypeRules)
  
  @param alternateTypeRules - rules to be applied
  @return this Docket
  @see springfox.documentation.schema.AlternateTypeRules#newRule(java.lang.reflect.Type,
  java.lang.reflect.Type)