Skip to content

Conversation

@Doomic
Copy link
Contributor

@Doomic Doomic commented Jul 1, 2025

Generating a (csharp) client did not type the body parameter if the body contains a $ref to a reusable request body.
This pullrequest fixes the bug #2747 "Reusable request bodies are not handled correctly".

sidenote; the class name of the typed body will saidly be called "Body" (or with a number if there are multiple bodyies).. can't find a way to fix that without changing the NJsonSchema project. (out of scope for now).

@Doomic
Copy link
Contributor Author

Doomic commented Jul 1, 2025

i just saw that there is already a pull request #4747 .. it looks almost the same as mine.. not sure why that one is not approved.. but maybe my pullrequest is not needed.

@RicoSuter RicoSuter merged commit 6db16d7 into RicoSuter:master Sep 16, 2025
3 checks passed
This was referenced Sep 19, 2025
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.

2 participants