Skip to content

Commit 614d31a

Browse files
committed
Generate newest client
1 parent c5cc902 commit 614d31a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ generate-client:
22
npx @openapitools/openapi-generator-cli version-manager set 7.10.0
33
npx @openapitools/openapi-generator-cli generate \
44
-g python \
5-
-i https://raw.githubusercontent.com/DakCrowder/flightctl/567ae4dae416eb375c0afac345de1cc9d845ba44/api/v1alpha1/openapi.yaml \
5+
-i https://raw.githubusercontent.com/DakCrowder/flightctl/0187407828e9ab5194aadf5c14e502fbe4923894/api/v1alpha1/openapi.yaml \
66
-o . \
77
--additional-properties=packageName=flightctl \
88
--git-user-id flightctl \

docs/CertificateSigningRequestSpec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**expiration_seconds** | **int** | Requested duration of validity for the certificate | [optional]
1010
**extra** | **Dict[str, List[str]]** | Extra attributes of the user that created the CSR, populated by the API server on creation and immutable | [optional]
11-
**request** | **bytearray** | The base64-encoded PEM-encoded PKCS#10 CSR. Matches the spec.request field in a kubernetes CertificateSigningRequest resource |
11+
**request** | **bytearray** | The base64-encoded PEM-encoded PKCS#10 CSR. Matches the spec.request field in a kubernetes CertificateSigningRequest resource | [optional]
1212
**signer_name** | **str** | Indicates the requested signer, and is a qualified name |
1313
**uid** | **str** | UID of the user that created the CSR, populated by the API server on creation and immutable | [optional]
1414
**usages** | **List[str]** | Usages specifies a set of key usages requested in the issued certificate. | [optional]

flightctl/models/certificate_signing_request_spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CertificateSigningRequestSpec(BaseModel):
2828
""" # noqa: E501
2929
expiration_seconds: Optional[StrictInt] = Field(default=None, description="Requested duration of validity for the certificate", alias="expirationSeconds")
3030
extra: Optional[Dict[str, List[StrictStr]]] = Field(default=None, description="Extra attributes of the user that created the CSR, populated by the API server on creation and immutable")
31-
request: Union[StrictBytes, StrictStr] = Field(description="The base64-encoded PEM-encoded PKCS#10 CSR. Matches the spec.request field in a kubernetes CertificateSigningRequest resource")
31+
request: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The base64-encoded PEM-encoded PKCS#10 CSR. Matches the spec.request field in a kubernetes CertificateSigningRequest resource")
3232
signer_name: StrictStr = Field(description="Indicates the requested signer, and is a qualified name", alias="signerName")
3333
uid: Optional[StrictStr] = Field(default=None, description="UID of the user that created the CSR, populated by the API server on creation and immutable")
3434
usages: Optional[List[StrictStr]] = Field(default=None, description="Usages specifies a set of key usages requested in the issued certificate.")

0 commit comments

Comments
 (0)