Skip to content

Commit db26c0a

Browse files
author
jessevz
committed
Fixed a reference error by incorrect capitalisation
1 parent 4be8ffe commit db26c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inc/apiv2/common/openAPISchema.routes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ function makeDescription($isRelation, $method, $singleObject): string {
495495
$ref = null;
496496
if (is_array($request_response)) {
497497
$responseProperties = mapToProperties($request_response);
498-
$components[$name . "response"] = $responseProperties;
498+
$components[$name . "Response"] = $responseProperties;
499499
$ref = "#/components/schemas/" . $name . "Response";
500500
}
501501
else if (is_string($request_response)) {

0 commit comments

Comments
 (0)