mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Comment on origin and JSON schema
This commit is contained in:
parent
46d5438c14
commit
b47e839e4e
@ -44,6 +44,9 @@ type Error struct {
|
|||||||
// - A structured format using "format=<dash-style-identifier>" for validation errors related to specific formats
|
// - A structured format using "format=<dash-style-identifier>" for validation errors related to specific formats
|
||||||
// (e.g., "format=dns-label", "format=qualified-name")
|
// (e.g., "format=dns-label", "format=qualified-name")
|
||||||
//
|
//
|
||||||
|
// If the Origin corresponds to an existing declarative validation tag or JSON Schema keyword,
|
||||||
|
// use that same name for consistency.
|
||||||
|
//
|
||||||
// Origin should be set in the most deeply nested validation function that
|
// Origin should be set in the most deeply nested validation function that
|
||||||
// can still identify the unique source of the error.
|
// can still identify the unique source of the error.
|
||||||
Origin string
|
Origin string
|
||||||
|
Loading…
Reference in New Issue
Block a user