Skip to content

Query string parameters only accept string type declaration #64

Description

@albertocsouto

Query string parameters not declared as string always fail, producing a 400 error. This is a sample:

{
  "name": "page",
  "in": "query",
  "description": "The page to retrieve. A fixed maximum number of elements N is returned on each call. A value of P on the `page` parameter will skip (P - 1) * N elements on the retrieval process and return the following elements.",
  "required": false,
  "schema": {
    "type": "integer"
  }
}

Currently the only workaround possible is to declare as string all the parameters and converting them in the callback module.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    :shipit: In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions