swaggerconformance.client module

A client for accessing a remote swagger-defined API.

class swaggerconformance.client.SwaggerClient(schema_path)[source]

Bases: object

Client to use to access the Swagger application according to its schema.

Parameters:schema_path (str) – The URL of or file path to the API definition.
app

The App representing the API of the server.

Return type:pyswagger.core.App
request(operation, parameters)[source]

Make a request against a certain operation on the API.

Parameters:
Return type:

pyswagger.io.Response