From fc7e058d6a32e7fd465b2fc944e54bfa862557df Mon Sep 17 00:00:00 2001 From: katsumata <12413150+winor30@users.noreply.github.com> Date: Tue, 11 Feb 2025 00:00:52 +0900 Subject: [PATCH] chore: Update schema validation URLs in protobufs - Update schema validation URLs in protobuf definitions for better integration with the flagd feature flag system. - Ensure consistency across service and sync protobuf files regarding flag configuration schema URLs. Signed-off-by: katsumata <12413150+winor30@users.noreply.github.com> --- protobuf/flagd/sync/v1/sync.proto | 4 ++-- protobuf/sync/v1/sync_service.proto | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/protobuf/flagd/sync/v1/sync.proto b/protobuf/flagd/sync/v1/sync.proto index 1d0c877..784329d 100644 --- a/protobuf/flagd/sync/v1/sync.proto +++ b/protobuf/flagd/sync/v1/sync.proto @@ -35,7 +35,7 @@ message SyncFlagsRequest { // SyncFlagsResponse is the server response containing feature flag configurations and the state message SyncFlagsResponse { - // flagd feature flag configuration. Must be validated to schema - https://raw.githubusercontent.com/open-feature/schemas/main/json/flagd-definitions.json + // flagd feature flag configuration. Must be validated to schema - https://raw.githubusercontent.com/open-feature/flagd-schemas/main/json/flags.json string flag_configuration = 1; } @@ -57,7 +57,7 @@ message FetchAllFlagsRequest { // FetchAllFlagsResponse is the server response containing feature flag configurations message FetchAllFlagsResponse { - // flagd feature flag configuration. Must be validated to schema - https://raw.githubusercontent.com/open-feature/schemas/main/json/flagd-definitions.json + // flagd feature flag configuration. Must be validated to schema - https://raw.githubusercontent.com/open-feature/flagd-schemas/main/json/flags.json string flag_configuration = 1; } diff --git a/protobuf/sync/v1/sync_service.proto b/protobuf/sync/v1/sync_service.proto index c93464e..23e12c4 100644 --- a/protobuf/sync/v1/sync_service.proto +++ b/protobuf/sync/v1/sync_service.proto @@ -58,7 +58,7 @@ enum SyncState { // SyncFlagsResponse is the server response containing feature flag configurations and the state message SyncFlagsResponse { - // flagd feature flag configuration. Must be validated to schema - https://raw.githubusercontent.com/open-feature/schemas/main/json/flagd-definitions.json + // flagd feature flag configuration. Must be validated to schema - https://raw.githubusercontent.com/open-feature/flagd-schemas/main/json/flags.json string flag_configuration = 1; // State conveying the operation to be performed by flagd. See the descriptions of SyncState for an explanation of @@ -84,7 +84,7 @@ message FetchAllFlagsRequest { // FetchAllFlagsResponse is the server response containing feature flag configurations message FetchAllFlagsResponse { - // flagd feature flag configuration. Must be validated to schema - https://raw.githubusercontent.com/open-feature/schemas/main/json/flagd-definitions.json + // flagd feature flag configuration. Must be validated to schema - https://raw.githubusercontent.com/open-feature/flagd-schemas/main/json/flags.json string flag_configuration = 1; }