Skip to content

Add minimum and maximum on parameters query Swagger UI #1609

@thang1160

Description

@thang1160

Is your feature request related to a problem? Please describe.
Here I have parameters with the minimum tag on it

  /domestic/config-approval:
    get:
      parameters:
      - in: query
        minimum: 0
        name: page
        type: integer
      - in: query
        minimum: 1
        name: pageSize
        type: integer
...

In the Swagger UI, it didn't show up but the validation still works making our automation tester team confused.

Screenshot from 2023-06-21 16-41-30

The Swaggerhub implemented this long ago, so I don't see why it does not exist here.

image

Describe the solution you'd like
Add minimum and maximum on parameters query

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