Skip to content

Commit

Permalink
feat!: Reverse the logic for supportedTypes
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
  • Loading branch information
thomaspoignant committed Jun 7, 2024
1 parent a39476e commit fba3664
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 @@ -339,14 +339,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: |
A list of supported 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. Undefined means that the flag management system is supporting all types.
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 fba3664

Please sign in to comment.