{"modulePath":"github.com/devfile/api/generator","version":"v0.0.0-20261120161048-79dde530bbb6","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package validate\n\n## Types\n\n```go\ntype Generator struct{}\n```\nGenerator validates the consistency of the API GO code.\n\nValidity checks are related to unions, patchStrategy, and optional fields.\n\n```go\nfunc (Generator) CheckFilter() loader.NodeFilter\n```\n\n```go\nfunc (g Generator) Generate(ctx *genall.GenerationContext) error\n```\nGenerate validates the source code\n\n```go\nfunc (Generator) Help() *markers.DefinitionHelp\n```\n\n```go\nfunc (Generator) RegisterMarkers(into *markers.Registry) error\n```\nRegisterMarkers registers the markers of the Generator\n\n","path":"github.com/devfile/api/generator/validate","name":"validate","synopsis":"","isRedistributable":true}
