diff --git a/docs/openapi.yaml b/docs/openapi.yaml index a5823c0..a5baffc 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -606,6 +606,9 @@ components: properties: id: $ref: "#/components/schemas/ResourceId" + name: + type: string + description: Отображаемое имя профиля (опционально). url: type: string format: uri @@ -621,6 +624,9 @@ components: required: - url properties: + name: + type: string + description: Отображаемое имя профиля (опционально). url: type: string format: uri @@ -840,6 +846,8 @@ components: DohProfilePatch: type: object properties: + name: + type: string url: type: string format: uri diff --git a/web/src/lib/api/types.ts b/web/src/lib/api/types.ts index e70c3f3..c14a820 100644 --- a/web/src/lib/api/types.ts +++ b/web/src/lib/api/types.ts @@ -124,11 +124,13 @@ export type IpRangeEntriesResponse = Page; // ---- DoH Profiles ---- export type DohProfile = { id: string; + name?: string; url: string; timeout_ms: number | null; vault_secret_ref: string | null; }; export type DohProfileCreate = { + name?: string; url: string; timeout_ms?: number | null; vault_secret_ref?: string | null;