You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make AccessCredential provider_default and credential types nullable. (#259)
Unless we mark this as nullable, our generated code on the server side
cannot easily discern between a user wanting to set a credential to
not be the default (i.e. `"provider_default": false`) vs. not changing
the default status at all (no `provider_default` field).
We need similar support for our credential types as well.
Copy file name to clipboardExpand all lines: openapi-v2.yaml
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -550,7 +550,7 @@ definitions:
550
550
provider_default:
551
551
description: "True if this is the namespace's default credential to be used when connecting to the given cloud provider. There can be at most one default for each unique provider."
552
552
type: boolean
553
-
x-omitempty: true
553
+
x-nullable: true
554
554
created_at:
555
555
description: "Time when the credential was created (rfc3339)"
556
556
type: string
@@ -570,7 +570,7 @@ definitions:
570
570
$ref: "#/definitions/AWSCredential"
571
571
azure:
572
572
$ref: "#/definitions/AzureCredential"
573
-
573
+
574
574
AccessCredentialsData:
575
575
description: Object including credentials and pagination metadata
576
576
type: object
@@ -587,6 +587,7 @@ definitions:
587
587
AWSCredential:
588
588
description: "Credential information to access Amazon Web Services"
589
589
type: object
590
+
x-nullable: true
590
591
x-omitempty: true
591
592
properties:
592
593
access_key_id:
@@ -601,7 +602,8 @@ definitions:
601
602
AzureCredential:
602
603
description: "Credential information to access Microsoft Azure. Each supported property is the snake_case version of its name in an Azure Storage connection string."
603
604
type: object
604
-
x-omitempty: True
605
+
x-nullable: true
606
+
x-omitempty: true
605
607
properties:
606
608
account_name:
607
609
description: "The name of the Azure account to access"
0 commit comments