Closed Ramblurr closed 7 years ago
@Ramblurr You have specified the type to be string, so the value becomes ['DRAFT', 'FINISHED']
as string (not an array). Since this value is not found in the list you gave, this is valid warning.
Thanks @pksunkara What is the proper way to specify an array of strings, provide members, and an example?
You can try DRAFT, FINISHED
instead of ['DRAFT', 'FINISHED']
@Ramblurr Did Pavan's suggestion solve your problem?
If I have a query parameter line like so:
Then drafter complains:
I can't find in the spec any mention of typed arrays like this. Is this a supported feature? What's the proper way to limit the types of an array?