Package com.arc_e_tect.gradle.doppelganger.detect
package com.arc_e_tect.gradle.doppelganger.detect
-
ClassDescriptionA pluggable source of "this endpoint's contract is verified" evidence.Determines which endpoints are both declared in the OpenAPI documentation and implemented by a
@RestControllermethod, but have no matching verification evidence from any configuredContractVerificationSource- i.e.ThescanContractsresult for a single endpoint: how many response codes its OpenAPI operation declares, how many contract tests exist for it in total, and - only whenincludeResponseCoverageis enabled - how many of those tests cover each declared response code.Computes, for every endpoint both declared in the OpenAPI documentation and implemented by a@RestControllermethod, how many contract tests exist for it and - only when requested - how many of those tests cover each of its declared response codes.A single piece of contract verification evidence, together with the HTTP status code it was detected to assert - the richer counterpart of a plainEndpointproduced byContractVerificationSource.scanWithStatusCodes(java.io.File).