Skip to content

Commit

Permalink
feat: reversed lack of support to support capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
grimly committed May 28, 2024
1 parent dbfaaa1 commit 1e989a2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions service/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,18 +335,21 @@ components:
$ref: '#/components/schemas/featureCacheInvalidation'
flagEvaluation:
$ref: '#/components/schemas/flagEvaluation'
required:
- name
flagEvaluation:
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 an unlisted type through OFREP provider will result in an error and yield the default value.
type: array
items:
type: string
enum: [int, float, string, boolean, object]
examples:
- ["object", "int", "float"]
- [ boolean, integer, decimal, string, object ]
featureCacheInvalidation:
type: object
description: Configuration for the cache cacheInvalidation
Expand All @@ -365,5 +368,3 @@ components:
description: minimum polling interval (in millisecond) supported by the flag management system. The provider should ensure not to set any polling value under this minimum.
examples:
- 60000
required:
- name

0 comments on commit 1e989a2

Please sign in to comment.