nuagenetworks / monolithe

generic and extendable code generator from specifications.
BSD 3-Clause "New" or "Revised" License
16 stars 28 forks source link

fix addressOverrideType enum generation #164

Closed killanch closed 3 years ago

killanch commented 3 years ago

Before:

addressOverrideType: new NUAttribute({
            localName: 'addressOverrideType',
            attributeType: NUAttribute.ATTR_TYPE_ENUM,
            description: `AddressOverride Type - either IPv4 or IPv6 or MACRO_GROUP. Possible values are IPV4, IPV6 and MACRO_GROUP.`,
            canOrder: true,
            canSearch: true,
            choices: [NUIPTypeEnum.IPV4, NUIPTypeEnum.IPV6, NUIPTypeEnum.MACRO_GROUP],
            userlabel: `Address Override Type`,
        }),

After:

addressOverrideType: new NUAttribute({
            localName: 'addressOverrideType',
            attributeType: NUAttribute.ATTR_TYPE_ENUM,
            description: `AddressOverride Type - either IPv4 or IPv6 or MACRO_GROUP. Possible values are IPV4, IPV6 and MACRO_GROUP.`,
            canOrder: true,
            canSearch: true,
            choices: [NUEgressAuditACLEntryTemplateAddressOverrideTypeEnum.IPV4,
                NUEgressAuditACLEntryTemplateAddressOverrideTypeEnum.IPV6,
                NUEgressAuditACLEntryTemplateAddressOverrideTypeEnum.MACRO_GROUP],
            userlabel: `Address Override Type`,
        }),