Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions test/validchanges/a.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ spec:
- "Managed"
- "Unmanaged"
default: "Managed"
things:
description: Things is a list of things
items:
properties:
name:
description: name is the name of a thing
type: string
type: object
required:
- size
Expand Down
11 changes: 11 additions & 0 deletions test/validchanges/b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ spec:
- "Managed"
- "Unmanaged"
default: "Managed"
things:
description: Things is a list of things
items:
properties:
name:
description: name is the name of a thing
type: string
# New optional field within a list
version:
description: version is the version of a thing
type: string
# New optional field with no restrictions
animal:
description: animal is the type of animal this instance represents
Expand Down
Loading