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.

모두 보기 포매터 및 코드