Skip to content

Commit 95e752e

Browse files
committed
Add missing yaml tag
1 parent 36d9b8b commit 95e752e

File tree

2 files changed

+108
-64
lines changed

2 files changed

+108
-64
lines changed

apispec/api.gen.go

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

apispec/api.yml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,38 +527,64 @@ components:
527527
- debug
528528
- warn
529529
- error
530+
x-oapi-codegen-extra-tags:
531+
yaml: log-level
530532
stdout:
531533
type: string
534+
x-oapi-codegen-extra-tags:
535+
yaml: stdout
532536
stderr:
533537
type: string
538+
x-oapi-codegen-extra-tags:
539+
yaml: stderr
534540
chop-lines:
535541
type: boolean
542+
x-oapi-codegen-extra-tags:
543+
yaml: chop-lines
536544
no-health:
537545
type: boolean
546+
x-oapi-codegen-extra-tags:
547+
yaml: no-health
538548
profiler:
539549
type: boolean
550+
x-oapi-codegen-extra-tags:
551+
yaml: profiler
540552
cardinal:
541553
type: boolean
554+
x-oapi-codegen-extra-tags:
555+
yaml: cardinal
542556
daemon:
543557
type: boolean
558+
x-oapi-codegen-extra-tags:
559+
yaml: daemon
544560
notify:
545561
type: boolean
562+
x-oapi-codegen-extra-tags:
563+
yaml: notify
546564
extension:
547565
type: array
548566
items:
549567
type: string
568+
x-oapi-codegen-extra-tags:
569+
yaml: extension
550570
plugin:
551571
type: array
552572
items:
553573
type: string
574+
x-oapi-codegen-extra-tags:
575+
yaml: plugin
554576
printer:
555577
type: array
556578
items:
557579
type: string
580+
x-oapi-codegen-extra-tags:
581+
yaml: printer
558582
event:
559583
type: array
560584
items:
561585
type: string
586+
x-oapi-codegen-extra-tags:
587+
yaml: event
562588
NetworkPolicy:
563589
type: object
564590
properties:
@@ -571,13 +597,17 @@ components:
571597
- enforce
572598
- both
573599
description: Mode for handling CIDR traffic.
600+
x-oapi-codegen-extra-tags:
601+
yaml: cidr_mode
574602
cidr_policy:
575603
type: string
576604
enum:
577605
- none
578606
- allow
579607
- deny
580608
description: Default policy for CIDR traffic.
609+
x-oapi-codegen-extra-tags:
610+
yaml: cidr_policy
581611
resolve_mode:
582612
type: string
583613
enum:
@@ -587,13 +617,17 @@ components:
587617
- enforce
588618
- both
589619
description: Mode for handling domain resolution.
620+
x-oapi-codegen-extra-tags:
621+
yaml: resolve_mode
590622
resolve_policy:
591623
type: string
592624
enum:
593625
- none
594626
- allow
595627
- deny
596628
description: Default policy for domain resolution.
629+
x-oapi-codegen-extra-tags:
630+
yaml: resolve_policy
597631
rules:
598632
type: array
599633
items:
@@ -602,21 +636,29 @@ components:
602636
cidr:
603637
type: string
604638
description: CIDR range for the rule (if applicable).
639+
x-oapi-codegen-extra-tags:
640+
yaml: cidr
605641
domain:
606642
type: string
607643
description: Domain for the rule (if applicable).
644+
x-oapi-codegen-extra-tags:
645+
yaml: domain
608646
policy:
609647
type: string
610648
enum:
611649
- none
612650
- allow
613651
- deny
614652
description: Policy for the rule.
653+
x-oapi-codegen-extra-tags:
654+
yaml: policy
615655
required:
616656
- policy
617657
description: List of network policy rules.
658+
x-oapi-codegen-extra-tags:
659+
yaml: rules
618660
required:
619661
- cidr_mode
620662
- cidr_policy
621663
- resolve_mode
622-
- resolve_policy
664+
- resolve_policy

0 commit comments

Comments
 (0)