Raml2html and api-console don't work with the queryString from the 1.0 spec?


#1

It seems that the queryString example from the 1.0 spec doesn’t work with raml2html or with api-console. Is this right, or am I missing something? I’m trying the below example from the spec, and neither tool shows the query parameters.

#%RAML 1.0
title: Illustrate query parameter variations
types:
  lat-long: # lat & long required; mutually exclusive with location
    properties:
      lat: number
      long: number
  loc: # location required; mutually exclusive with lat & long
    properties:
      location:
  paging: # each is optional, not exclusive with anything
    properties:
      start?: number
      page-size?: number
/locations:
  get:
    queryString:
      type: [paging,  lat-long | loc ]
      examples:
        first:
          value:
            start: 2
            lat: 12
            long: 13
        second:
          value:
            start: 2
            page-size: 20
            location: 1,2
        third:  # not valid
          value:
            lat: 12
            location: 2
          strict: false # because it's not valid

#2

Just found this issue for api-console, so I guess this isn’t expected to work yet: