Skip to content

Commit

Permalink
renamed flagSetId to id, version must be a string
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
  • Loading branch information
beeme1mr committed Dec 5, 2024
1 parent 68fe93e commit 61c91da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions json/flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,13 @@
"title": "Flag Set Metadata",
"description": "Metadata about the flag set, with keys of type string, and values of type boolean, string, or number.",
"properties": {
"flagSetId": {
"id": {
"description": "The unique identifier for the flag set.",
"type": "string"
},
"version": {
"description": "The version of the flag set."
"description": "The version of the flag set.",
"type": "string"
}
},
"$ref": "#/definitions/metadata"
Expand Down
3 changes: 1 addition & 2 deletions json/test/flags/positive/with-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"defaultVariant": "red",
"state": "ENABLED",
"metadata": {
"flagSetId": "blah",
"boolean": true,
"string": "string",
"float": 1.23,
Expand All @@ -20,7 +19,7 @@
}
},
"metadata": {
"flagSetId": "sso/dev",
"id": "sso/dev",
"version": "1.0.0",
"boolean": true,
"string": "string",
Expand Down

0 comments on commit 61c91da

Please sign in to comment.