Skip to content

Commit

Permalink
docs: improve documentation of recent envelopes
Browse files Browse the repository at this point in the history
  • Loading branch information
morremeyer committed Aug 3, 2024
1 parent 36cb311 commit ebdc556
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/controllers/v4/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,11 @@ func GetAccount(c *gin.Context) {
// @Failure 500 {object} RecentEnvelopesResponse
// @Param id path string true "ID formatted as string"
// @Router /v4/accounts/{id}/recent-envelopes [get]
//
// GetAccountRecentEnvelopes returns recent envelopes for an account.
//
// Income is returned as a RecentEnvelope with the nil ID.
// Clients must be able to handle this.
func GetAccountRecentEnvelopes(c *gin.Context) {
id, err := httputil.UUIDFromString(c.Param("id"))
if err != nil {
Expand Down

0 comments on commit ebdc556

Please sign in to comment.