Skip to content

Commit 511ad7f

Browse files
OAS Update
1 parent 8c00e78 commit 511ad7f

File tree

2 files changed

+42
-14
lines changed

2 files changed

+42
-14
lines changed

services/mongodb-flex/v1/mongodb-flex.json

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@
164164
"type": "string"
165165
},
166166
"roles": {
167+
"description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
168+
"example": [
169+
"readAnyDatabase"
170+
],
167171
"items": {
168172
"$ref": "#/components/schemas/user.role"
169173
},
@@ -556,6 +560,10 @@
556560
"type": "string"
557561
},
558562
"roles": {
563+
"description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
564+
"example": [
565+
"readAnyDatabase"
566+
],
559567
"items": {
560568
"$ref": "#/components/schemas/user.role"
561569
},
@@ -806,6 +814,10 @@
806814
"type": "string"
807815
},
808816
"roles": {
817+
"description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
818+
"example": [
819+
"readAnyDatabase"
820+
],
809821
"items": {
810822
"$ref": "#/components/schemas/user.role"
811823
},
@@ -836,6 +848,10 @@
836848
"type": "integer"
837849
},
838850
"roles": {
851+
"description": "The roles defined for a user. The roles array can contain the following values: 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'.",
852+
"example": [
853+
"readAnyDatabase"
854+
],
839855
"items": {
840856
"$ref": "#/components/schemas/user.role"
841857
},
@@ -982,6 +998,10 @@
982998
"type": "integer"
983999
},
9841000
"roles": {
1001+
"description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
1002+
"example": [
1003+
"readAnyDatabase"
1004+
],
9851005
"items": {
9861006
"$ref": "#/components/schemas/user.role"
9871007
},
@@ -1040,13 +1060,7 @@
10401060
"type": "object"
10411061
},
10421062
"user.role": {
1043-
"description": "The user role for the instance.",
1044-
"enum": [
1045-
"readAnyDatabase",
1046-
"readWriteAnyDatabase",
1047-
"stackitAdmin"
1048-
],
1049-
"example": "readAnyDatabase",
1063+
"description": "The user role for the instance. The valid values for this attribute are: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'.",
10501064
"type": "string"
10511065
}
10521066
}

services/mongodb-flex/v2/mongodb-flex.json

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@
178178
"type": "string"
179179
},
180180
"roles": {
181+
"description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
182+
"example": [
183+
"readAnyDatabase"
184+
],
181185
"items": {
182186
"$ref": "#/components/schemas/user.role"
183187
},
@@ -548,6 +552,10 @@
548552
"type": "string"
549553
},
550554
"roles": {
555+
"description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
556+
"example": [
557+
"readAnyDatabase"
558+
],
551559
"items": {
552560
"$ref": "#/components/schemas/user.role"
553561
},
@@ -810,6 +818,10 @@
810818
"type": "string"
811819
},
812820
"roles": {
821+
"description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
822+
"example": [
823+
"readAnyDatabase"
824+
],
813825
"items": {
814826
"$ref": "#/components/schemas/user.role"
815827
},
@@ -841,6 +853,10 @@
841853
"type": "integer"
842854
},
843855
"roles": {
856+
"description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
857+
"example": [
858+
"readAnyDatabase"
859+
],
844860
"items": {
845861
"$ref": "#/components/schemas/user.role"
846862
},
@@ -971,6 +987,10 @@
971987
"type": "integer"
972988
},
973989
"roles": {
990+
"description": "The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
991+
"example": [
992+
"readAnyDatabase"
993+
],
974994
"items": {
975995
"$ref": "#/components/schemas/user.role"
976996
},
@@ -1032,13 +1052,7 @@
10321052
"type": "object"
10331053
},
10341054
"user.role": {
1035-
"description": "The user role for the instance.",
1036-
"enum": [
1037-
"readAnyDatabase",
1038-
"readWriteAnyDatabase",
1039-
"stackitAdmin"
1040-
],
1041-
"example": "readAnyDatabase",
1055+
"description": "The user role for the instance. The valid values for this attribute are: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'.",
10421056
"type": "string"
10431057
}
10441058
}

0 commit comments

Comments
 (0)