MCPcopy Create free account
hub / github.com/github/gh-aw / appendKnownFieldDocsURL

Function appendKnownFieldDocsURL

pkg/parser/schema_errors.go:439–444  ·  view source on GitHub ↗
(result, docsURL string)

Source from the content-addressed store, hash-verified

437}
438
439func appendKnownFieldDocsURL(result, docsURL string) string {
440 if docsURL == "" {
441 return result
442 }
443 return fmt.Sprintf("%s See: %s", result, docsURL)
444}
445
446// rewriteAdditionalPropertiesError rewrites "additional properties not allowed" errors to be more user-friendly
447func rewriteAdditionalPropertiesError(message string) string {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected