Skip to content

Commit

Permalink
docs: improve documentation of recent envelopes (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
morremeyer authored Aug 3, 2024
1 parent 1205da0 commit e30e114
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 e30e114

Please sign in to comment.