Skip to content

Commit c035ba6

Browse files
ENGCOM-5192: Re-enable XML as request and response types within the SwaggerUI #23025
- Merge Pull Request #23025 from sweikenb/magento2:2.3-develop - Merged commits: 1. a50d629 2. 64e32d7 3. b6867e1 4. e9a6475 5. 19ea6d7 6. b0ea952 7. 9c33b68 8. 5997307
2 parents 31d7e8e + 5997307 commit c035ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Webapi/Model/Rest/Swagger/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ private function generateBodySchema($parameterName, $parameterInfo, $description
877877
$bodySchema['type'] = 'object';
878878

879879
/*
880-
* Make shure we have a proper XML wrapper for request parameters for the XML fromat.
880+
* Make sure we have a proper XML wrapper for request parameters for the XML format.
881881
*/
882882
if (!isset($bodySchema['xml']) || !is_array($bodySchema['xml'])) {
883883
$bodySchema['xml'] = [];

0 commit comments

Comments
 (0)