pact-foundation / pact-specification

Describes the pact format and verification specifications
MIT License
295 stars 28 forks source link

Flag to indicate the body has been stored in an encoded form (i.e. base64) #80

Closed uglyog closed 2 years ago

uglyog commented 4 years ago

Currently there is complicated logic to work out the content types of bodies, and if the body is stored in the pact file in an encoded form (i.e. base64).

This proposal is to update the body attributes (and content for messages) to be an object with the following fields: