Skip to content

Commit

Permalink
Add missing (undocumented) id field to Transaction (#30)
Browse files Browse the repository at this point in the history
Fixes 'undefined' test description in dredd report
  • Loading branch information
IngmarStein authored and ddelnano committed Jun 14, 2017
1 parent 6b21283 commit f0b023e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion transaction/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ package transaction
import "encoding/json"

// Transaction represents a Dredd transaction object.
// http://dredd.readthedocs.org/en/latest/hooks/#transaction-object-structure
// http://dredd.readthedocs.io/en/latest/data-structures/#transaction
type Transaction struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Host string `json:"host,omitempty"`
Port string `json:"port,omitempty"`
Expand Down

0 comments on commit f0b023e

Please sign in to comment.