-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[java] Fix template logic related to supportUrlQuery (#14496)
* [java] Fix template logic related to supportUrlQuery Generated models for arrays marked with uniqueItems: true (which end up as a Set<> in java) won't compile because the templates are in some places using .get(i) on the sets. Also, when the supportUrlQuery property is present in the additionalProperties map the resulting value will be read using the key SUPPORT_STREAMING instead of 'supportUrlQuery'. * fix NPE Co-authored-by: Björgvin <[email protected]>
- Loading branch information
Showing
4 changed files
with
10 additions
and
6 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