Package io.quarkiverse.mailpit.test.rest
Class TestingApi
java.lang.Object
io.quarkiverse.mailpit.test.rest.TestingApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.5.0")
public class TestingApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response) voidgetMessageHTML(String ID) Render message HTML part Renders just the message's HTML part which can be used for UI integration testing.Render message HTML part Renders just the message's HTML part which can be used for UI integration testing.voidgetMessageText(String ID) Render message text part Renders just the message's text part which can be used for UI integration testing.Render message text part Renders just the message's text part which can be used for UI integration testing.
-
Constructor Details
-
TestingApi
public TestingApi() -
TestingApi
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException - Throws:
IOException
-
getMessageHTML
Render message HTML part Renders just the message's HTML part which can be used for UI integration testing. Attached inline images are modified to link to the API provided they exist. Note that is the message does not contain a HTML part then an 404 error is returned. The ID can be set to `latest` to return the latest message.- Parameters:
ID- Database ID or latest (required)- Throws:
ApiException- if fails to make API call
-
getMessageHTMLWithHttpInfo
Render message HTML part Renders just the message's HTML part which can be used for UI integration testing. Attached inline images are modified to link to the API provided they exist. Note that is the message does not contain a HTML part then an 404 error is returned. The ID can be set to `latest` to return the latest message.- Parameters:
ID- Database ID or latest (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call
-
getMessageText
Render message text part Renders just the message's text part which can be used for UI integration testing. The ID can be set to `latest` to return the latest message.- Parameters:
ID- Database ID or latest (required)- Throws:
ApiException- if fails to make API call
-
getMessageTextWithHttpInfo
Render message text part Renders just the message's text part which can be used for UI integration testing. The ID can be set to `latest` to return the latest message.- Parameters:
ID- Database ID or latest (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call
-