Skip to content

Commit ccbe894

Browse files
Yifanzhou/fix error response (Azure#19327)
* expose a query parameter in term get API * fixed type * update 2022-03-01-preview to keep consistent * Revert "update 2022-03-01-preview to keep consistent" This reverts commit a747b81. * fix model validation * Update purviewcatalog.json * update the swagger to 2022-03-01-preview * update swagger * Update purviewcatalog.json * update tag * update desc * Update Glossary_ExportGlossaryTermsAsCsv.json * fix the parameter order * add "x-ms-error-response": true
1 parent 475e39b commit ccbe894

File tree

1 file changed

+14
-7
lines changed
  • specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview

1 file changed

+14
-7
lines changed

specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,8 @@
11381138
"description": "Template File"
11391139
},
11401140
"400": {
1141-
"description": "If the provided fileType is not supported"
1141+
"description": "If the provided fileType is not supported",
1142+
"x-ms-error-response": true
11421143
}
11431144
}
11441145
}
@@ -1237,7 +1238,8 @@
12371238
]
12381239
}
12391240
},
1240-
"description": "If Business Metadata definition has invalid or missing information"
1241+
"description": "If Business Metadata definition has invalid or missing information",
1242+
"x-ms-error-response": true
12411243
},
12421244
"409": {
12431245
"examples": {
@@ -1272,7 +1274,8 @@
12721274
]
12731275
}
12741276
},
1275-
"description": "If Business Metadata already exists (duplicate qualifiedName)"
1277+
"description": "If Business Metadata already exists (duplicate qualifiedName)",
1278+
"x-ms-error-response": true
12761279
}
12771280
}
12781281
}
@@ -3726,7 +3729,8 @@
37263729
]
37273730
}
37283731
},
3729-
"description": "Bad query parameters"
3732+
"description": "Bad query parameters",
3733+
"x-ms-error-response": true
37303734
},
37313735
"404": {
37323736
"examples": {
@@ -3904,7 +3908,8 @@
39043908
]
39053909
}
39063910
},
3907-
"description": "If no lineage is found for the given entity"
3911+
"description": "If no lineage is found for the given entity",
3912+
"x-ms-error-response": true
39083913
}
39093914
}
39103915
}
@@ -4077,7 +4082,8 @@
40774082
"description": "On successful lookup of the the businessMetadata definition by it's guid"
40784083
},
40794084
"404": {
4080-
"description": "On Failed lookup for the given guid"
4085+
"description": "On Failed lookup for the given guid",
4086+
"x-ms-error-response": true
40814087
}
40824088
}
40834089
}
@@ -4110,7 +4116,8 @@
41104116
"description": "On successful lookup of the the businessMetadata definition by it's name"
41114117
},
41124118
"404": {
4113-
"description": "On Failed lookup for the given name"
4119+
"description": "On Failed lookup for the given name",
4120+
"x-ms-error-response": true
41144121
}
41154122
}
41164123
}

0 commit comments

Comments
 (0)