felleslosninger/docs

Content-Type in invalid in many of the responses

Opened this issue · 5 comments

I am using the swagger files to generate client code. The produce field i set to */* in many of the response, and the actual content-type of the response sometimes not correct.

The DELETE /clients/{id} for instance returns text/plain; charset=UTF-8 as a content-type.

This makes it very hard to rely on the swagger files to generate client code.

Hi, I will check this out with our developers.

Hi again @hadrienk ,

Could you please provide me with the full url?

We have a few different enviroments.

I believe it was https://oidc-ver2.difi.no/idporten-oidc-provider/

Any update on this issue?

Hi, this requires some changes in the code. Our developers are looking at this to determine what needs to be done.