options
Defines a stub for an HTTP OPTIONS request with the specified request type and configuration block.
Return
A BuildingStep for further customization of the stub.
Parameters
Optional name for the stub.
The class of the request payload.
Lambda to configure the request specification.
Defines a stub for an HTTP OPTIONS request with the specified configuration and request type.
Return
A BuildingStep for further stub setup or response definition.
Parameters
Stub configuration settings for this request.
The class representing the expected request body type.
Lambda to configure the request specification.
Defines an HTTP OPTIONS request stub with a string request body using the provided configuration block.
Return
A BuildingStep for further customization of the stub.
Parameters
Lambda to configure the request specification builder for the OPTIONS request.