Skip to content

feat: support min and max value for numeric parameters#1764

Merged
Yuan325 merged 2 commits into
enum-branchfrom
numeric-range
Oct 22, 2025
Merged

feat: support min and max value for numeric parameters#1764
Yuan325 merged 2 commits into
enum-branchfrom
numeric-range

Conversation

@Yuan325

@Yuan325 Yuan325 commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

supporting minValue and maxValue for parameters of type integer and float.

Example to apply escaping delimiters:

parameters:
      - name: price
        type: integer
        description: price of item
        minValue: 1
        maxValue: 50

If allowedValues were used, Toolbox will check for allowed values before checking for min and max values.

@Yuan325 Yuan325 requested a review from a team October 21, 2025 23:18
@github-actions

Copy link
Copy Markdown
Contributor

@Yuan325 Yuan325 added the release candidate Use label to signal PR should be included in the next release. label Oct 22, 2025
@github-actions

Copy link
Copy Markdown
Contributor

@Yuan325 Yuan325 merged commit 648f43a into enum-branch Oct 22, 2025
12 checks passed
@Yuan325 Yuan325 deleted the numeric-range branch October 22, 2025 23:12
@github-actions

Copy link
Copy Markdown
Contributor

🧨 Preview deployments removed.

Yuan325 added a commit that referenced this pull request Oct 22, 2025
supporting `minValue` and `maxValue` for parameters of type `integer`
and `float`.

Example to apply escaping delimiters:
```
parameters:
      - name: price
        type: integer
        description: price of item
        minValue: 1
        maxValue: 50
```

If `allowedValues` were used, Toolbox will check for allowed values
before checking for min and max values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release candidate Use label to signal PR should be included in the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants