DoculaDevelopersDezvoltatori
API 0.8.0 · BuildVersiune produs 0.33.0
Documentation navigationNavigare documentație

LESSON 8 OF 14LECȚIA 8 DIN 14

Verify transformed evidenceVerifică dovada transformată

Finish Story 5.3 with schema-valid transformed JSON and immutable readback.Încheie Story 5.3 cu JSON transformat valid față de schemă și citire imuabilă.

ContextContext
isolated-loopback-course
Required roleRol necesar
engineer
HeadersHeadere
Content-Type · Origin · X-CSRF-Token · Idempotency-Key
FixturesFixture-uri
person-valid · person-transformer-complete · expected-transformed-output

01 · RUN LOCALLYRULEAZĂ LOCAL

Copy the chapter commandCopiază comanda capitolului

Reconcile identities, hashes, trace, and exact output.Reconciliază identități, hashuri, trasare și output exact.

Repository CLI · copy onlyCLI repository · doar pentru copiere
./scripts/docula-course chapter verify-transformed-evidence --workspace "$DOCULA_COURSE_WORKSPACE"

02 · CHECK THE CONTRACTVERIFICĂ CONTRACTUL

Expected released responseRăspuns publicat așteptat

{
  "operation_id": "testCanonicalTransformer",
  "kind": "response",
  "status": 200,
  "media_type": "application/json"
}

03 · CHECKPOINT

Required assertionAserțiune obligatorie

{
  "assertion": "actual.output == expected.output",
  "protocol_sha256": "89e64f6c640f56dc944bfceebfd858033e3d1dfc6d992b7c9f3c7810b9bc57ea"
}