patch ApiClient and defaultValue to manage Boolean