Do not use open api version from api-platform

This commit is contained in:
Guilhem Niot 2022-01-10 16:49:16 +01:00
parent 43212d9b7e
commit 411cb4c27d

View File

@ -30,6 +30,9 @@ final class ApiPlatformDescriber extends ExternalDocDescriber
[DocumentationNormalizer::SPEC_VERSION => 3]
);
// TODO: remove this
// Temporary fix: zircote/swagger-php does no longer support 3.0.x with x > 0
unset($documentation['openapi']);
unset($documentation['basePath']);
return $documentation;