added format and endpoint into constructor,

fixed processing of parameters in methods,
added return for HTML manual,
chaged TypeScript code to class object export as default
This commit is contained in:
2025-06-01 19:19:48 +02:00
parent 2f7f63b620
commit a59044102c
3 changed files with 63 additions and 17 deletions

View File

@ -306,6 +306,16 @@
</div>
</div>
<?php } ?>
<h3 style="margin-bottom: 1rem; color: #2c3e50; display: inline-block;">Return:</h3>
<?php if (is_string($method['return'])) { ?>
<code class="parameter-type"><?php echo $method['return']; ?></code>
<?php } ?>
<?php if (is_array($method['return'])) foreach ($method['return'] as $return) { ?>
<code class="parameter-type"><?php echo $return; ?></code>
<?php } ?>
</div>
<?php } ?>
</section>