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 8989breadcrumb
9090browserhome
9191brucebean
92- bsdextrautils
9392bsdtar
9493btime
9594bugtracker
@@ -377,6 +376,7 @@ INSTALLMESSAGE
377376INSTALLPROPERTY
378377ioctl
379378ipaddr
379+ IPAM
380380iptable
381381Isf
382382islabel
Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ export class MobyOpenAPISpec extends GlobalDependency(VersionedDependency) {
4747 if ( _ . get ( contents , 'definitions.Network.properties.Created.x-go-type.import.package' ) === 'time' ) {
4848 _ . set ( contents , 'definitions.Network.properties.Created.x-go-type.hints.noValidation' , true ) ;
4949 }
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+ }
5054
5155 await fs . promises . writeFile ( modifiedPath , yaml . stringify ( contents ) , 'utf-8' ) ;
5256
You can’t perform that action at this time.
0 commit comments