|
33 | 33 | use ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface; |
34 | 34 | use ApiPlatform\Metadata\Resource\ResourceMetadataCollection; |
35 | 35 | use ApiPlatform\OpenApi\Attributes\Webhook; |
36 | | -use ApiPlatform\OpenApi\Model; |
37 | 36 | use ApiPlatform\OpenApi\Model\Components; |
38 | 37 | use ApiPlatform\OpenApi\Model\Contact; |
39 | 38 | use ApiPlatform\OpenApi\Model\ExternalDocumentation; |
@@ -512,11 +511,11 @@ private function buildOpenApiResponse(array $existingResponses, int|string $stat |
512 | 511 | } |
513 | 512 |
|
514 | 513 | /** |
515 | | - * @return \ArrayObject<Model\MediaType> |
| 514 | + * @return \ArrayObject<MediaType> |
516 | 515 | */ |
517 | 516 | private function buildContent(array $responseMimeTypes, array $operationSchemas): \ArrayObject |
518 | 517 | { |
519 | | - /** @var \ArrayObject<Model\MediaType> $content */ |
| 518 | + /** @var \ArrayObject<MediaType> $content */ |
520 | 519 | $content = new \ArrayObject(); |
521 | 520 |
|
522 | 521 | foreach ($responseMimeTypes as $mimeType => $format) { |
@@ -603,11 +602,11 @@ private function getPathDescription(string $resourceShortName, string $method, b |
603 | 602 | /** |
604 | 603 | * @see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#linkObject. |
605 | 604 | * |
606 | | - * @return \ArrayObject<Model\Link> |
| 605 | + * @return \ArrayObject<Link> |
607 | 606 | */ |
608 | 607 | private function getLinks(ResourceMetadataCollection $resourceMetadataCollection, HttpOperation $currentOperation): \ArrayObject |
609 | 608 | { |
610 | | - /** @var \ArrayObject<Model\Link> $links */ |
| 609 | + /** @var \ArrayObject<Link> $links */ |
611 | 610 | $links = new \ArrayObject(); |
612 | 611 |
|
613 | 612 | // Only compute get links for now |
|
0 commit comments