Skip to content

Commit

Permalink
feat(metadata): hide an hydra endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Dec 13, 2024
1 parent c59e275 commit cca5b4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Metadata/ApiResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@ public function __construct(
protected ?array $denormalizationContext = null,
protected ?bool $collectDenormalizationErrors = null,
protected ?array $hydraContext = null,
/**
* Allows to hide an Operation from the hydra documentation.
*/
protected ?bool $showHydraOperation = null,
protected bool|OpenApiOperation|null $openapi = null,
/**
* The `validationContext` option configures the context of validation for the current ApiResource.
Expand Down

0 comments on commit cca5b4d

Please sign in to comment.