When using referrers API, the artifact type is always presented in the artifactType field. But when the manifest is fetched directly, the artifact type is might be presented via config.mediaType
In below screenshot, the current artifact is ghcr.io/qweeah/oras@sha256:2911971bced75f7b60bc9a25a36b79c3d118add9bb1a7c36c773c0eb0bf3f1c6, whose artifact type is presented inconfig.mediaType, but the referrers view is showing its mediaType as application/vnd.oci.image.manifest.v1+json
When using referrers API, the artifact type is always presented in the
artifactType
field. But when the manifest is fetched directly, the artifact type is might be presented viaconfig.mediaType
In below screenshot, the current artifact is
ghcr.io/qweeah/oras@sha256:2911971bced75f7b60bc9a25a36b79c3d118add9bb1a7c36c773c0eb0bf3f1c6
, whose artifact type is presented inconfig.mediaType
, but the referrers view is showing itsmediaType
asapplication/vnd.oci.image.manifest.v1+json
Need to change the