added return structure
This commit is contained in:
@ -256,6 +256,8 @@ backend.add(1, 2).then((response) => {
|
||||
});
|
||||
```
|
||||
|
||||
If a method return type is a PHP class with public properties, JSON help now also includes `return_structure`, and the generated TypeScript client maps that class to an object shape based on those public properties.
|
||||
|
||||
These outputs can also be generated in command line:
|
||||
|
||||
* HTML: `$> php APIcalculator.php --html`
|
||||
|
||||
Reference in New Issue
Block a user