Skip to content

Commit

Permalink
chore: Update schema validation URLs in protobufs
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
winor30 committed Feb 10, 2025
1 parent bb76343 commit 3bcc8b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions protobuf/flagd/sync/v1/sync.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions protobuf/sync/v1/sync_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
}

Expand Down

0 comments on commit 3bcc8b8

Please sign in to comment.