Skip to content

Commit 36d9b8b

Browse files
committed
Remove union
1 parent 2838cfc commit 36d9b8b

File tree

2 files changed

+54
-189
lines changed

2 files changed

+54
-189
lines changed

apispec/api.gen.go

Lines changed: 52 additions & 186 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apispec/api.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -612,9 +612,8 @@ components:
612612
- allow
613613
- deny
614614
description: Policy for the rule.
615-
oneOf:
616-
- required: [cidr, policy]
617-
- required: [domain, policy]
615+
required:
616+
- policy
618617
description: List of network policy rules.
619618
required:
620619
- cidr_mode

0 commit comments

Comments
 (0)