aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2024-01-05 14:26:12 +0100
committerAndreas Gohr <andi@splitbrain.org>2024-01-07 13:41:19 +0100
commit0e8fe8122f3e2b728f43768d6c9c43bf7d7ece2a (patch)
treeed46698c33b9423e83877ccd0f7e17e24a8a77d9
parente4e3d43949dfb6b53840595de532df30a6fdba7b (diff)
downloaddokuwiki-0e8fe8122f3e2b728f43768d6c9c43bf7d7ece2a.tar.gz
dokuwiki-0e8fe8122f3e2b728f43768d6c9c43bf7d7ece2a.zip
ensure api explorer stays english
See https://github.com/Authress-Engineering/openapi-explorer/issues/207
-rw-r--r--inc/Remote/OpenApiDoc/OpenAPIGenerator.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/Remote/OpenApiDoc/OpenAPIGenerator.php b/inc/Remote/OpenApiDoc/OpenAPIGenerator.php
index c61ce0bb8..38283c445 100644
--- a/inc/Remote/OpenApiDoc/OpenAPIGenerator.php
+++ b/inc/Remote/OpenApiDoc/OpenAPIGenerator.php
@@ -42,6 +42,7 @@ class OpenAPIGenerator
'title' => 'DokuWiki API',
'description' => 'The DokuWiki API OpenAPI specification',
'version' => ((string)ApiCore::API_VERSION),
+ 'x-locale' => 'en-US',
];
$this->addServers();