openclarity / apiclarity

An API security tool to capture and analyze API traffic, test API endpoints, reconstruct Open API specification, and identify API security risks. 
https://apiclarity.io
Apache License 2.0
504 stars 64 forks source link

fix gob encode for json.RawMessage #230

Closed akpsgit closed 2 years ago

akpsgit commented 2 years ago

speculator fix for

ERROR[2022-08-02T15:28:15+03:00]/Users/alexeik/go/src/github.com/openclarity/apiclarity/backend/pkg/backend/backend.go:414 github.com/openclarity/apiclarity/backend/pkg/backend.(*Backend).startStateBackup.func1() Failed to encode state: failed to encode state: gob: type not registered for interface: json.RawMessage