We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5ec432 commit d36ccf1Copy full SHA for d36ccf1
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