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:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user