Closed lsdch closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.73%. Comparing base (
ed2c3cd
) to head (f2d014e
). Report is 9 commits behind head on main.:exclamation: Current head f2d014e differs from pull request most recent head 831b1db. Consider uploading reports for the commit 831b1db to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Small change introducing the possibility to provide name hints for request/response body through struct tags. Previously discussed in #322
Example:
Because it defines a name hint, it only applies to anonymous types. We could go further and allow overriding the name altogether but that would involve changing the schema namer interface (
func (t reflect.Type, hint string) string
) to include one more parameter, which might break backward compatibility.