Ask a Question

how to make enum extends two enums

wael1233
New Member

how to make enum extends two enums

 

I want the filter Type to inherit the two others filters, how i can do it ?

 

FilterType:
type: string
enum: [ and, or, not, match, wildcard, range, exist ]

TerminalFilterType:
type: string
enum: [ match, wildcard, range, exist ]

CompoundFilterType:
type: string
enum: [ and, or, not ]
0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: