You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The response of my endpoint has an attribute number with 17 digits. It can be a Long or BitInteger. On TryItOut swagger-ui the number in response shows wrong at the last digit.
I changed the attribute's type to String and it works.
Expected behavior
Expects that long number with 17 or more digits shows correctly.
In the following screenshot the number should be 12345678901234567 as like the String field.
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
The response of my endpoint has an attribute number with 17 digits. It can be a Long or BitInteger. On TryItOut swagger-ui the number in response shows wrong at the last digit.
I changed the attribute's type to String and it works.
To Reproduce
I have a Spring Boot 3.4.5 application, with springdoc-openapi-starter-webmvc-ui 2.8.6.
test repository springdoc-ui-issue
Swagger-ui endpoint: http://localhost:8080/swagger-ui/index.html#/test-controller/getTest
Expected behavior
Expects that long number with 17 or more digits shows correctly.
In the following screenshot the number should be 12345678901234567 as like the String field.
Screenshots

The text was updated successfully, but these errors were encountered: