My supposed solution for parameters section is
+ fields: [firstField, secondField] (array[enum], optional)
+ Members
+ firstField
+ secondField
+ extraField
+ dummyField
But it failed on semantic error:
The example value [firstField, secondField] of parameter fields is not in its list of expected values
I tried to understand your needs and wish for syntax of your API Blueprint.
One of possible solutions in MSON syntax as I see it is probably down below:
- fields (array, optional)
- (enum)
- firstField
- secondField
- extraField
- dummyField
Hope it helps and solves your Array of Enum
thing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With