@@ 67-69 (lines=3) @@ | ||
64 | $resourceHydraDoc = $this->getResourceHydraDoc($hydraDoc, $prefixedShortName); |
|
65 | ||
66 | if ($hydraDoc) { |
|
67 | foreach ($resourceMetadata->getCollectionOperations() as $operationName => $operation) { |
|
68 | $annotations[] = $this->getApiDoc(true, $resourceClass, $resourceMetadata, $operationName, $operation, $resourceHydraDoc, $entrypointHydraDoc); |
|
69 | } |
|
70 | ||
71 | foreach ($resourceMetadata->getItemOperations() as $operationName => $operation) { |
|
72 | $annotations[] = $this->getApiDoc(false, $resourceClass, $resourceMetadata, $operationName, $operation, $resourceHydraDoc); |
|
@@ 71-73 (lines=3) @@ | ||
68 | $annotations[] = $this->getApiDoc(true, $resourceClass, $resourceMetadata, $operationName, $operation, $resourceHydraDoc, $entrypointHydraDoc); |
|
69 | } |
|
70 | ||
71 | foreach ($resourceMetadata->getItemOperations() as $operationName => $operation) { |
|
72 | $annotations[] = $this->getApiDoc(false, $resourceClass, $resourceMetadata, $operationName, $operation, $resourceHydraDoc); |
|
73 | } |
|
74 | } |
|
75 | } |
|
76 |