Skip to content

Commit

Permalink
feat!: Reverse the logic for supportedTypes (#24)
Browse files Browse the repository at this point in the history
* feat!: Reverse the logic for supportedTypes

Signed-off-by: Thomas Poignant <[email protected]>

* fix

Signed-off-by: Thomas Poignant <[email protected]>

---------

Signed-off-by: Thomas Poignant <[email protected]>
  • Loading branch information
thomaspoignant authored Jun 11, 2024
1 parent 61d0723 commit 21635df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions service/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -358,14 +358,17 @@ components:
type: object
description: Configurations specific for flag evaluations in OFREP provider implementation
properties:
unsupportedTypes:
description: A list of unsupported types by the flag management system. Evaluating a flag of a listed type through OFREP provider will result in an error and yield the default value.
supportedTypes:
description: |
Evaluating a flag of unlisted type through the OFREP provider will result in an error and yield the default value.
However, when supportedTypes is undefined/empty, provider assumes that all flag evaluation types are supported by the flag management system
type: array
items:
type: string
enum: [int, float, string, boolean, object]
examples:
- ["object", "int", "float"]
- null
featureCacheInvalidation:
type: object
description: Configuration for the cache cacheInvalidation
Expand Down

0 comments on commit 21635df

Please sign in to comment.