Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit d3239f7

Browse files
committed
Moves array with usages higher
1 parent 1c11fd3 commit d3239f7

File tree

1 file changed

+2
-2
lines changed
  • modules/openapi-json-schema-generator/src/main/resources/python/components/schemas

1 file changed

+2
-2
lines changed

modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/_helper_new.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ def __new__(
88
{{#with ../items}}
99
{{#if refInfo.refClass}}
1010
typing.Union[
11-
{{#if refInfo.refModule}}{{refInfo.refModule}}.{{/if}}{{refInfo.refClass}},
1211
{{#with getDeepestRef}}
12+
{{#if ../refInfo.refModule}}{{../refInfo.refModule}}.{{/if}}{{../refInfo.refClass}},
1313
{{> _helper_schema_python_types_newline }}
1414
{{/with}}
1515
], ...
@@ -25,8 +25,8 @@ def __new__(
2525
{{#with ../items}}
2626
{{#if refInfo.refClass}}
2727
typing.Union[
28-
{{#if refInfo.refModule}}{{refInfo.refModule}}.{{/if}}{{refInfo.refClass}},
2928
{{#with getDeepestRef}}
29+
{{#if ../refInfo.refModule}}{{../refInfo.refModule}}.{{/if}}{{../refInfo.refClass}},
3030
{{> _helper_schema_python_types_newline }}
3131
{{/with}}
3232
]

0 commit comments

Comments
 (0)