diff --git a/compose/automation/records_handler.gen.go b/compose/automation/records_handler.gen.go index 04f9bd7a9..e5a1a165c 100644 --- a/compose/automation/records_handler.gen.go +++ b/compose/automation/records_handler.gen.go @@ -1343,7 +1343,7 @@ func (h recordsHandler) Delete() *atypes.Function { Parameters: []*atypes.Param{ { Name: "module", - Types: []string{"ID", "Handle", "ComposeModule"}, Required: true, + Types: []string{"ID", "Handle", "ComposeModule"}, Meta: &atypes.ParamMeta{ Label: "Module to set record type", Description: "Even with unique record ID across all modules, module needs to be known\nbefore doing any record operations. Mainly because records of different\nmodules can be located in different stores.", @@ -1351,7 +1351,7 @@ func (h recordsHandler) Delete() *atypes.Function { }, { Name: "namespace", - Types: []string{"ID", "Handle", "ComposeNamespace"}, Required: true, + Types: []string{"ID", "Handle", "ComposeNamespace"}, }, { Name: "record", diff --git a/compose/automation/records_handler.yaml b/compose/automation/records_handler.yaml index c9763c391..7bee9ce5a 100644 --- a/compose/automation/records_handler.yaml +++ b/compose/automation/records_handler.yaml @@ -213,9 +213,13 @@ functions: <<: *labels delete: "step" params: - module: *moduleLookup - namespace: *namespaceLookup - record: *recordLookup + module: + <<: *moduleLookup + required: false + namespace: + <<: *namespaceLookup + required: false + record: *recordLookup # undelete: # meta: