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!: Reverse the logic for supportedTypes #24

Merged
merged 4 commits into from
Jun 11, 2024
Merged
Changes from all commits
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
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