Skip to content

Commit 6776231

Browse files
authored
fix: remove useless deprecation (#6481)
1 parent f8cfa81 commit 6776231

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Documentation/Action/DocumentationAction.php

-3
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@ class: OpenApi::class,
9898
if ('html' === $format) {
9999
$operation = $operation->withProcessor('api_platform.swagger_ui.processor')->withWrite(true);
100100
}
101-
if ('json' === $format) {
102-
trigger_deprecation('api-platform/core', '3.2', 'The "json" format is too broad, use "jsonopenapi" instead.');
103-
}
104101

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

0 commit comments

Comments
 (0)