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 1acb6c8 + d36ccf1 commit 50ba8f4Copy full SHA for 50ba8f4
specs-go/v1/descriptor.go
@@ -21,7 +21,7 @@ import digest "github.com/opencontainers/go-digest"
21
// when marshalled to JSON.
22
type Descriptor struct {
23
// MediaType is the media type of the object this schema refers to.
24
- MediaType string `json:"mediaType,omitempty"`
+ MediaType string `json:"mediaType"`
25
26
// Digest is the digest of the targeted content.
27
Digest digest.Digest `json:"digest"`
0 commit comments