Skip to content

How to define query parameter limits? #191

@mohsen1

Description

@mohsen1

How can I have a query parameter that has more than just type? Here is my query parameter:

- name: limit
  in: query
  description: number of pets to return
  type: integer

But I want to limit query param to be no less than 10 and no more than 1000. How can I do that?

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