Auto. clients creation
testing/ogcore-api/pipeline/head This commit looks good Details

composer-install 0.6.9
Manuel Aranda Rosales 2024-12-04 18:52:43 +01:00
parent 2b90e2618d
commit 7856741928
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ final class PartitionInput
#[Assert\NotNull()]
#[Groups(['partition:write'])]
#[ApiProperty(description: 'The size of the partition', example: 100)]
public ?int $size = null;
public ?float $size = null;
#[Groups(['partition:write'])]
#[ApiProperty(description: 'The cache content of the partition', example: "cache content")]

View File

@ -42,7 +42,7 @@ final readonly class ClientSubscriber implements EventSubscriberInterface
$clientOutput = $event->getControllerResult();
$method = $event->getRequest()->getMethod();
if (!$clientOutput instanceof ClientOutput || (Request::METHOD_POST !== $method && Request::METHOD_PUT !== $method)) {
if (!$clientOutput instanceof ClientOutput || (Request::METHOD_POST !== $method && Request::METHOD_PUT !== $method && Request::METHOD_PATCH !== $method)) {
return;
}