Generate the OperationId based on the context of the OpenApi annotation.
- Full name:
\OpenApi\Processors\OperationId
protected $hash
public __construct(bool $hash = true): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$hash |
bool | if true hash generated ids instead of clear text |
public isHash(): bool
public setHash(bool $hash): \OpenApi\Processors\OperationId
Parameters:
Parameter | Type | Description |
---|---|---|
$hash |
bool |
public __invoke(\OpenApi\Analysis $analysis): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$analysis |
\OpenApi\Analysis |