Skip to content

Commit 8951c27

Browse files
Generate iaasalpha
1 parent dc197c5 commit 8951c27

File tree

4 files changed

+50
-0
lines changed

4 files changed

+50
-0
lines changed

services/iaasalpha/src/stackit/iaasalpha/models/create_network_ipv4.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,19 @@ class CreateNetworkIPv4(BaseModel):
4343
"""
4444

4545
# data type: CreateNetworkIPv4WithPrefix
46+
# BEGIN of the workaround until upstream issues are fixed:
47+
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
48+
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
49+
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
4650
oneof_schema_1_validator: Optional[CreateNetworkIPv4WithPrefix] = None
51+
# END of the workaround
4752
# data type: CreateNetworkIPv4WithPrefixLength
53+
# BEGIN of the workaround until upstream issues are fixed:
54+
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
55+
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
56+
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
4857
oneof_schema_2_validator: Optional[CreateNetworkIPv4WithPrefixLength] = None
58+
# END of the workaround
4959
actual_instance: Optional[Union[CreateNetworkIPv4WithPrefix, CreateNetworkIPv4WithPrefixLength]] = None
5060
one_of_schemas: Set[str] = {"CreateNetworkIPv4WithPrefix", "CreateNetworkIPv4WithPrefixLength"}
5161

services/iaasalpha/src/stackit/iaasalpha/models/create_network_ipv6.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,19 @@ class CreateNetworkIPv6(BaseModel):
4343
"""
4444

4545
# data type: CreateNetworkIPv6WithPrefix
46+
# BEGIN of the workaround until upstream issues are fixed:
47+
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
48+
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
49+
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
4650
oneof_schema_1_validator: Optional[CreateNetworkIPv6WithPrefix] = None
51+
# END of the workaround
4752
# data type: CreateNetworkIPv6WithPrefixLength
53+
# BEGIN of the workaround until upstream issues are fixed:
54+
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
55+
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
56+
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
4857
oneof_schema_2_validator: Optional[CreateNetworkIPv6WithPrefixLength] = None
58+
# END of the workaround
4959
actual_instance: Optional[Union[CreateNetworkIPv6WithPrefix, CreateNetworkIPv6WithPrefixLength]] = None
5060
one_of_schemas: Set[str] = {"CreateNetworkIPv6WithPrefix", "CreateNetworkIPv6WithPrefixLength"}
5161

services/iaasalpha/src/stackit/iaasalpha/models/route_destination.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,19 @@ class RouteDestination(BaseModel):
3939
"""
4040

4141
# data type: DestinationCIDRv4
42+
# BEGIN of the workaround until upstream issues are fixed:
43+
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
44+
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
45+
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
4246
oneof_schema_1_validator: Optional[DestinationCIDRv4] = None
47+
# END of the workaround
4348
# data type: DestinationCIDRv6
49+
# BEGIN of the workaround until upstream issues are fixed:
50+
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
51+
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
52+
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
4453
oneof_schema_2_validator: Optional[DestinationCIDRv6] = None
54+
# END of the workaround
4555
actual_instance: Optional[Union[DestinationCIDRv4, DestinationCIDRv6]] = None
4656
one_of_schemas: Set[str] = {"DestinationCIDRv4", "DestinationCIDRv6"}
4757

services/iaasalpha/src/stackit/iaasalpha/models/route_nexthop.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,33 @@ class RouteNexthop(BaseModel):
4141
"""
4242

4343
# data type: NexthopIPv4
44+
# BEGIN of the workaround until upstream issues are fixed:
45+
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
46+
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
47+
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
4448
oneof_schema_1_validator: Optional[NexthopIPv4] = None
49+
# END of the workaround
4550
# data type: NexthopIPv6
51+
# BEGIN of the workaround until upstream issues are fixed:
52+
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
53+
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
54+
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
4655
oneof_schema_2_validator: Optional[NexthopIPv6] = None
56+
# END of the workaround
4757
# data type: NexthopInternet
58+
# BEGIN of the workaround until upstream issues are fixed:
59+
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
60+
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
61+
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
4862
oneof_schema_3_validator: Optional[NexthopInternet] = None
63+
# END of the workaround
4964
# data type: NexthopBlackhole
65+
# BEGIN of the workaround until upstream issues are fixed:
66+
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
67+
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
68+
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
5069
oneof_schema_4_validator: Optional[NexthopBlackhole] = None
70+
# END of the workaround
5171
actual_instance: Optional[Union[NexthopBlackhole, NexthopIPv4, NexthopIPv6, NexthopInternet]] = None
5272
one_of_schemas: Set[str] = {"NexthopBlackhole", "NexthopIPv4", "NexthopIPv6", "NexthopInternet"}
5373

0 commit comments

Comments
 (0)