MCPcopy Create free account
hub / github.com/goadesign/goa / initAttributeValidations

Function initAttributeValidations

http/codegen/openapi/v2/builder.go:430–436  ·  view source on GitHub ↗
(at *expr.AttributeExpr, def any)

Source from the content-addressed store, hash-verified

428}
429
430func initAttributeValidations(at *expr.AttributeExpr, def any) {
431 resolved := resolvedAliasAttribute(at)
432 if resolved != at {
433 initValidations(resolved, def)
434 }
435 initValidations(at, def)
436}
437
438func buildPathFromFileServer(s *V2, root *expr.RootExpr, fs *expr.HTTPFileServerExpr) {
439 for _, path := range fs.RequestPaths {

Callers 3

paramForFunction · 0.85
itemsFromExprFunction · 0.85
headersFromExprFunction · 0.85

Calls 2

resolvedAliasAttributeFunction · 0.85
initValidationsFunction · 0.85

Tested by

no test coverage detected