MCPcopy Create free account
hub / github.com/amp-labs/connectors / createUnprocessableObjectError

Function createUnprocessableObjectError

tools/fileconv/api3/models.go:506–508  ·  view source on GitHub ↗
(objectName string)

Source from the content-addressed store, hash-verified

504
505 if propertySchema.Value != nil && propertySchema.Value.Enum != nil {
506 for _, value := range propertySchema.Value.Enum {
507 if option, ok := mapEnumToString(objectName, value); ok {
508 enumOptions = append(enumOptions, option)
509 }
510 }
511 }

Callers 3

extractObjectFieldsFunction · 0.85
extractFieldsFromArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected