From d9701e8608fa5cf21672677581456a2a25b4ef89 Mon Sep 17 00:00:00 2001 From: Gustavo Michels Date: Wed, 8 May 2024 22:43:45 -0500 Subject: [PATCH] feat: add `serve_plain_dns` to `TlsConfig` --- README.md | 2 +- models.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 075ef57..93051ef 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,6 @@ [![Status](https://github.com/gmichels/adguard-client-go/workflows/Release/badge.svg)](https://github.com/gmichels/adguard-client-go/actions) [![Go Report Card](https://goreportcard.com/badge/github.com/gmichels/adguard-client-go)](https://goreportcard.com/report/github.com/gmichels/adguard-client-go) -Updated to version 0.107.43 of the [upstream API](https://github.com/AdguardTeam/AdGuardHome/blob/v0.107.43/openapi/openapi.yaml). +Updated to version 0.107.48 of the [upstream API](https://github.com/AdguardTeam/AdGuardHome/blob/v0.107.48/openapi/openapi.yaml). This was written primarily for use in my [Terraform provider for AdGuard Home](https://github.com/gmichels/terraform-provider-adguard). diff --git a/models.go b/models.go index 156d2ec..8dce881 100644 --- a/models.go +++ b/models.go @@ -283,6 +283,7 @@ type TlsConfig struct { KeyType string `json:"key_type"` WarningValidation string `json:"warning_validation"` ValidPair bool `json:"valid_pair"` + ServePlainDns bool `json:"serve_plain_dns"` } // Schedule