Port types codegen to yaml.v3
v3 threats empty defs a bit differently (see changes in yaml files)
This commit is contained in:
parent
3b47701ffa
commit
cccb3ec5f8
@ -1,7 +1,7 @@
|
||||
types:
|
||||
Namespace:
|
||||
labelResourceType: compose:namespace
|
||||
Attachment:
|
||||
Attachment: {}
|
||||
Module:
|
||||
labelResourceType: compose:module
|
||||
ModuleField:
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
types:
|
||||
Attachment:
|
||||
Mention:
|
||||
MessageFlag:
|
||||
Message:
|
||||
Channel:
|
||||
Attachment: {}
|
||||
Mention: {}
|
||||
MessageFlag: {}
|
||||
Message: {}
|
||||
Channel: {}
|
||||
ChannelMember:
|
||||
noIdField: true
|
||||
Command:
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
package: actionlog
|
||||
types:
|
||||
Action:
|
||||
Action: {}
|
||||
|
||||
@ -2,7 +2,7 @@ package codegen
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"gopkg.in/yaml.v2"
|
||||
"gopkg.in/yaml.v3"
|
||||
"os"
|
||||
"path"
|
||||
"syscall"
|
||||
|
||||
@ -7,8 +7,8 @@ types:
|
||||
labelResourceType: role
|
||||
RoleMember:
|
||||
noIdField: true
|
||||
Credentials:
|
||||
Reminder:
|
||||
Attachment:
|
||||
Credentials: {}
|
||||
Reminder: {}
|
||||
Attachment: {}
|
||||
SettingValue:
|
||||
noIdField: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user