Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add flag set and flag metadata to schema #173

Merged
merged 6 commits into from
Dec 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
renamed flagSetId to id, version must be a string
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
beeme1mr committed Dec 5, 2024

Verified

This commit was signed with the committer’s verified signature.
beeme1mr Michael Beemer
commit a5d977b169a8b23d052eab4fb46429a0efa1bc7d
5 changes: 3 additions & 2 deletions json/flags.json
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 2 additions & 1 deletion json/flags.yaml
Original file line number Diff line number Diff line change
@@ -40,11 +40,12 @@ properties:
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.
type: string
$ref: "#/definitions/metadata"
definitions:
flag: