File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 89
89
breadcrumb
90
90
browserhome
91
91
brucebean
92
- bsdextrautils
93
92
bsdtar
94
93
btime
95
94
bugtracker
@@ -377,6 +376,7 @@ INSTALLMESSAGE
377
376
INSTALLPROPERTY
378
377
ioctl
379
378
ipaddr
379
+ IPAM
380
380
iptable
381
381
Isf
382
382
islabel
Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ export class MobyOpenAPISpec extends GlobalDependency(VersionedDependency) {
47
47
if ( _ . get ( contents , 'definitions.Network.properties.Created.x-go-type.import.package' ) === 'time' ) {
48
48
_ . set ( contents , 'definitions.Network.properties.Created.x-go-type.hints.noValidation' , true ) ;
49
49
}
50
+ // Having the x-go-type here confuses swagger.
51
+ if ( _ . has ( contents , 'definitions.IPAMStatus.properties.Subnets.x-go-type' ) ) {
52
+ delete _ . get ( contents , 'definitions.IPAMStatus.properties.Subnets' ) [ 'x-go-type' ] ;
53
+ }
50
54
51
55
await fs . promises . writeFile ( modifiedPath , yaml . stringify ( contents ) , 'utf-8' ) ;
52
56
You can’t perform that action at this time.
0 commit comments