Skip to content

Commit 5d943c0

Browse files
Generate certificates
1 parent a446f5f commit 5d943c0

File tree

13 files changed

+21
-139
lines changed

13 files changed

+21
-139
lines changed

services/certificates/src/stackit/certificates/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
This API offers the ability to store TLS certificates, which can be used by load balancing servers in STACKIT. They can be between consumer and load balancing server and/or between load balancing server and endpoint server.
99
10-
The version of the OpenAPI document: 2beta.0.0
10+
The version of the OpenAPI document: 2.0.0
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
@@ -29,7 +29,6 @@
2929
"ApiAttributeError",
3030
"ApiException",
3131
"CreateCertificatePayload",
32-
"CreateCertificateResponse",
3332
"GetCertificateResponse",
3433
"GoogleProtobufAny",
3534
"ListCertificatesResponse",
@@ -54,9 +53,6 @@
5453
from stackit.certificates.models.create_certificate_payload import (
5554
CreateCertificatePayload as CreateCertificatePayload,
5655
)
57-
from stackit.certificates.models.create_certificate_response import (
58-
CreateCertificateResponse as CreateCertificateResponse,
59-
)
6056
from stackit.certificates.models.get_certificate_response import (
6157
GetCertificateResponse as GetCertificateResponse,
6258
)

services/certificates/src/stackit/certificates/api/default_api.py

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API offers the ability to store TLS certificates, which can be used by load balancing servers in STACKIT. They can be between consumer and load balancing server and/or between load balancing server and endpoint server.
77
8-
The version of the OpenAPI document: 2beta.0.0
8+
The version of the OpenAPI document: 2.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -22,9 +22,6 @@
2222
from stackit.certificates.models.create_certificate_payload import (
2323
CreateCertificatePayload,
2424
)
25-
from stackit.certificates.models.create_certificate_response import (
26-
CreateCertificateResponse,
27-
)
2825
from stackit.certificates.models.get_certificate_response import GetCertificateResponse
2926
from stackit.certificates.models.list_certificates_response import (
3027
ListCertificatesResponse,
@@ -60,7 +57,7 @@ def create_certificate(
6057
_content_type: Optional[StrictStr] = None,
6158
_headers: Optional[Dict[StrictStr, Any]] = None,
6259
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
63-
) -> CreateCertificateResponse:
60+
) -> GetCertificateResponse:
6461
"""Store a TLS certificate in a project.
6562
6663
CreateCertificate will store a TLS certificate in a project.
@@ -104,7 +101,7 @@ def create_certificate(
104101
)
105102

106103
_response_types_map: Dict[str, Optional[str]] = {
107-
"200": "CreateCertificateResponse",
104+
"200": "GetCertificateResponse",
108105
"400": None,
109106
"401": "Status",
110107
"403": None,
@@ -132,7 +129,7 @@ def create_certificate_with_http_info(
132129
_content_type: Optional[StrictStr] = None,
133130
_headers: Optional[Dict[StrictStr, Any]] = None,
134131
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
135-
) -> ApiResponse[CreateCertificateResponse]:
132+
) -> ApiResponse[GetCertificateResponse]:
136133
"""Store a TLS certificate in a project.
137134
138135
CreateCertificate will store a TLS certificate in a project.
@@ -176,7 +173,7 @@ def create_certificate_with_http_info(
176173
)
177174

