From e7610380288d74bf7d8913814a2de0bd05968632 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 24 Sep 2025 17:50:07 +0100 Subject: [PATCH] Add PHP example using generated client code Signed-off-by: Oliver Davies --- openapi/example.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 openapi/example.php diff --git a/openapi/example.php b/openapi/example.php new file mode 100644 index 0000000..e0d7287 --- /dev/null +++ b/openapi/example.php @@ -0,0 +1,18 @@ +setApiKey('api_key', 'YOUR_API_KEY'); + +$api = new PetApi(new Client(), $config); + +$pet = $api->getPetById(56); + +var_dump($pet);