From 4216cf63b5aa97d8e7e74f01b830f56edec5768e Mon Sep 17 00:00:00 2001 From: Pete Slater Date: Tue, 30 May 2023 11:26:15 +0100 Subject: [PATCH] API-7065 - Adding secure flag to absoluteURL (#460) --- .../controllers/OpenApiDocumentationController.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/uk/gov/hmrc/apidocumentation/controllers/OpenApiDocumentationController.scala b/app/uk/gov/hmrc/apidocumentation/controllers/OpenApiDocumentationController.scala index 52cdb0e0..0fef2931 100644 --- a/app/uk/gov/hmrc/apidocumentation/controllers/OpenApiDocumentationController.scala +++ b/app/uk/gov/hmrc/apidocumentation/controllers/OpenApiDocumentationController.scala @@ -140,7 +140,7 @@ class OpenApiDocumentationController @Inject() ( val emptyAuthList = java.util.Collections.emptyList[io.swagger.v3.parser.core.models.AuthorizationValue]() - val oasFileLocation = routes.OpenApiDocumentationController.fetchOas(service, version).absoluteURL() + val oasFileLocation = routes.OpenApiDocumentationController.fetchOas(service, version).absoluteURL(true) logger.info(s"OAS File Location: $oasFileLocation")