Skip to content

Commit 50c356b

Browse files
committed
Drop Operation suffix
1 parent eb115a0 commit 50c356b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/Path.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static function generate(string $path, string $namespace, string $baseNam
3232
$class = $factory->class($className)->makeFinal();
3333

3434
foreach ($pathItem->getOperations() as $method => $operation) {
35-
$operationClassName = str_replace('/', '\\', '\\' . $baseNamespace . 'Operation/' . (new Convert($operation->operationId))->fromTrain()->toPascal()) . 'Operation';
35+
$operationClassName = str_replace('/', '\\', '\\' . $baseNamespace . 'Operation/' . (new Convert($operation->operationId))->fromTrain()->toPascal());
3636
$method =
3737
$factory->
3838
method($method)->

0 commit comments

Comments
 (0)