Add UI for editing labels on a manifest
This commit is contained in:
parent
46d1532f0e
commit
cfb81c977f
7 changed files with 154 additions and 4 deletions
|
@ -49,9 +49,9 @@ class RepositoryManifestLabels(RepositoryParamResource):
|
|||
'description': 'The value for the label',
|
||||
},
|
||||
'media_type': {
|
||||
'type': ['string'],
|
||||
'type': ['string', 'null'],
|
||||
'description': 'The media type for this label',
|
||||
'enum': ALLOWED_LABEL_MEDIA_TYPES,
|
||||
'enum': ALLOWED_LABEL_MEDIA_TYPES + [None],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Reference in a new issue