improve docgen wip

This commit is contained in:
2021-12-10 01:10:55 +01:00
parent e266fa0e5d
commit 9004686a13
14 changed files with 123 additions and 77 deletions

View File

@@ -294,8 +294,6 @@ final class DocGeneratorTemplateController extends AbstractController
static function () use ($generatedResource) {
fpassthru($generatedResource);
fclose($generatedResource);
exit();
},
Response::HTTP_OK,
[

View File

@@ -46,7 +46,7 @@ class RelatorioDriver implements DriverInterface
'template' => new DataPart($template, $templateName ?? uniqid('template_'), $resourceType),
];
$form = new FormDataPart($formFields);
dump(json_encode($data));
try {
$response = $this->relatorioClient->request('POST', $this->url, [
'headers' => $form->getPreparedHeaders()->toArray(),