toedter / spring-hateoas-jsonapi

A JSON:API media type implementation for Spring HATEOAS
Apache License 2.0
106 stars 15 forks source link

Feature Request: Possibility to answer application/json media type alongside application/vnd.api+json #83

Closed msulland closed 6 months ago

msulland commented 9 months ago

Hi,

Would it be possible to add a configuration option in JsonApiConfiguration that makes it possible to answer more media types than just application/vnd.api+json? Preferably application/json to make it easier with the frontend.

toedter commented 8 months ago

Hm, I think it is better if the services is as precise as possible describing what it returns. Could you please elaborate the benefits that it would give the client when more that one media type is returned?