178175
_response_types_map: Dict[str, Optional[str]] = {
179-
"200": "CreateCertificateResponse",
176+
"200": "GetCertificateResponse",
180177
"400": None,
181178
"401": "Status",
182179
"403": None,
@@ -248,7 +245,7 @@ def create_certificate_without_preload_content(
248245
)
249246

250247
_response_types_map: Dict[str, Optional[str]] = {
251-
"200": "CreateCertificateResponse",
248+
"200": "GetCertificateResponse",
252249
"400": None,
253250
"401": "Status",
254251
"403": None,
@@ -308,7 +305,7 @@ def _create_certificate_serialize(
308305

309306
return self.api_client.param_serialize(
310307
method="POST",
311-
resource_path="/v2beta/projects/{projectId}/regions/{region}/certificates",
308+
resource_path="/v2/projects/{projectId}/regions/{region}/certificates",
312309
path_params=_path_params,
313310
query_params=_query_params,
314311
header_params=_header_params,
@@ -576,7 +573,7 @@ def _delete_certificate_serialize(
576573

577574
return self.api_client.param_serialize(
578575
method="DELETE",
579-
resource_path="/v2beta/projects/{projectId}/regions/{region}/certificates/{id}",
576+
resource_path="/v2/projects/{projectId}/regions/{region}/certificates/{id}",
580577
path_params=_path_params,
581578
query_params=_query_params,
582579
header_params=_header_params,
@@ -847,7 +844,7 @@ def _get_certificate_serialize(
847844

848845
return self.api_client.param_serialize(
849846
method="GET",
850-
resource_path="/v2beta/projects/{projectId}/regions/{region}/certificates/{id}",
847+
resource_path="/v2/projects/{projectId}/regions/{region}/certificates/{id}",
851848
path_params=_path_params,
852849
query_params=_query_params,
853850
header_params=_header_params,
@@ -1167,7 +1164,7 @@ def _list_certificates_serialize(
11671164

11681165
return self.api_client.param_serialize(
11691166
method="GET",
1170-
resource_path="/v2beta/projects/{projectId}/regions/{region}/certificates",
1167+
resource_path="/v2/projects/{projectId}/regions/{region}/certificates",
11711168
path_params=_path_params,
11721169
query_params=_query_params,
11731170
header_params=_header_params,

services/certificates/src/stackit/certificates/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API offers the ability to store TLS certificates, which can be used by load balancing servers in STACKIT. They can be between consumer and load balancing server and/or between load balancing server and endpoint server.
77
8-
The version of the OpenAPI document: 2beta.0.0
8+
The version of the OpenAPI document: 2.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/certificates/src/stackit/certificates/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API offers the ability to store TLS certificates, which can be used by load balancing servers in STACKIT. They can be between consumer and load balancing server and/or between load balancing server and endpoint server.
77
8-
The version of the OpenAPI document: 2beta.0.0
8+
The version of the OpenAPI document: 2.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/certificates/src/stackit/certificates/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API offers the ability to store TLS certificates, which can be used by load balancing servers in STACKIT. They can be between consumer and load balancing server and/or between load balancing server and endpoint server.
77
8-
The version of the OpenAPI document: 2beta.0.0
8+
The version of the OpenAPI document: 2.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/certificates/src/stackit/certificates/models/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
This API offers the ability to store TLS certificates, which can be used by load balancing servers in STACKIT. They can be between consumer and load balancing server and/or between load balancing server and endpoint server.
88
9-
The version of the OpenAPI document: 2beta.0.0
9+
The version of the OpenAPI document: 2.0.0
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
1212
Do not edit the class manually.
@@ -17,9 +17,6 @@
1717
from stackit.certificates.models.create_certificate_payload import (
1818
CreateCertificatePayload,
1919
)
20-
from stackit.certificates.models.create_certificate_response import (
21-
CreateCertificateResponse,
22-
)
2320
from stackit.certificates.models.get_certificate_response import GetCertificateResponse
2421
from stackit.certificates.models.google_protobuf_any import GoogleProtobufAny
2522
from stackit.certificates.models.list_certificates_response import (

services/certificates/src/stackit/certificates/models/create_certificate_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API offers the ability to store TLS certificates, which can be used by load balancing servers in STACKIT. They can be between consumer and load balancing server and/or between load balancing server and endpoint server.
77
8-
The version of the OpenAPI document: 2beta.0.0
8+
The version of the OpenAPI document: 2.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/certificates/src/stackit/certificates/models/create_certificate_response.py

Lines changed: 0 additions & 108 deletions
This file was deleted.

services/certificates/src/stackit/certificates/models/get_certificate_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API offers the ability to store TLS certificates, which can be used by load balancing servers in STACKIT. They can be between consumer and load balancing server and/or between load balancing server and endpoint server.
77
8-
The version of the OpenAPI document: 2beta.0.0
8+
The version of the OpenAPI document: 2.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/certificates/src/stackit/certificates/models/google_protobuf_any.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API offers the ability to store TLS certificates, which can be used by load balancing servers in STACKIT. They can be between consumer and load balancing server and/or between load balancing server and endpoint server.
77
8-
The version of the OpenAPI document: 2beta.0.0
8+
The version of the OpenAPI document: 2.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

0 commit comments

Comments
 (0)