forked from siemens/kas
-
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.
schema: replace use of oneOf by anyOf
The schema definition "oneOf" is discouraged if not explicitly needed, as it requires the checker to check against all variants to ensure that only exactly one matches. It also makes it harder for IDEs to provide meaningful auto-completions. As our schema is written in a way that all matches are exclusive anyways, we can safely switch to anyOf. Signed-off-by: Felix Moessbauer <[email protected]>
- Loading branch information
1 parent
70dc2f8
commit 9a902f6
Showing
3 changed files
with
26 additions
and
26 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
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