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

Issue getting query parameters from resourceType #684

@juanchib

Description

@juanchib

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions