fix: Refactor ValueToResponseSchema type logic to account for return type something | undefined
#1763
+1
−1
something | undefined
#1763