Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak using OpenAPI and JSONName attribute when new name = '' #149

Open
bobprog72 opened this issue Jul 31, 2024 · 0 comments
Open

Comments

@bobprog72
Copy link

I have a method with a custom object with two string properties as result.
If I decorate one or more properties with JSONName Attribute assigning NO name (name='') to it, after launching swagger (openapi button on main application form) and closing application, we obtain a memory leak.

This behaviour occurs only when openapi resource is called (calling the resource directly from postman doesn't create the memory leak) and only with JSONName = ''.

Attached a test program
memory leak jsonname.zip

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

No branches or pull requests

1 participant