Skip to content

Stop-6047-Fixed Example Data of Type Integer(int64,32) and Number(double/float) - #2961

Open
SB-venkatyadavilli wants to merge 5 commits into
mainfrom
STOP-6047
Open

Stop-6047-Fixed Example Data of Type Integer(int64,32) and Number(double/float)#2961
SB-venkatyadavilli wants to merge 5 commits into
mainfrom
STOP-6047

Conversation

@SB-venkatyadavilli

@SB-venkatyadavilli SB-venkatyadavilli commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

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:

image

After:

image

Try It Request& Response Body:

Before:

image

After:

image

Impact Analysis:

https://smartbear.atlassian.net/wiki/x/DAAykwE

@netlify

netlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

Deploy Preview for stoplight-elements ready!

Name Link
🔨 Latest commit f3fc712
🔍 Latest deploy log https://app.netlify.com/projects/stoplight-elements/deploys/6a79c7feddab080008c5a36a
😎 Deploy Preview https://deploy-preview-2961--stoplight-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

Deploy Preview for stoplight-elements-demo ready!

Name Link
🔨 Latest commit f3fc712
🔍 Latest deploy log https://app.netlify.com/projects/stoplight-elements-demo/deploys/6a79c7fefcf9a50008aa99ee
😎 Deploy Preview https://deploy-preview-2961--stoplight-elements-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@SB-venkatyadavilli SB-venkatyadavilli changed the title Stop 6047 Stop-6047-Fixed Example Data of Type Integer(int64,32) and Number(double/float) Aug 7, 2026

@pareshb3089 pareshb3089 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks goods

@SB-ChetanKorde SB-ChetanKorde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@SB-venkatyadavilli

Copy link
Copy Markdown
Contributor Author

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.

have added Bump up Elements versions files

@SB-ChetanKorde SB-ChetanKorde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Package upgrades and Changes for newly added OAS numeric format and range looks good to me.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants