Skip to content

Commit

Permalink
[FS-1075] Extend the Swagger documentation for federation error types (
Browse files Browse the repository at this point in the history
…#3045)

* Extend the docs on the federation error type
  • Loading branch information
mdimjasevic authored and supersven committed Feb 10, 2023
1 parent 764cc98 commit 14479e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/4-docs/federation-error-type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Extend the docs on the federation error type
1 change: 1 addition & 0 deletions services/brig/docs/swagger.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ For errors that are more likely to be transient, we suggest clients to retry wha

**Note**: when a failure occurs as a result of making a federated RPC to another backend, the error response contains the following extra fields:

- `type`: "federation" (just the literal string in quotes, which can be used as an error type identifier when parsing errors)
- `domain`: the target backend of the RPC that failed;
- `path`: the path of the RPC that failed.

Expand Down

0 comments on commit 14479e6

Please sign in to comment.