-
Notifications
You must be signed in to change notification settings - Fork 236
Closed
Description
The following example does not work with the current version (master) of the API Console.
#%RAML 1.0
title: Array does not work API
version: 1.0
mediaType: application/json
types:
ORX_ARRAY:
type: array
items: string
minItems: 1
/cmt:
get:
queryParameters:
details:
displayName: details
type: string
required: false
modemCount:
displayName: modemCount
type: string
required: false
orx:
description: List ORX type.
type: ORX_ARRAY
required: false
responses:
200:
body:
application/json:First the following is what I get when trying to provide information inside the console:
I am providing a single string and get invalid type. Putting the string into quotes lets the error message disappear. Providing an array like [ "hello", "world" ] I get the following response:
{
"error": "query parameters: orx: unknown type string[]"
}