Skip to content

Commit

Permalink
add optional targeting key property (#30)
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 authored Jul 26, 2024
1 parent 22dbaf4 commit 218fd82
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions service/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ paths:
tags: [OFREP core]
summary: OFREP single flag evaluation contract
description: |
OFREP single flag evaluation request.
OFREP single flag evaluation request.
The endpoint is called by the server providers to perform single flag evaluation.
parameters:
- name: key
Expand Down Expand Up @@ -86,8 +86,8 @@ paths:
tags: [OFREP core]
summary: OFREP bulk flag evaluation contract
description: |
OFREP bulk evaluation request.
The endpoint is called by the client providers to perform single flag evaluation.
OFREP bulk evaluation request.
The endpoint is called by the client providers to evaluate all flags at once.
parameters:
- in: header
name: If-None-Match
Expand Down Expand Up @@ -145,7 +145,7 @@ paths:
tags: [OFREP extensions]
summary: OFREP provider configuration
description: |
OFREP configuration is used to supply information about the remote flag management system and to set up the OpenFeature SDK providers.
OFREP configuration is used to supply information about the remote flag management system and to set up the OpenFeature SDK providers.
The providers will contact this endpoint only if the client has opted in.
parameters:
- in: header
Expand Down Expand Up @@ -290,6 +290,13 @@ components:
context:
type: object
description: Context information for flag evaluation
properties:
targetingKey:
type: string
description: A string logically identifying the subject of evaluation (end-user, service, etc).
examples:
- user-123
additionalProperties: true
booleanFlag:
description: A boolean typed flag value
properties:
Expand Down

0 comments on commit 218fd82

Please sign in to comment.