2018-04-24 16:26:20 +02:00

1.2 KiB

AnotherFakeApi

All URIs are relative to http://petstore.swagger.io:80/v2

Method HTTP request Description
testSpecialTags PATCH /another-fake/dummy To test special tags

testSpecialTags

Client testSpecialTags(client)

To test special tags

To test special tags

Example

// Import classes:
//import org.openapitools.client.ApiClient;
//import io.restassured.builder.RequestSpecBuilder;
//import io.restassured.filter.log.ErrorLoggingFilter;

AnotherFakeApi api = ApiClient.api(ApiClient.Config.apiConfig().withReqSpecSupplier(
                () -> new RequestSpecBuilder()
                        .setBaseUri("http://petstore.swagger.io:80/v2"))).anotherFake();

api.testSpecialTags()
    .body(client).execute(r -> r.prettyPeek());

Parameters

Name Type Description Notes
client Client client model

Return type

Client

Authorization

No authorization required

HTTP request headers

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