We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8159c82 + 867ce74 commit 515e298Copy full SHA for 515e298
specs-go/v1/artifact.go
@@ -21,7 +21,7 @@ type Artifact struct {
21
MediaType string `json:"mediaType"`
22
23
// ArtifactType is the IANA media type of the artifact this schema refers to.
24
- ArtifactType string `json:"artifactType"`
+ ArtifactType string `json:"artifactType,omitempty"`
25
26
// Blobs is a collection of blobs referenced by this manifest.
27
Blobs []Descriptor `json:"blobs,omitempty"`
0 commit comments