How to get Errorcodes in the generated swagger.json?
The published service document showing up at /rest-doc/ is very nice and does show the happy flow response 200. But how do I make it show the other, non-happy flow, response types 40x and 50x?
Tim van Steenbergen
Good question. I ran into this before and i manually edited the json so that the correct response codes are shown in the API platform where the API is hosted. I don't think it's possible to change the swagger file Mx side.