Skip to content

Commit

Permalink
Add support for excluding characters from the generator recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
edif2008 committed May 18, 2022
1 parent 75cb1ce commit 3ed0d41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions onepassword/items.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ type ItemSection struct {

// GeneratorRecipe Representation of a "recipe" used to generate a field
type GeneratorRecipe struct {
Length int `json:"length,omitempty"`
CharacterSets []string `json:"characterSets,omitempty"`
Length int `json:"length,omitempty"`
CharacterSets []string `json:"characterSets,omitempty"`
ExcludeCharacters string `json:"excludeCharacters,omitempty"`
}

// ItemField Representation of a single field on an Item
Expand Down

0 comments on commit 3ed0d41

Please sign in to comment.