Skip to content

フォーマッター&コード

Pact コントラクトジェネレーター

Consumer + provider contract specs.

Runs in your browser
WebApp-AuthService.json
lines: 38chars: 702size: 702 B
live

編集者注

Understanding · Consumer-driven contracts — integration testing without both services.

この詳細な解説章は現在、英語版のみで提供されています。上の変換ツールはあなたの言語で動作しますが、長文の解説記事はまだ翻訳されていません。

よくある質問

Quick answers.

What is a Pact contract?

It is a JSON file that defines the agreed-upon interactions between a consumer and a provider. It acts as a set of expectations that both sides must satisfy to ensure compatibility.

Which Pact specification versions are supported?

The generator follows the Pact Specification v2 and v3 standards. These versions cover basic HTTP interactions and more complex matching rules for dynamic data.

Is my API schema shared with any server?

No. The contract generation logic stays within your browser. Your endpoint names, payloads, and header requirements are never transmitted to our infrastructure.

Can I use this for provider verification?

This tool generates the contract file itself. Once downloaded, you must use a Pact CLI tool or library to verify the contract against your provider implementation.

他の人はこちらも検索しています

関連ツール

More in this room.

すべて表示 フォーマッター&コード