Fix parameter-level schema output by returning raw definition#56
Conversation
|
Hey man, thanks for the PR. You're absolutely right that there's a problem with how the Here's what's happening: Method level (working correctly):
Parameter level (the bug):
Your fix addresses the parameter-level issue, but it creates a new problem: now method-level The proper fix is to handle this in This way:
Would you be open to adjusting your PR to implement this approach instead? The key insight is that Thanks again for flagging this. |
be3010f to
5b1087a
Compare
|
Hi, thanks for the thorough review. You're absolutely right, and I apologize for not digging deep enough. Thank you for clarifying. I’ve updated the implementation to follow your suggested approach:
|
This PR fixes issue #55, where parameter-level
#[Schema(...)]attributes incorrectly wrapped thedefinitioninside a'definition'key