Stop-6047-Fixed Example Data of Type Integer(int64,32) and Number(double/float) - #2961
Open
SB-venkatyadavilli wants to merge 5 commits into
Open
Stop-6047-Fixed Example Data of Type Integer(int64,32) and Number(double/float)#2961SB-venkatyadavilli wants to merge 5 commits into
SB-venkatyadavilli wants to merge 5 commits into
Conversation
SB-venkatyadavilli
requested review from
Asmodeios,
SB-ChetanKorde and
bhaskarsontakke
August 7, 2026 07:48
✅ Deploy Preview for stoplight-elements ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for stoplight-elements-demo ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
… added corresponding unit test cases.
SB-ChetanKorde
left a comment
Contributor
There was a problem hiding this comment.
I think we need to upgrade package version for elements if we make any changes and want to publish it. I dont see files related to it.
Contributor
Author
have added Bump up Elements versions files |
SB-ChetanKorde
approved these changes
Aug 10, 2026
SB-ChetanKorde
left a comment
Contributor
There was a problem hiding this comment.
Package upgrades and Changes for newly added OAS numeric format and range looks good to me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
STOP-6047
Description:
Fixed the issue currently affecting Integer (int32, int64) and Number (float, double) types. Previously, when no default value was provided, the example section automatically inferred and displayed the minimum value based on the type's range. With this fix, the example section now displays 0 for these types when no default value is specified.
How Has This Been Tested?:
have tested on Elements-dev-portal
Screenshot(s)/recordings(s):
Internal Model:
Before:
After:
Try It Request& Response Body:
Before:
After:
Impact Analysis:
https://smartbear.atlassian.net/wiki/x/DAAykwE