Skip to content

Commit 592cf4c

Browse files
Fix error on Schema Validation (#127)
* Set additionalProperties to True in schemas.py Signed-off-by: Marius Bertram <marius@brtrm.de>
1 parent 6c9fd25 commit 592cf4c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and **Merged pull requests**. Critical items to know are:
1414
The versions coincide with releases on pip. Only major versions will be released as tags on Github.
1515

1616
## [0.0.x](https://github.com/oras-project/oras-py/tree/main) (0.0.x)
17+
- enable additionalProperties in schema validation (0.1.28)
1718
- Introduce the option to not refresh headers when fetching manifests when pulling artifacts (0.1.27)
1819
- To make it available for more OCI registries, the value of config used when `manifest_config` is not specified in `client.push()` has been changed from a pure empty string to `{}` (0.1.26)
1920
- refactor tests using fixtures and rework pre-commit configuration (0.1.25)

oras/schemas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"size",
2727
"digest",
2828
],
29-
"additionalProperties": False,
29+
"additionalProperties": True,
3030
}
3131

3232
layer.update(layerProperties)
@@ -54,5 +54,5 @@
5454
"layers",
5555
],
5656
"properties": manifestProperties,
57-
"additionalProperties": False,
57+
"additionalProperties": True,
5858
}

oras/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__copyright__ = "Copyright The ORAS Authors."
33
__license__ = "Apache-2.0"
44

5-
__version__ = "0.1.27"
5+
__version__ = "0.1.28"
66
AUTHOR = "Vanessa Sochat"
77
EMAIL = "vsoch@users.noreply.github.com"
88
NAME = "oras"

0 commit comments

Comments
 (0)