Skip to content

Commit 586493b

Browse files
committed
Remove password format from qumulo
1 parent 1df2462 commit 586493b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

specification/liftrqumulo/Qumulo.Storage.Management/LiftrBase.Storage/main.tsp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ model FileSystemResourceProperties {
6666
/**
6767
* Initial administrator password of the resource
6868
*/
69-
@secret
69+
#suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Mark this property with @secret if the contents should be kept private."
70+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: If this is a real secret, mark with @secret"
71+
@OpenAPI.extension("x-ms-secret", true)
7072
adminPassword: string;
7173

7274
/**

specification/liftrqumulo/Qumulo.Storage.Management/LiftrBase/main.tsp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ model UserDetails {
8484
/**
8585
* User Email
8686
*/
87-
@secret
87+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "Legacy"
88+
@OpenAPI.extension("x-ms-secret", true)
8889
email: string;
8990
}
9091

specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2024-06-19/Qumulo.Storage.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,6 @@
638638
},
639639
"adminPassword": {
640640
"type": "string",
641-
"format": "password",
642641
"description": "Initial administrator password of the resource",
643642
"x-ms-secret": true
644643
},
@@ -700,7 +699,6 @@
700699
"properties": {
701700
"email": {
702701
"type": "string",
703-
"format": "password",
704702
"description": "User Email",
705703
"x-ms-secret": true
706704
}

0 commit comments

Comments
 (0)