diff --git a/tools/importer-rest-api-specs/components/parser/dataworkarounds/workaround_batch_21291.go b/tools/importer-rest-api-specs/components/parser/dataworkarounds/workaround_batch_21291.go index e0f15d5513f..7938b983d71 100644 --- a/tools/importer-rest-api-specs/components/parser/dataworkarounds/workaround_batch_21291.go +++ b/tools/importer-rest-api-specs/components/parser/dataworkarounds/workaround_batch_21291.go @@ -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