diff --git a/tools/V4-CSDL-to-OpenAPI.xsl b/tools/V4-CSDL-to-OpenAPI.xsl
index 33a78cb3..cf391512 100644
--- a/tools/V4-CSDL-to-OpenAPI.xsl
+++ b/tools/V4-CSDL-to-OpenAPI.xsl
@@ -3627,7 +3627,17 @@
-
+
+
+
+
+
+
+
+
+
+
+
}
diff --git a/tools/tests/Northwind-key-as-segment.openapi3.json b/tools/tests/Northwind-key-as-segment.openapi3.json
index 5ac9ef38..5ab63942 100644
--- a/tools/tests/Northwind-key-as-segment.openapi3.json
+++ b/tools/tests/Northwind-key-as-segment.openapi3.json
@@ -328,8 +328,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Category"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -762,8 +769,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.CustomerDemographic"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1236,8 +1250,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Customer"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1909,8 +1930,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Employee"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2835,8 +2863,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Order_Detail"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -3330,8 +3365,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Order"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -4030,8 +4072,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Product"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -4604,8 +4653,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Region"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -5020,8 +5076,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Shipper"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -5507,8 +5570,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Supplier"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -5947,8 +6017,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Territory"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -6509,8 +6586,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Alphabetical_list_of_product"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -6727,8 +6811,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Category_Sales_for_1997"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -6955,8 +7046,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Current_Product_List"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -7191,8 +7289,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Customer_and_Suppliers_by_City"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -7604,8 +7709,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Invoice"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -7911,8 +8023,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Order_Details_Extended"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -8129,8 +8248,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Order_Subtotal"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -8429,8 +8555,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Orders_Qry"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -8661,8 +8794,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Product_Sales_for_1997"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -8879,8 +9019,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Products_Above_Average_Price"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -9128,8 +9275,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Products_by_Category"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -9374,8 +9528,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Sales_by_Category"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -9610,8 +9771,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Sales_Totals_by_Amount"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -9832,8 +10000,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Summary_of_Sales_by_Quarter"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -10054,8 +10229,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NorthwindModel.Summary_of_Sales_by_Year"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
diff --git a/tools/tests/Northwind-key-as-segment.swagger.json b/tools/tests/Northwind-key-as-segment.swagger.json
index 5c4dc9dd..8f3b1061 100644
--- a/tools/tests/Northwind-key-as-segment.swagger.json
+++ b/tools/tests/Northwind-key-as-segment.swagger.json
@@ -301,8 +301,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Category"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -679,8 +682,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.CustomerDemographic"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1096,8 +1102,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Customer"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1690,8 +1699,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Employee"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2503,8 +2515,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Order_Detail"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2937,8 +2952,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Order"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -3546,8 +3564,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Product"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -4041,8 +4062,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Region"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -4402,8 +4426,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Shipper"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -4834,8 +4861,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Supplier"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -5218,8 +5248,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Territory"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -5709,8 +5742,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Alphabetical_list_of_product"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -5899,8 +5935,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Category_Sales_for_1997"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -6097,8 +6136,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Current_Product_List"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -6302,8 +6344,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Customer_and_Suppliers_by_City"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -6646,8 +6691,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Invoice"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -6893,8 +6941,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Order_Details_Extended"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -7084,8 +7135,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Order_Subtotal"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -7354,8 +7408,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Orders_Qry"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -7555,8 +7612,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Product_Sales_for_1997"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -7745,8 +7805,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Products_Above_Average_Price"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -7961,8 +8024,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Products_by_Category"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -8174,8 +8240,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Sales_by_Category"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -8380,8 +8449,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Sales_Totals_by_Amount"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -8575,8 +8647,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Summary_of_Sales_by_Quarter"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -8770,8 +8845,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/NorthwindModel.Summary_of_Sales_by_Year"
+ }
},
"400": {
"$ref": "#/responses/error"
diff --git a/tools/tests/TripPin.openapi3.json b/tools/tests/TripPin.openapi3.json
index 28350b79..0c959ae0 100644
--- a/tools/tests/TripPin.openapi3.json
+++ b/tools/tests/TripPin.openapi3.json
@@ -232,8 +232,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Microsoft.OData.SampleService.Models.TripPin.Photo"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -551,8 +558,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Microsoft.OData.SampleService.Models.TripPin.Person"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1153,8 +1167,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Microsoft.OData.SampleService.Models.TripPin.Trip"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1593,8 +1614,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Microsoft.OData.SampleService.Models.TripPin.PlanItem"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1864,8 +1892,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Microsoft.OData.SampleService.Models.TripPin.Airline"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2057,8 +2092,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Microsoft.OData.SampleService.Models.TripPin.Airport"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2148,8 +2190,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Microsoft.OData.SampleService.Models.TripPin.Person"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2677,8 +2726,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Microsoft.OData.SampleService.Models.TripPin.Trip"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -3081,8 +3137,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Microsoft.OData.SampleService.Models.TripPin.PlanItem"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
diff --git a/tools/tests/TripPin.swagger.json b/tools/tests/TripPin.swagger.json
index 7702e720..c5ac0cd9 100644
--- a/tools/tests/TripPin.swagger.json
+++ b/tools/tests/TripPin.swagger.json
@@ -203,8 +203,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Microsoft.OData.SampleService.Models.TripPin.Photo"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -475,8 +478,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Microsoft.OData.SampleService.Models.TripPin.Person"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1000,8 +1006,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Microsoft.OData.SampleService.Models.TripPin.Trip"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1381,8 +1390,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Microsoft.OData.SampleService.Models.TripPin.PlanItem"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1616,8 +1628,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Microsoft.OData.SampleService.Models.TripPin.Airline"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1787,8 +1802,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Microsoft.OData.SampleService.Models.TripPin.Airport"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1867,8 +1885,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Microsoft.OData.SampleService.Models.TripPin.Person"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2333,8 +2354,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Microsoft.OData.SampleService.Models.TripPin.Trip"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2686,8 +2710,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Microsoft.OData.SampleService.Models.TripPin.PlanItem"
+ }
},
"400": {
"$ref": "#/responses/error"
diff --git a/tools/tests/annotations.openapi3.json b/tools/tests/annotations.openapi3.json
index 0569dbb8..b76926be 100644
--- a/tools/tests/annotations.openapi3.json
+++ b/tools/tests/annotations.openapi3.json
@@ -361,8 +361,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Supported.Annotations.SinglePartKey"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -964,8 +971,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Supported.Annotations.SinglePartKey"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1261,8 +1275,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Supported.Annotations.SinglePartKey"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1522,8 +1543,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Supported.Annotations.SinglePartKey"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2315,8 +2343,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Supported.Annotations.TwoPartKey"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2634,8 +2669,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Supported.Annotations.TwoPartKey"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2675,8 +2717,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Supported.Annotations.TwoPartKey"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
diff --git a/tools/tests/annotations.swagger.json b/tools/tests/annotations.swagger.json
index 0cc6b180..dce97dda 100644
--- a/tools/tests/annotations.swagger.json
+++ b/tools/tests/annotations.swagger.json
@@ -334,8 +334,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Supported.Annotations.SinglePartKey"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -864,8 +867,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Supported.Annotations.SinglePartKey"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1133,8 +1139,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Supported.Annotations.SinglePartKey"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1365,8 +1374,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Supported.Annotations.SinglePartKey"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2046,8 +2058,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Supported.Annotations.TwoPartKey"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2314,8 +2329,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Supported.Annotations.TwoPartKey"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2354,8 +2372,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Supported.Annotations.TwoPartKey"
+ }
},
"400": {
"$ref": "#/responses/error"
diff --git a/tools/tests/authorization.openapi3.json b/tools/tests/authorization.openapi3.json
index 43eadcb6..a84af013 100644
--- a/tools/tests/authorization.openapi3.json
+++ b/tools/tests/authorization.openapi3.json
@@ -210,8 +210,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/auth.example.Person"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
diff --git a/tools/tests/authorization.swagger.json b/tools/tests/authorization.swagger.json
index bc1da25d..2493234f 100644
--- a/tools/tests/authorization.swagger.json
+++ b/tools/tests/authorization.swagger.json
@@ -189,8 +189,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/auth.example.Person"
+ }
},
"400": {
"$ref": "#/responses/error"
diff --git a/tools/tests/containment.openapi3.json b/tools/tests/containment.openapi3.json
index 88390903..9c28f5f2 100644
--- a/tools/tests/containment.openapi3.json
+++ b/tools/tests/containment.openapi3.json
@@ -297,8 +297,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.Whole"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -471,8 +478,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.Part"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -626,8 +640,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.SubPart"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -874,8 +895,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.SubPart"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1211,8 +1239,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.Part"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1396,8 +1431,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.SubPart"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1664,8 +1706,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.SubPart"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1942,8 +1991,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.Whole"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2070,8 +2126,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.Part"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2193,8 +2256,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.SubPart"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2421,8 +2491,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.SubPart"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2717,8 +2794,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.Part"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2875,8 +2959,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.SubPart"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -3125,8 +3216,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.SubPart"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -3486,8 +3584,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.Folder"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -3757,8 +3862,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.Folder"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -4046,8 +4158,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.Folder"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -4353,8 +4472,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.Folder"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -4678,8 +4804,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Containment.Folder"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
diff --git a/tools/tests/containment.swagger.json b/tools/tests/containment.swagger.json
index 7cda5617..2466d424 100644
--- a/tools/tests/containment.swagger.json
+++ b/tools/tests/containment.swagger.json
@@ -269,8 +269,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.Whole"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -424,8 +427,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.Part"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -563,8 +569,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.SubPart"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -778,8 +787,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.SubPart"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1072,8 +1084,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.Part"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1235,8 +1250,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.SubPart"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1466,8 +1484,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.SubPart"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1705,8 +1726,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.Whole"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1821,8 +1845,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.Part"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1935,8 +1962,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.SubPart"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2134,8 +2164,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.SubPart"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2396,8 +2429,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.Part"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2538,8 +2574,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.SubPart"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2755,8 +2794,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.SubPart"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -3067,8 +3109,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.Folder"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -3301,8 +3346,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.Folder"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -3549,8 +3597,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.Folder"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -3811,8 +3862,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.Folder"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -4087,8 +4141,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/Containment.Folder"
+ }
},
"400": {
"$ref": "#/responses/error"
diff --git a/tools/tests/csdl-16.1.openapi3.json b/tools/tests/csdl-16.1.openapi3.json
index 7afbeccd..ce5a29d6 100644
--- a/tools/tests/csdl-16.1.openapi3.json
+++ b/tools/tests/csdl-16.1.openapi3.json
@@ -281,8 +281,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ODataDemo.Product"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -711,8 +718,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ODataDemo.Category"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1143,8 +1157,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ODataDemo.Supplier"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1415,8 +1436,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ODataDemo.Supplier"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1780,8 +1808,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ODataDemo.Country"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
diff --git a/tools/tests/csdl-16.1.swagger.json b/tools/tests/csdl-16.1.swagger.json
index 3b6f99a4..02bef9a7 100644
--- a/tools/tests/csdl-16.1.swagger.json
+++ b/tools/tests/csdl-16.1.swagger.json
@@ -254,8 +254,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/ODataDemo.Product"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -621,8 +624,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/ODataDemo.Category"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -998,8 +1004,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/ODataDemo.Supplier"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1237,8 +1246,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/ODataDemo.Supplier"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1554,8 +1566,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/ODataDemo.Country"
+ }
},
"400": {
"$ref": "#/responses/error"
diff --git a/tools/tests/descriptions.openapi3.json b/tools/tests/descriptions.openapi3.json
index a633a119..3b1672e7 100644
--- a/tools/tests/descriptions.openapi3.json
+++ b/tools/tests/descriptions.openapi3.json
@@ -261,8 +261,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/descriptions.entity"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -612,8 +619,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/descriptions.subEntity"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1025,8 +1039,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/descriptions.entity"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1376,8 +1397,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/descriptions.subEntity"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1634,8 +1662,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/descriptions.entity"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -1922,8 +1957,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/descriptions.subEntity"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2167,8 +2209,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/descriptions.entity"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
@@ -2455,8 +2504,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/descriptions.subEntity"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
diff --git a/tools/tests/descriptions.swagger.json b/tools/tests/descriptions.swagger.json
index f9254b65..436f0c1a 100644
--- a/tools/tests/descriptions.swagger.json
+++ b/tools/tests/descriptions.swagger.json
@@ -232,8 +232,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/descriptions.entity"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -535,8 +538,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/descriptions.subEntity"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -889,8 +895,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/descriptions.entity"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1192,8 +1201,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/descriptions.subEntity"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1415,8 +1427,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/descriptions.entity"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1673,8 +1688,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/descriptions.subEntity"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -1887,8 +1905,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/descriptions.entity"
+ }
},
"400": {
"$ref": "#/responses/error"
@@ -2145,8 +2166,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/descriptions.subEntity"
+ }
},
"400": {
"$ref": "#/responses/error"
diff --git a/tools/tests/keys-v4.01.openapi3.json b/tools/tests/keys-v4.01.openapi3.json
index 20bb9691..dff6f1a6 100644
--- a/tools/tests/keys-v4.01.openapi3.json
+++ b/tools/tests/keys-v4.01.openapi3.json
@@ -250,8 +250,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/KeyTypes.MultiPartKey"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
diff --git a/tools/tests/keys-v4.01.swagger.json b/tools/tests/keys-v4.01.swagger.json
index e6b26e4e..73b2f91e 100644
--- a/tools/tests/keys-v4.01.swagger.json
+++ b/tools/tests/keys-v4.01.swagger.json
@@ -219,8 +219,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/KeyTypes.MultiPartKey"
+ }
},
"400": {
"$ref": "#/responses/error"
diff --git a/tools/tests/keys-v4.openapi3.json b/tools/tests/keys-v4.openapi3.json
index 49219ec7..bb1ab31b 100644
--- a/tools/tests/keys-v4.openapi3.json
+++ b/tools/tests/keys-v4.openapi3.json
@@ -250,8 +250,15 @@
}
},
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/KeyTypes.MultiPartKey"
+ }
+ }
+ }
},
"4XX": {
"$ref": "#/components/responses/error"
diff --git a/tools/tests/keys-v4.swagger.json b/tools/tests/keys-v4.swagger.json
index 52f16910..ccb25193 100644
--- a/tools/tests/keys-v4.swagger.json
+++ b/tools/tests/keys-v4.swagger.json
@@ -219,8 +219,11 @@
}
],
"responses": {
- "204": {
- "description": "Success"
+ "200": {
+ "description": "Updated entity",
+ "schema": {
+ "$ref": "#/definitions/KeyTypes.MultiPartKey"
+ }
},
"400": {
"$ref": "#/responses/error"