An OpenAPI alternative to describe REST APIs for type-safe code generation.
Specification Editor GeneratorTo integrate the generated client SDK you need to add the sdkgen/client package to your project. Then you can simply paste the generated code into the source folder and start using the client for example:
<?php
$credentials = new \Sdkgen\Client\Credentials\Anonymous();
$client = new Client('http://127.0.0.1:1080', $credentials);
$message = $client->test()->getHello();
echo 'Message: ' . $message->getMessage();