Class OperationGenerationConfig (0.4.0)

OperationGenerationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration to be used to generate an operation in the Open API schema.

Attributes

Name Description
method str
Required. The uri of the tool. This should include query and path parameters if any.
path str
Required. The path of the tool to be appended to the base uri. This should include query and path parameters if any.
request_json str
Required. A sample request to the tool in JSON format. Skip if the tool does not support request body.
response_json str
Required. A sample response from the tool in JSON format.