touchbit / retrofit-veslo

Extension of the 'Retrofit' library for developing automated tests for API testing.
Apache License 2.0
8 stars 0 forks source link

Using a wildcard when registering a converter for a java package #5

Closed shaburov closed 2 years ago

shaburov commented 2 years ago

Usage:

public class CustomConverterFactory extends ExtensionConverterFactory {

  public CustomConverterFactory() {
    super(LoggerFactory.getLogger(CustomConverterFactory.class));
    registerPackageConverter(new GsonConverter(), "com.example.model.gson.*");
  }

}

Options: