Kevin de Boer
03/06/2024, 12:25 PMMatt (pactflow.io / pact-js / pact-go)
Kevin de Boer
03/06/2024, 12:47 PMrholshausen
03/06/2024, 10:19 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Wouldnt be much less work still, if the pact broker could query the openapi spec directly from the environment?Yes, I can see why you would ask that. Itâs not completely unreasonable, but that itself doesnât guarantee the API implements the spec. Thatâs why we ask for test results (even if we donât check what the results are themselves). It does raise some further workflow issues though - how do we trigger when to see if there is a new version of the spec? What if you deployed a breaking change and only after the OAS was retrieved in the target environment things were broken?
rholshausen
03/06/2024, 11:15 PMMatt (pactflow.io / pact-js / pact-go)