You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generated client code response object does not correctly reference a response from a separate yaml file #695
Summary: the response object in a the generated client code does not honor the $ref of the of response, if the $ref is referring to content in a different spec file.
Hey @jace1717 this issue seems to be resolved now - would you mind confirming? I've raised #1391 which takes the code you've provided and moves it to its own test directory, can you confirm if I've done anything wrong, or if it looks like it is resolved?
This has been resolved. External reference handling for response definitions was fixed (ensureExternalRefsInResponseDefinitions in externalref.go). Response schemas referencing types from external packages now correctly use the externalRef prefix. The maintainer also confirmed this in Jan 2024 via #1391. Closing as resolved.
Activity
jamietanna commentedon Jul 28, 2022
This might be related to #626
rew! Add test code from 695
rew! Add test code from 695
jamietanna commentedon Jan 19, 2024
Hey @jace1717 this issue seems to be resolved now - would you mind confirming? I've raised #1391 which takes the code you've provided and moves it to its own test directory, can you confirm if I've done anything wrong, or if it looks like it is resolved?
mromaszewicz commentedon Feb 7, 2026
This has been resolved. External reference handling for response definitions was fixed (ensureExternalRefsInResponseDefinitions in externalref.go). Response schemas referencing types from external packages now correctly use the externalRef prefix. The maintainer also confirmed this in Jan 2024 via #1391. Closing as resolved.