Skip to content

Commit cf76702

Browse files
committed
feat: add filteroptionrange
Signed-off-by: Sidney Glinton <[email protected]>
1 parent fbbc35a commit cf76702

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

api/openapi/catalog.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -458,13 +458,15 @@ components:
458458
description: Known values of the property for string types with a small number of possible options.
459459
items: {}
460460
range:
461-
type: object
462-
description: Min and max values for number types.
463-
properties:
464-
min:
465-
type: number
466-
max:
467-
type: number
461+
$ref: "#/components/schemas/FilterOptionRange"
462+
FilterOptionRange:
463+
type: object
464+
description: Min and max values for number types.
465+
properties:
466+
min:
467+
type: number
468+
max:
469+
type: number
468470
FilterOptionsList:
469471
description: List of FilterOptions
470472
type: object

api/openapi/src/catalog.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,15 @@ components:
319319
description: Known values of the property for string types with a small number of possible options.
320320
items: {}
321321
range:
322-
type: object
323-
description: Min and max values for number types.
324-
properties:
325-
min:
326-
type: number
327-
max:
328-
type: number
322+
$ref: "#/components/schemas/FilterOptionRange"
323+
FilterOptionRange:
324+
type: object
325+
description: Min and max values for number types.
326+
properties:
327+
min:
328+
type: number
329+
max:
330+
type: number
329331
FilterOptionsList:
330332
description: List of FilterOptions
331333
type: object

0 commit comments

Comments
 (0)