Skip to content

Releases: callebjorkell/copper

v0.9.0

25 Nov 15:25
f0048ae
Compare
Choose a tag to compare

Port copper to libopenapi

OpenAPI 3.1 support seems to have been abandoned by kin-openapi, so porting copper to libopenapi instead. This is a breaking change, in that some of the options have been changed, but changes needed for the code using copper should be fairly minor.

Full Changelog: v0.8.1...v0.9.0

v0.8.1

03 Oct 08:25
Compare
Choose a tag to compare

Update kin-openapi to 0.127.0

v0.8.0

11 Sep 09:06
Compare
Choose a tag to compare

Add WithIgnoredUnsupportedBodyFormats option.

Full Changelog: v0.7.0...v0.8.0

v0.7.0

19 Feb 13:43
Compare
Choose a tag to compare

Add option for disabling full coverage verification

Full Changelog: v0.6.0...v0.7.0

v0.6.0

01 Feb 10:26
Compare
Choose a tag to compare

Adds request/response logging.

Full Changelog: v0.5.0...v0.6.0

v0.5.0

31 Jan 12:20
Compare
Choose a tag to compare

Disable request validation.

Breaking change: The WithRequestBodyValidation option has disappeared, and the WithRequestValidation has taken its place. The option has been extended to include all request validation instead of just the body.

Full Changelog: v0.4.0...v0.5.0

v0.4.0

29 Jan 13:21
Compare
Choose a tag to compare

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

v0.3.0

26 Jan 13:40
Compare
Choose a tag to compare

Custom errors and ignoring of 500 errors

Full Changelog: v0.2.0...v0.3.0

v0.2.0

24 Jan 09:48
23683f2
Compare
Choose a tag to compare

Parameter verification and tests

Full Changelog: v0.1.0...v0.2.0

v0.1.0

11 Jan 12:41
Compare
Choose a tag to compare

Initial release of Copper