Module proto

Module proto 

Source

Modules§

body
Nested message and enum types in Body.
catalogue_entry
Nested message and enum types in CatalogueEntry.
generate_content_request
Nested message and enum types in GenerateContentRequest.
interaction_response
Nested message and enum types in InteractionResponse.
metadata_value
Nested message and enum types in MetadataValue.
pact_plugin_client
Generated client implementations.
pact_plugin_server
Generated server implementations.
start_mock_server_response
Nested message and enum types in StartMockServerResponse.
verification_preparation_response
Nested message and enum types in VerificationPreparationResponse.
verification_result_item
Nested message and enum types in VerificationResultItem.
verify_interaction_response
Nested message and enum types in VerifyInteractionResponse.

Structs§

Body
Message representing a request, response or message body
Catalogue
Catalogue of Core Pact + Plugin features
CatalogueEntry
Entry to be added to the core catalogue. Each entry describes one of the features the plugin provides. Entries will be stored in the catalogue under the key “plugin/$name/$type/$key”.
CompareContentsRequest
Request to preform a comparison on an actual body given the expected one
CompareContentsResponse
Response to the CompareContentsRequest with the results of the comparison
ConfigureInteractionRequest
Request to configure/setup an interaction so that it can be verified later
ConfigureInteractionResponse
Response to the configure/setup an interaction request
ContentMismatch
A mismatch for an particular item of content
ContentMismatches
List of content mismatches
ContentTypeMismatch
Indicates that there was a mismatch with the content type
GenerateContentRequest
Request to generate the contents using any defined generators
GenerateContentResponse
Generated body/message response
Generator
Example generator
InitPluginRequest
Request to verify the plugin has loaded OK
InitPluginResponse
Response to init plugin, providing the catalogue entries the plugin provides
InteractionData
Interaction request data to be sent or received for verification
InteractionResponse
Response to the configure/setup an interaction request
MatchingRule
Represents a matching rule
MatchingRules
List of matching rules
MetadataValue
Request metadata value. Will either be a JSON-like value, or binary data
MockServerDetails
Details on a running mock server
MockServerRequest
Request for a running mock server by ID
MockServerResult
Result of a request that the mock server received
MockServerResults
Matching results of the mock server.
PluginConfiguration
Plugin configuration added to the pact file by the ConfigureInteraction step
ShutdownMockServerRequest
Request to shut down a running mock server TODO: replace this with MockServerRequest in the next major version
ShutdownMockServerResponse
Response to the shut down mock server request TODO: replace this with MockServerResults in the next major version
StartMockServerRequest
Request to start a mock server
StartMockServerResponse
Response to the start mock server request
VerificationPreparationRequest
Request to prepare an interaction for verification
VerificationPreparationResponse
Response for the prepare an interaction for verification request
VerificationResult
Result of running the verification
VerificationResultItem
VerifyInteractionRequest
Request data to verify an interaction
VerifyInteractionResponse
Result of running the verification