OpenApi Export creating "undefined" error blocks for Referenced responses

For any Endpoints that used “referenced” responses, in my case stock 404, 401, etc… messages that will be on many endpoints, the export to openapi format is creating them without any of the data and simply showing “undefined” which is causing major syntax issues let alone the missing data.

An example of the endpoint is in screenshot and below is some of the exported data as well as a picture of the exported json as well for that matching endpoint. Updated to 2.7.40 and still an issue. This previously worked at some point.


yaml export is broken as well.

Thank you for your feedback. We will locate and fix this issue as soon as possible.

any update on this? Are you able to confirm which version this broke in so i could try and downgrade to correct it as its breaking our automation tools around the api.

We sincerely apologize for the inconvenience. A new version containing the fix for this issue is expected to be released next Monday.

Hello, we’ve fixed the issue with OpenAPI export showing “undefined” for referenced responses. Please download the latest version 2.7.42 from our website (https://apidog.com/download) and try again.

It does appear to be fixed. Thanks!