Skip to content

Commit

Permalink
fix: remove useless deprecation (#6481)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikophil authored Jul 19, 2024
1 parent f8cfa81 commit 6776231
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Documentation/Action/DocumentationAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ class: OpenApi::class,
if ('html' === $format) {
$operation = $operation->withProcessor('api_platform.swagger_ui.processor')->withWrite(true);
}
if ('json' === $format) {
trigger_deprecation('api-platform/core', '3.2', 'The "json" format is too broad, use "jsonopenapi" instead.');
}

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

0 comments on commit 6776231

Please sign in to comment.