This commit is contained in:
+2
-2
@@ -34,7 +34,7 @@ type EnumDescriptionMetaValue struct {
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
type EnumMetaDataValue struct {
|
||||
type EnumDataMetaValue struct {
|
||||
VarName string `json:"varName"`
|
||||
Value Enum `json:"value"`
|
||||
Description *string `json:"description"`
|
||||
@@ -42,7 +42,7 @@ type EnumMetaDataValue struct {
|
||||
Data map[string]any `json:"-"` //handled by MarshalJSON
|
||||
}
|
||||
|
||||
func (v EnumMetaDataValue) MarshalJSON() ([]byte, error) {
|
||||
func (v EnumDataMetaValue) MarshalJSON() ([]byte, error) {
|
||||
m := make(map[string]any, 8)
|
||||
|
||||
for k, dv := range v.Data {
|
||||
|
||||
Reference in New Issue
Block a user