We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 864243e commit 782f280Copy full SHA for 782f280
1 file changed
app/helpers/Swagger/AnnotationData.php
@@ -111,7 +111,9 @@ private function constructOperationId()
111
{
112
// remove the namespace prefix of the class and make the first letter lowercase
113
$className = lcfirst(Utils::shortenClass($this->className));
114
- return $className . $this->methodName;
+ // make the 'a' in the action prefix uppercase to match the camel-case notation
115
+ $endpoint = ucfirst($this->methodName);
116
+ return $className . $endpoint;
117
}
118
119
/**
0 commit comments