aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2024-01-05 13:57:22 +0100
committerAndreas Gohr <andi@splitbrain.org>2024-01-07 13:41:19 +0100
commitf1cc602f77a750844e46cc940adbfc34d177eb94 (patch)
tree72fad229a1116004367e92fffc0017bbc2a7baa2
parent6cce3332fbc12c1e250ec7e6adbad6d4dc2c74e8 (diff)
downloaddokuwiki-f1cc602f77a750844e46cc940adbfc34d177eb94.tar.gz
dokuwiki-f1cc602f77a750844e46cc940adbfc34d177eb94.zip
OpenAPI Gen: fix requirement handling
-rw-r--r--inc/Remote/OpenAPIGenerator.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/inc/Remote/OpenAPIGenerator.php b/inc/Remote/OpenAPIGenerator.php
index 499954fd0..54d81e659 100644
--- a/inc/Remote/OpenAPIGenerator.php
+++ b/inc/Remote/OpenAPIGenerator.php
@@ -191,7 +191,6 @@ class OpenAPIGenerator
[
'description' => $description,
'examples' => [$example],
- 'required' => !$info['optional'],
],
$this->typeToSchema($info['type'])
);