JSON highlighting should work with application/ld+json content-type
in progress
@
@vuong
If the content-type of the response is application/ld+json, it can't highlight the data in Pretty mode.
Here is the response headers:
server nginx/1.23.4
content-type application/ld+json; charset=utf-8
transfer-encoding chunked
connection keep-alive
vary Accept
x-content-type-options nosniff
x-frame-options deny
cache-control no-cache, private
date Thu, 29 Aug 2024 06:16:14 GMT
link <http://localhost:8887/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation"
etag "b0c5fe840962460dae8db776ca286a62"
x-debug-token 8f860b
x-debug-token-link http://localhost:8887/_profiler/8f860b
x-robots-tag noindex
References:
F
Fábio Ferreira
I also noticed that with content type application/hal+json does not highlight the response in pretty mode. Don't know if it make sense to create a new feedback or if it matches this one :)
Gregory Schier
Fábio Ferreira It's the same fix, so keep an eye out for the next release 👍�
Gregory Schier
in progress
Just fixed this in my local branch. Look out for a new beta release soon, that includes the fix 👍🏼