Skip to content

Commit 94e8b4e

Browse files
committed
fix(symfony): remove deprecation about jsonopenapi
1 parent 43eaf6d commit 94e8b4e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Symfony/Action/DocumentationAction.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ class: OpenApi::class,
9696
if ('html' === $format) {
9797
$operation = $operation->withProcessor('api_platform.swagger_ui.processor')->withWrite(true);
9898
}
99-
if ('json' === $format) {
100-
trigger_deprecation('api-platform/core', '3.2', 'The "json" format is too broad, use "jsonopenapi" instead.');
101-
}
10299

103100
return $this->processor->process($this->provider->provide($operation, [], $context), $operation, [], $context);
104101
}

0 commit comments

Comments
 (0)