Skip to content

v0.4.0

Compare
Choose a tag to compare
@callebjorkell callebjorkell released this 29 Jan 13:21
· 11 commits to main since this release

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