This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Description
Given this raml
#%RAML 1.0
title: test-date-spec
version: v1
baseUri: http://localhost:8081
resourceTypes:
read:
get:
traits:
searchable:
usage: Apply this trait to resources which supports datetime range searching
queryParameters:
dateFrom:
type: date-only
example: "2017-10-02"
required: false
dateTo:
type: date-only
example: "2018-10-02"
required: false
/testuri:
is: [searchable]
type: read
Is not possible to get the query parameters from the method, I've added a PR with a test #683