Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.75 KB

File metadata and controls

64 lines (42 loc) · 1.75 KB

OpenAPI\Client\AnotherFakeApi

All URIs are relative to http://petstore.swagger.io:80/v2, except if the operation defines another base path.

Method HTTP request Description
call123TestSpecialTags() PATCH /another-fake/dummy To test special tags

call123TestSpecialTags()

call123TestSpecialTags($client): \OpenAPI\Client\Model\Client

To test special tags

To test special tags and operation ID starting with number

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\AnotherFakeApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$client = new \OpenAPI\Client\Model\Client(); // \OpenAPI\Client\Model\Client | client model

try {
    $result = $apiInstance->call123TestSpecialTags($client);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AnotherFakeApi->call123TestSpecialTags: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
client \OpenAPI\Client\Model\Client client model

Return type

\OpenAPI\Client\Model\Client

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]