ipfs / pinning-services-api-spec

Standalone, vendor-agnostic Pinning Service API for IPFS ecosystem
https://ipfs.github.io/pinning-services-api-spec/
Creative Commons Zero v1.0 Universal
100 stars 27 forks source link

style: rename object returned with error #65

Closed lidel closed 3 years ago

lidel commented 3 years ago

This PR renames Error response object to Failure

The idea is to avoid ambiguous ErrorError in generated client code. This does not change the JSON format sent between client and server.

cc @aschmahmann @andrew

jacobheun commented 3 years ago

Linting is failing due to the Error schema no longer existing where previously referenced.

lidel commented 3 years ago

@jacobheun fixed – ok to merge and tag it as v0.1.1 so @andrew and @aschmahmann can re-generate clients with updated object names?