-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/mx-1478 more model alignments (#8)
- add empty arrays as defaults (`"default": []`) to list fields with no min items - consistently use `anyOf` instead of `oneOf` for union types - allow `"type": "null"` for non-required fields and set `null` as default - put `examples` and `useScheme` on the correct levels for array/union fields - update identifier pattern to match new implementation - bump version to `2.2.0`
- Loading branch information
1 parent
7d5fb5f
commit d8ef77a
Showing
26 changed files
with
543 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
fail_fast: false | ||
default_language_version: | ||
python: python3.11 | ||
files: schema | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: pretty-format-json | ||
name: json | ||
args: [--autofix, --no-sort-keys, --indent=4, --no-ensure-ascii] | ||
- id: check-yaml | ||
name: yaml | ||
- id: end-of-file-fixer | ||
name: eof | ||
- id: trailing-whitespace | ||
name: whitespaces | ||
- id: fix-byte-order-marker | ||
name: byte-order |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from pkgutil import extend_path | ||
|
||
__path__ = extend_path(__path__, __name__) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.