[
https://issues.apache.org/jira/browse/NIFI-15196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18065180#comment-18065180
]
ASF subversion and git services commented on NIFI-15196:
--------------------------------------------------------
Commit 45f1241a469bec484f906c96351d3e3a56e42f7c in nifi's branch
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=45f1241a469 ]
NIFI-15196 - Improve Content Viewer resolution based on MIME Type (#10686)
* NIFI-15196 - Improve Content Viewer resolution based on MIME Type
* review
> Content viewer should default to JSON when content's mime type is
> `application/fhir+json`
> -----------------------------------------------------------------------------------------
>
> Key: NIFI-15196
> URL: https://issues.apache.org/jira/browse/NIFI-15196
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 2.5.0
> Environment: NiFi Version: 2.5.0
> Tag: rel/nifi-2.5.0
> Java Version: 21.0.3
> OS: Windows Server 2022
> Architecture: amd64
> Reporter: Mark Ward
> Assignee: Pierre Villard
> Priority: Minor
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> When viewing JSON formatted content from a [link FHIR
> |https://www.hl7.org/fhir/overview.html] compliant endpoint via InvokeHttp,
> the returned content's MIME type is `application/fhir+json` and when viewed
> in the Content Viewer this defaults to the *Hex* view.
> It would save a few mouse-clicks of this kind of document defaulted to JSON
> when viewed in the content viwer?
> IANA also supports a Mime type of `application/fhir+xml`, suggest this should
> default to XML in the content viewer also.
> Additional Resources:
> * [Overview - FHIR v5.0.0|https://www.hl7.org/fhir/overview.html]
> * [Fast Healthcare Interoperability Resources -
> Wikipedia|https://en.wikipedia.org/wiki/Fast_Healthcare_Interoperability_Resources]
> *
> [iana.org/assignments/media-types/application/fhir+json|https://www.iana.org/assignments/media-types/application/fhir+json]
> *
> [iana.org/assignments/media-types/application/fhir+xml|https://www.iana.org/assignments/media-types/application/fhir+xml]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)