Skip to content

Generator: Update SDK /services/iaasalpha #2212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,19 @@ class CreateNetworkIPv4(BaseModel):
"""

# data type: CreateNetworkIPv4WithPrefix
# BEGIN of the workaround until upstream issues are fixed:
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
oneof_schema_1_validator: Optional[CreateNetworkIPv4WithPrefix] = None
# END of the workaround
# data type: CreateNetworkIPv4WithPrefixLength
# BEGIN of the workaround until upstream issues are fixed:
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
oneof_schema_2_validator: Optional[CreateNetworkIPv4WithPrefixLength] = None
# END of the workaround
actual_instance: Optional[Union[CreateNetworkIPv4WithPrefix, CreateNetworkIPv4WithPrefixLength]] = None
one_of_schemas: Set[str] = {"CreateNetworkIPv4WithPrefix", "CreateNetworkIPv4WithPrefixLength"}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,19 @@ class CreateNetworkIPv6(BaseModel):
"""

# data type: CreateNetworkIPv6WithPrefix
# BEGIN of the workaround until upstream issues are fixed:
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
oneof_schema_1_validator: Optional[CreateNetworkIPv6WithPrefix] = None
# END of the workaround
# data type: CreateNetworkIPv6WithPrefixLength
# BEGIN of the workaround until upstream issues are fixed:
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
oneof_schema_2_validator: Optional[CreateNetworkIPv6WithPrefixLength] = None
# END of the workaround
actual_instance: Optional[Union[CreateNetworkIPv6WithPrefix, CreateNetworkIPv6WithPrefixLength]] = None
one_of_schemas: Set[str] = {"CreateNetworkIPv6WithPrefix", "CreateNetworkIPv6WithPrefixLength"}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,19 @@ class RouteDestination(BaseModel):
"""

# data type: DestinationCIDRv4
# BEGIN of the workaround until upstream issues are fixed:
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
oneof_schema_1_validator: Optional[DestinationCIDRv4] = None
# END of the workaround
# data type: DestinationCIDRv6
# BEGIN of the workaround until upstream issues are fixed:
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
oneof_schema_2_validator: Optional[DestinationCIDRv6] = None
# END of the workaround
actual_instance: Optional[Union[DestinationCIDRv4, DestinationCIDRv6]] = None
one_of_schemas: Set[str] = {"DestinationCIDRv4", "DestinationCIDRv6"}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,33 @@ class RouteNexthop(BaseModel):
"""

# data type: NexthopIPv4
# BEGIN of the workaround until upstream issues are fixed:
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
oneof_schema_1_validator: Optional[NexthopIPv4] = None
# END of the workaround
# data type: NexthopIPv6
# BEGIN of the workaround until upstream issues are fixed:
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
oneof_schema_2_validator: Optional[NexthopIPv6] = None
# END of the workaround
# data type: NexthopInternet
# BEGIN of the workaround until upstream issues are fixed:
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
oneof_schema_3_validator: Optional[NexthopInternet] = None
# END of the workaround
# data type: NexthopBlackhole
# BEGIN of the workaround until upstream issues are fixed:
# https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024
# and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024
# Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227
oneof_schema_4_validator: Optional[NexthopBlackhole] = None
# END of the workaround
actual_instance: Optional[Union[NexthopBlackhole, NexthopIPv4, NexthopIPv6, NexthopInternet]] = None
one_of_schemas: Set[str] = {"NexthopBlackhole", "NexthopIPv4", "NexthopIPv6", "NexthopInternet"}

Expand Down
Loading