Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d6ce2e6

Browse files
committedOct 4, 2022
Removes last result tpye hint in endpoint
1 parent f552198 commit d6ce2e6

File tree

114 files changed

+1990
-3675
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+1990
-3675
lines changed
 

‎modules/openapi-json-schema-generator/src/main/resources/python/endpoint_args.handlebars

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,41 +45,36 @@
4545
skip_deserialization: bool = False,
4646
{{/if}}
4747
{{#eq skipDeserialization "True"}}
48-
) -> api_client.ApiResponseWithoutDeserialization:
48+
) -> api_client.ApiResponseWithoutDeserialization: ...
4949
{{/eq}}
5050
{{#eq skipDeserialization "False"}}
51-
) -> typing.Union[{{#each responses}}{{#if isDefault}}ApiResponseForDefault,{{else}}{{#if is2xx}}ApiResponseFor{{code}},{{/if}}{{/if}}{{/each}}api_client.ApiResponse]:
52-
{{/eq}}
53-
{{#eq skipDeserialization "null"}}
54-
{{#if isOverload}}
5551
) -> typing.Union[
56-
{{#each responses}}
57-
{{#if isDefault}}
52+
{{#each responses}}
53+
{{#if isDefault}}
5854
ApiResponseForDefault,
59-
{{else}}
60-
{{#if is2xx}}
55+
{{else}}
56+
{{#if is2xx}}
6157
ApiResponseFor{{code}},
62-
{{/if}}
6358
{{/if}}
64-
{{/each}}
65-
api_client.ApiResponseWithoutDeserialization,
66-
]:
67-
{{else}}
59+
{{/if}}
60+
{{/each}}
61+
]: ...
62+
{{/eq}}
63+
{{#eq skipDeserialization "null"}}
64+
{{#if isOverload}}
6865
) -> typing.Union[
69-
{{#each responses}}
70-
{{#if isDefault}}
66+
{{#each responses}}
67+
{{#if isDefault}}
7168
ApiResponseForDefault,
72-
{{else}}
73-
{{#if is2xx}}
69+
{{else}}
70+
{{#if is2xx}}
7471
ApiResponseFor{{code}},
75-
{{/if}}
7672
{{/if}}
77-
{{/each}}
78-
api_client.ApiResponse,
73+
{{/if}}
74+
{{/each}}
7975
api_client.ApiResponseWithoutDeserialization,
80-
]:
76+
]: ...
77+
{{else}}
78+
):
8179
{{/if}}
82-
{{/eq}}
83-
{{#if isOverload}}
84-
...
85-
{{/if}}
80+
{{/eq}}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.9.9
1+
unset

0 commit comments

Comments
 (0)
This repository has been archived.