Contract Testing: Publish Provider Contract
contract-testing_publish_provider_contractPublishes a provider's OpenAPI contract and self-verification results to PactFlow for bi-directional contract testing.
Instructions
Publish a provider OpenAPI contract and self-verification results to PactFlow (Bi-Directional Contract Testing).
Toolset: Contracts
Parameters:
providerName (string) required: Name of the provider application
pacticipantVersionNumber (string) required: Version number of the provider
contract (object) required: Provider contract (OpenAPI spec) and verification details
tags (array): Version tags
branch (string): Branch name of the provider
buildUrl (string): URL of the CI build
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Version tags | |
| branch | No | Branch name of the provider | |
| buildUrl | No | URL of the CI build | |
| contract | Yes | Provider contract (OpenAPI spec) and verification details | |
| providerName | Yes | Name of the provider application | |
| pacticipantVersionNumber | Yes | Version number of the provider |