-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Please generate json in variable instead of StringContent constructor #4131
Comments
Maybe you could create a PR to to split that separate variable? |
I am giving it a shot. |
RicoSuter
pushed a commit
that referenced
this issue
Sep 16, 2022
…pection (#4136) * generate json in variable - this makes it easy to inspect what is sent * fix test
lahma
pushed a commit
to lahma/NSwag
that referenced
this issue
Dec 25, 2022
… easy inspection (RicoSuter#4136) * generate json in variable - this makes it easy to inspect what is sent * fix test
lahma
pushed a commit
to lahma/NSwag
that referenced
this issue
Jan 20, 2024
… easy inspection (RicoSuter#4136) * generate json in variable - this makes it easy to inspect what is sent * fix test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In generated clients the json serialization of posted bodies is directly passed to the StringContent constructor. This removes a possibility to inspect the json that is sent. Please use a variable to hold the json before it is passed to StringContent. That would allow to see what is ultimately sent to the server. I.e.
The text was updated successfully, but these errors were encountered: