v0.4.0
Optional request body validation
Breaking change: If using the NewVerifier separately, the constructor has now been changed to take the same functional arguments as the
client instead of passing base path directly. This means that any usage of basePath
must be updated to use the Option WithBasePath
instead.
Before:
v, err := copper.NewVerifier(specBytes, "api/v1")
Now:
v, err := copper.NewVerifier(specBytes, copper.WithBasePath("api/v1"))
Full Changelog: v0.3.0...v0.4.0