MCPcopy Create free account
hub / github.com/docker/docker-language-server / extractDetail

Function extractDetail

internal/compose/completion.go:830–834  ·  view source on GitHub ↗
(schema *jsonschema.Schema)

Source from the content-addressed store, hash-verified

828}
829
830func extractDetail(schema *jsonschema.Schema) *string {
831 schemaTypes := referencedTypes(schema)
832 slices.Sort(schemaTypes)
833 return types.CreateStringPointer(strings.Join(schemaTypes, " or "))
834}
835
836func requiredFieldsText(spacing string, schema *jsonschema.Schema, schemaTypes []string) []string {
837 if len(schemaTypes) == 1 {

Callers 2

createEnumItemsFunction · 0.85
createSchemaItemsFunction · 0.85

Calls 2

CreateStringPointerFunction · 0.92
referencedTypesFunction · 0.85

Tested by

no test coverage detected