All Classes and Interfaces
Class
Description
A pluggable source of "this endpoint's contract is verified" evidence.
Gradle task that compares endpoints both declared in the configured OpenAPI documentation and
implemented by scanned
@RestController classes against verification evidence collected
from the enabled ContractVerificationSources, and writes an AsciiDoc report of every
endpoint with no such evidence - the "doppelganger APIs".DSL extension for the Doppelganger API Detector Gradle plugin.
Gradle plugin that registers the
detectDoppelgangerApis task and wires the
doppelgangerApiDetector DSL extension into the project.Determines which endpoints are both declared in the OpenAPI documentation and implemented by a
@RestController method, but have no matching verification evidence from any configured
ContractVerificationSource - i.e.Writes the AsciiDoc doppelganger API report: every endpoint that is declared in the OpenAPI
documentation and implemented by a
@RestController method, but has no verification
evidence from any enabled ContractVerificationSource.ContractVerificationSource for the Atlassian OpenAPI request validator: a test method
whose call chain contains either .filter(new OpenApiValidationFilter(...)) (REST
Assured style) or a direct .validateRequest(...) / .validateResponse(...) call,
paired with a REST-Assured-style request built via given()...when()...get(...) calls in
the same method.ContractVerificationSource for Spring RestDocs: a test method whose call chain contains
a mockMvc.perform(get(...)/post(...)/put(...)/delete(...)/patch(...)) call and also
includes .andDo(document(...)) somewhere in the same method body.ContractVerificationSource for Spring Cloud Contract: declarative contract DSL files
under src/testContract/resources/contracts/**/*.groovy (and .yml), read
structurally for method '...' and url '...' / urlPath '...' entries.