-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(service-spec): the spec treats any nested
anyOf
or oneOf
as a…
… union type (#1269) Improves handling of `oneOf` clauses. `oneOf` is able to define entire types: ``` properties: { foo: { oneOf: [ { type: 'string' }, { type: 'number' }, ], } } ``` They can also contain references: ``` properties: { foo: { oneOf: [ { Foo: { Ref: 'something' } }, { Bar: { Ref: 'something' } }, ], } } ``` Previously, we were not processing these correctly. --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com>
- Loading branch information
Showing
6 changed files
with
331 additions
and
126 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
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.