Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

j7nw4r/SwaggerUILongBug

Repository files navigation

SwaggerUILongBug

This repo is used to showcase a bug in Swagger/Swashbuckler UI. When returning longs, it seems that the least significant 8 bits are modified. This seems to happen only when using Swagger UI. Cannot replicate using other tools (Postman).

Steps to replicate:

Build and run the project. Go to the swagger UI page and hit the test endpoint. If you compare the returned long with the long output to console, you'll see that they're not the same. However the output binary are the same. If the same experiment is tried with Postman, both the longs and the binary is correct.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages