From 411cb4c27d2ee96af778495ec6c0c44fe4505a55 Mon Sep 17 00:00:00 2001 From: Guilhem Niot Date: Mon, 10 Jan 2022 16:49:16 +0100 Subject: [PATCH] Do not use open api version from api-platform --- Describer/ApiPlatformDescriber.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Describer/ApiPlatformDescriber.php b/Describer/ApiPlatformDescriber.php index 2b837ad..88f092d 100644 --- a/Describer/ApiPlatformDescriber.php +++ b/Describer/ApiPlatformDescriber.php @@ -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;