pactflow / swagger-mock-validator

Other
14 stars 4 forks source link

fix: Convert pact spec 3 headers to v1 format #4

Closed Inksprout closed 2 years ago

Inksprout commented 2 years ago

To make this tool compatible with version 3 of the pact specification (and upwards) I have included code to convert an array of header values into the expected comma separated string of values. This operation takes place prior to the rest of the logic so that no deeper changes to the logic are required.