{"modulePath":"github.com/docker/docs/hack/api-docs","version":"v0.0.0-20261127170613-f6ab951fc90f","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\napi-docs prepares a source-preserving reference model for Docker API documentation.\n\n## Types\n\n```go\ntype Diagnostic struct {\n\tRule     string `json:\"rule\"`\n\tPointer  string `json:\"pointer\"`\n\tMessage  string `json:\"message\"`\n\tSeverity string `json:\"severity\"`\n}\n```\n\n```go\ntype Document struct {\n\tRoot         Object\n\tURI          string\n\tRegistry     *Registry\n\tDiagnostics  []Diagnostic\n\tSchemas      map[string]any\n\tLocations    map[string]int\n\tCompiler     *js.Compiler\n\tCompiled     map[string]*js.Schema\n\tDigest       string\n\tSource       Source\n\tSchemaCount  int\n\tExampleCount int\n}\n```\n\n```go\ntype Object = map[string]any\n```\n\n```go\ntype Registry struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (r *Registry) Load(uri string) (any, error)\n```\n\n```go\ntype Source struct {\n\tExperimental     bool     `json:\"experimental,omitempty\"`\n\tAuthoredOverview bool     `json:\"authoredOverview,omitempty\"`\n\tURL              string   `json:\"url,omitempty\"`\n\tSourceURL        string   `json:\"sourceURL,omitempty\"`\n\tID               string   `json:\"id\"`\n\tProduct          string   `json:\"product\"`\n\tTitle            string   `json:\"title\"`\n\tSource           string   `json:\"source\"`\n\tOwner            string   `json:\"owner\"`\n\tManual           string   `json:\"manual\"`\n\tConnection       string   `json:\"connection\"`\n\tGuides           []string `json:\"guides\"`\n}\n```\n\n","path":"github.com/docker/docs/hack/api-docs","name":"main","synopsis":"api-docs prepares a source-preserving reference model for Docker API documentation.","isRedistributable":true}
