3
0

Port types codegen to yaml.v3

v3 threats empty defs a bit differently (see changes in yaml files)
This commit is contained in:
Denis Arh 2020-12-05 07:43:53 +01:00
parent 3b47701ffa
commit cccb3ec5f8
5 changed files with 11 additions and 11 deletions

View File

@ -1,7 +1,7 @@
types:
Namespace:
labelResourceType: compose:namespace
Attachment:
Attachment: {}
Module:
labelResourceType: compose:module
ModuleField:

View File

@ -1,9 +1,9 @@
types:
Attachment:
Mention:
MessageFlag:
Message:
Channel:
Attachment: {}
Mention: {}
MessageFlag: {}
Message: {}
Channel: {}
ChannelMember:
noIdField: true
Command:

View File

@ -1,3 +1,3 @@
package: actionlog
types:
Action:
Action: {}

View File

@ -2,7 +2,7 @@ package codegen
import (
"fmt"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
"os"
"path"
"syscall"

View File

@ -7,8 +7,8 @@ types:
labelResourceType: role
RoleMember:
noIdField: true
Credentials:
Reminder:
Attachment:
Credentials: {}
Reminder: {}
Attachment: {}
SettingValue:
noIdField: true