Skip to content

Commit

Permalink
set Optional to true
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Harvey <tombuildsstuff@users.noreply.github.com>
  • Loading branch information
stephybun and tombuildsstuff committed Feb 8, 2023
1 parent 38b39bf commit f7cd50e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func (workaroundBatch21291) Process(apiDefinition models.AzureApiDefinition) (*m
if !ok {
return nil, fmt.Errorf("couldn't find the field StorageAccountId within model AutoStorageProperties")
}
field.Optional = true
field.Required = false

model.Fields["StorageAccountId"] = field
Expand Down

0 comments on commit f7cd50e

Please sign in to comment.