I have a problem with a springdoc-openapi and swagger. In api.yml file I defined some responses for endpoint, for example:
responses:
200:
desription: example response
content:
......
404:
description: example response
And before that the behavior was expected to me. In swagger I saw an example value for 200 and I didn't see an example value for 404, only description. When I started to use springdoc-openapi, when I didn't provided content for example for 404, the content from 200 is applied to 404. Is there a option how to hide it? For example in api.yml or any config property?
I tried to search config properties but I din't find anything. Moreover I tried with content: {} but It didn't work too.