-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added new parameter to point to the root product schemas directory (default to ".") - modified naming generation strategy for uplifted properties: - in case the uplifted property is a composed schema we try first to compute name from aggregated references (allOf and oneOf are supported) - if above fails name is based on property - modified behavior of uplifting schemas in case of composed schemas -> schema reuse if possible - discriminator mapping feature: - using x-discriminator-value - using $id value if it is MEF urn - using name of the type - discriminator discovery feature: - in case discriminator is not provided x-discriminator-name value is used - if above fails autodiscovery strategy of discriminator property is applied trying names from list (@type, mapType) Signed-off-by: Bartosz Michalik <[email protected]>
- Loading branch information
Showing
40 changed files
with
1,765 additions
and
110 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
generatorName: openapi-yaml | ||
outputDir: out | ||
outputDir: out/oap | ||
legacyDiscriminatorBehavior: false |
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.