Removing an example from a duplicated endpoint with multiple responses steals the other's example

Setup to replicate:

  • Create an endpoint with 2 different response bodies and examples for both (Response 200 and Response 500)
  • Duplicate the endpoint
  • Go to the editor on the new endpoint and remove the body fields for Response 200
  • Delete the example for Response 200

What happens:
It steals the example from Response 500 and deletes Response 500’s example.
Screen_Recording_2026-01-19_at_11.14.34.mov|nullxnull

Version is Apidog 2.8.2

Sorry, I couldn’t reproduce your issue yet. From your screen recording, did the response originally have a second example before you deleted the first one? Please confirm and feel free to provide more details if needed.

Interesting - this only appears on the duplicated version and not the original, it appears that it’s not quite what I thought it was, duplicating removes the example from the 500 response and moves it to an exception on the success response

So when you then delete the success example the exception example becomes the new success example, but you’d expect the exception example to carry over as the 500 server error’s example if that makes any sense at all

So on the original endpoint, there is one example on each response


On the duplicate: the 500 Server Error example has disappeared and is now under the Exception example on the 200 Success


We’ll investigate and fix this issue with the example behavior when duplicating endpoints. Thank you for the detailed reproduction steps.