Skip to content

Commit 5346724

Browse files
tischsoicbarw4
authored andcommitted
Move schemas to common folder to separate them from examples
1 parent 0c92b46 commit 5346724

35 files changed

+54
-38
lines changed

src/bundle/ApiPlatform/Head.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public function __construct(
4141
?array $cacheHeaders = null,
4242
?array $paginationViaCursor = null,
4343
?array $hydraContext = null,
44-
?array $openapiContext = null,
4544
bool|OpenApiOperation|Webhook|null $openapi = null,
4645
?array $exceptionToStatus = null,
4746
?bool $queryParameterValidationEnabled = null,
@@ -118,7 +117,6 @@ public function __construct(
118117
cacheHeaders: $cacheHeaders,
119118
paginationViaCursor: $paginationViaCursor,
120119
hydraContext: $hydraContext,
121-
openapiContext: $openapiContext,
122120
openapi: $openapi,
123121
exceptionToStatus: $exceptionToStatus,
124122
queryParameterValidationEnabled: $queryParameterValidationEnabled,

src/bundle/ApiPlatform/OpenApiFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __invoke(array $context = []): OpenApi
3232
$openApi = ($this->decorated)($context);
3333
$openApi = $this->addSchemas($openApi);
3434

35-
$this->insertExampleFilesContent($openApi);
35+
//$this->insertExampleFilesContent($openApi);
3636

3737
return $openApi;
3838
}

0 commit comments

Comments
 (0)