Skip to content
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

ANF-8872 Fix examples for integers #12367

Merged
merged 11 commits into from
Feb 19, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -1809,6 +1809,11 @@
"minLength": 36,
"example": "9760acf5-4638-11e7-9bdb-020073ca7778"
},
"name": {
"type": "string",
"readOnly": true,
"description": "Resource name"
},
"creationToken": {
"title": "Creation Token or File Path",
"type": "string",
Expand Down Expand Up @@ -1914,6 +1919,7 @@
"mountTargets": {
"title": "mountTargets",
"type": "array",
"readOnly": true,
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetProperties"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1605,6 +1605,11 @@
"minLength": 36,
"example": "9760acf5-4638-11e7-9bdb-020073ca7778"
},
"name": {
"type": "string",
"readOnly": true,
"description": "Pool Resource name"
},
"size": {
"title": "size",
"type": "integer",
Expand Down Expand Up @@ -1809,6 +1814,11 @@
"minLength": 36,
"example": "9760acf5-4638-11e7-9bdb-020073ca7778"
},
"name": {
"type": "string",
"readOnly": true,
"description": "Resource name"
},
"creationToken": {
"title": "Creation Token or File Path",
"type": "string",
Expand Down Expand Up @@ -1873,7 +1883,7 @@
},
"protocolTypes": {
"title": "protocolTypes",
"description": "Set of protocol types",
"description": "Set of protocol types, default NFSv3, CIFS fro SMB protocol",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -1913,6 +1923,7 @@
"mountTargets": {
"title": "mountTargets",
"type": "array",
"readOnly": true,
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetProperties"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1860,6 +1860,12 @@
"default": 107374182400,
"example": 107374182400
},
"usedBytes": {
"type": "integer",
"description": "Resource size in bytes, current storage usage for the volume in bytes",
"readOnly": true,
"format": "int64"
},
"exportPolicy": {
"title": "exportPolicy",
"description": "Set of export policy rules",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2045,6 +2045,11 @@
"minLength": 36,
"example": "9760acf5-4638-11e7-9bdb-020073ca7778"
},
"name": {
"type": "string",
"readOnly": true,
"description": "Resource name"
},
"creationToken": {
"title": "Creation Token or File Path",
"type": "string",
Expand Down Expand Up @@ -2093,6 +2098,12 @@
"default": 107374182400,
"example": 107374182400
},
"usedBytes": {
"type": "integer",
"description": "Resource size in bytes, current storage usage for the volume in bytes",
"readOnly": true,
"format": "int64"
},
"exportPolicy": {
"title": "exportPolicy",
"description": "Set of export policy rules",
Expand All @@ -2109,7 +2120,7 @@
},
"protocolTypes": {
"title": "protocolTypes",
"description": "Set of protocol types",
"description": "Set of protocol types, default NFSv3, CIFS for SMB protocol",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -2149,6 +2160,7 @@
"mountTargets": {
"title": "mountTargets",
"type": "array",
"readOnly": true,
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetProperties"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1758,6 +1758,7 @@
"properties": {
"activeDirectoryId": {
"type": "string",
"default": "guid id",
"description": "Id of the Active Directory"
},
"username": {
Expand Down Expand Up @@ -1868,6 +1869,11 @@
"minLength": 36,
"example": "9760acf5-4638-11e7-9bdb-020073ca7778"
},
"name": {
"type": "string",
"readOnly": true,
"description": "Pool Resource name"
},
"size": {
"title": "size",
"type": "integer",
Expand Down Expand Up @@ -2075,6 +2081,11 @@
"minLength": 36,
"example": "9760acf5-4638-11e7-9bdb-020073ca7778"
},
"name": {
"type": "string",
"readOnly": true,
"description": "Resource name"
},
"creationToken": {
"title": "Creation Token or File Path",
"type": "string",
Expand Down Expand Up @@ -2124,6 +2135,12 @@
"default": 107374182400,
"example": 107374182400
},
"usedBytes": {
"type": "integer",
"description": "Resource size in bytes, current storage usage for the volume in bytes",
"readOnly": true,
"format": "int64"
},
"exportPolicy": {
"title": "exportPolicy",
"description": "Set of export policy rules",
Expand All @@ -2140,7 +2157,7 @@
},
"protocolTypes": {
"title": "protocolTypes",
"description": "Set of protocol types",
"description": "Set of protocol types, default NFSv3, CIFS for SMB protocol",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -2180,6 +2197,7 @@
"mountTargets": {
"title": "mountTargets",
"type": "array",
"readOnly": true,
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetProperties"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1765,6 +1765,7 @@
"properties": {
"activeDirectoryId": {
"type": "string",
"default": "guid id",
"description": "Id of the Active Directory"
},
"username": {
Expand Down Expand Up @@ -1793,6 +1794,7 @@
},
"organizationalUnit": {
"type": "string",
"default": "CN=Computers",
"description": "The Organizational Unit (OU) within the Windows Active Directory"
},
"site": {
Expand Down Expand Up @@ -2095,6 +2097,11 @@
"minLength": 36,
"example": "9760acf5-4638-11e7-9bdb-020073ca7778"
},
"name": {
"type": "string",
"readOnly": true,
"description": "Resource name"
},
"creationToken": {
"title": "Creation Token or File Path",
"type": "string",
Expand Down Expand Up @@ -2144,6 +2151,12 @@
"default": 107374182400,
"example": 107374182400
},
"usedBytes": {
"type": "integer",
"description": "Resource size in bytes, current storage usage for the volume in bytes",
"readOnly": true,
"format": "int64"
},
"exportPolicy": {
"title": "exportPolicy",
"description": "Set of export policy rules",
Expand All @@ -2160,7 +2173,7 @@
},
"protocolTypes": {
"title": "protocolTypes",
"description": "Set of protocol types",
"description": "Set of protocol types, default NFSv3, CIFS for SMB protocol",
"type": "array",
"items": {
"type": "string"
Expand All @@ -2177,6 +2190,7 @@
"snapshotId": {
"title": "Snapshot ID",
"type": "string",
"x-nullable": true,
"description": "UUID v4 or resource identifier used to identify the Snapshot.",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$",
"maxLength": 36,
Expand All @@ -2200,6 +2214,7 @@
"mountTargets": {
"title": "mountTargets",
"type": "array",
"readOnly": true,
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetProperties"
Expand Down Expand Up @@ -2233,6 +2248,7 @@
},
"snapshotDirectoryVisible": {
"type": "boolean",
"default": true,
"description": "If enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots (default to true)."
}
}
Expand All @@ -2255,6 +2271,7 @@
},
"cifs": {
"type": "boolean",
"default": false,
"description": "Allows CIFS protocol"
},
"nfsv3": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1765,6 +1765,7 @@
"properties": {
"activeDirectoryId": {
"type": "string",
"default": "guid id",
"description": "Id of the Active Directory"
},
"username": {
Expand Down Expand Up @@ -1793,6 +1794,7 @@
},
"organizationalUnit": {
"type": "string",
"default": "CN=Computers",
"description": "The Organizational Unit (OU) within the Windows Active Directory"
},
"site": {
Expand Down Expand Up @@ -2095,6 +2097,11 @@
"minLength": 36,
"example": "9760acf5-4638-11e7-9bdb-020073ca7778"
},
"name": {
"type": "string",
"readOnly": true,
"description": "Resource name"
},
"creationToken": {
"title": "Creation Token or File Path",
"type": "string",
Expand Down Expand Up @@ -2160,7 +2167,7 @@
},
"protocolTypes": {
"title": "protocolTypes",
"description": "Set of protocol types",
"description": "Set of protocol types, default NFSv3, CIFS for SMB protocol",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -2200,6 +2207,7 @@
"mountTargets": {
"title": "mountTargets",
"type": "array",
"readOnly": true,
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetProperties"
Expand Down Expand Up @@ -2256,6 +2264,7 @@
},
"cifs": {
"type": "boolean",
"default": false,
"description": "Allows CIFS protocol"
},
"nfsv3": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2868,6 +2868,7 @@
"properties": {
"activeDirectoryId": {
"type": "string",
"default": "guid id",
"description": "Id of the Active Directory"
},
"username": {
Expand Down Expand Up @@ -2899,6 +2900,7 @@
},
"organizationalUnit": {
"type": "string",
"default": "CN=Computers",
"description": "The Organizational Unit (OU) within the Windows Active Directory"
},
"site": {
Expand Down Expand Up @@ -3214,6 +3216,11 @@
"minLength": 36,
"example": "9760acf5-4638-11e7-9bdb-020073ca7778"
},
"name": {
"type": "string",
"readOnly": true,
"description": "Resource name"
},
"creationToken": {
"title": "Creation Token or File Path",
"type": "string",
Expand Down Expand Up @@ -3279,7 +3286,7 @@
},
"protocolTypes": {
"title": "protocolTypes",
"description": "Set of protocol types",
"description": "Set of protocol types, default NFSv3, CIFS for SMB protocol",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -3328,6 +3335,7 @@
"mountTargets": {
"title": "mountTargets",
"type": "array",
"readOnly": true,
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetProperties"
Expand Down Expand Up @@ -3388,6 +3396,7 @@
},
"unixReadOnly": {
"type": "boolean",
"default": false,
"description": "Read only access"
},
"unixReadWrite": {
Expand Down Expand Up @@ -3432,6 +3441,7 @@
},
"cifs": {
"type": "boolean",
"default": false,
"description": "Allows CIFS protocol"
},
"nfsv3": {
Expand Down
Loading