Skip to content

Commit

Permalink
Merge pull request #57 from 1Password/eddy/recipe-exclude-characters
Browse files Browse the repository at this point in the history
Add support for `excludeCharacters` to field recipe
  • Loading branch information
edif2008 authored May 18, 2022
2 parents 3b43e78 + 3ed0d41 commit c0137b2
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 c0137b2

Please sign in to comment.