Package com.shaft.capture.generate.api
package com.shaft.capture.generate.api
-
ClassDescriptionOptions for generating a
SHAFT.APItest class from a recorded session.Artifacts and report produced byApiCaptureGenerator.Generates, optionally compiles, and optionally replays aSHAFT.APITestNG class from a recorded session's API transactions.One transaction's classified response leaves, for a "pin this path" picker UI.How recorded transactions are grouped into generated test methods.Renders a compilingSHAFT.APITestNG class from recorded, classified, and correlated API transactions.One recorded API transaction with resolved (not just referenced) request/response body text, ready for classification, correlation, and rendering.How thoroughly generated code validates each response.One transaction's response leaves afterTransactionCorrelatorhas run, with anyVOLATILEleaf found reused by a later request upgraded toLeafClassification.CORRELATED.One place a correlated (previously VOLATILE) response value was found reused by a later transaction's outbound request.Where a correlated value was found reused in a later request.Infers a standard (draft-04-compatible) JSON Schema document from one recorded sample response body, for use withSHAFT.API'sassertThatResponse().matchesSchema(path), which is backed by REST-Assured'sio.restassured.module.jsv.JsonSchemaValidator.Classification of one scalar JSON leaf discovered in a recorded API response body.Result of rendering one API test class.One classified scalar leaf discovered while walking a recorded JSON response body.Classifies each scalar leaf of a recorded JSON response body asLeafClassification.STABLE,LeafClassification.VOLATILE, orLeafClassification.SENSITIVE, reusing the exact same key/value volatility and sensitivity detectionHttpContractRecorderuses for HTTP contract normalization, so API codegen and contract capture agree on what counts as noise vs. a stable, assertable value.FindsVOLATILEresponse leaves that a later transaction's request reuses (the common create -> read/update case: a generated ID from a POST response reappears in a later GET's URL, or a later PATCH's request body), and upgrades them toLeafClassification.CORRELATEDso codegen chains them through a variable (e.g.