swift-combine.modelInlineEnumDeclaration.mustache Maven / Gradle / Ivy
public enum {{enumName}}: {{^isContainer}}{{dataType}}{{/isContainer}}{{#isContainer}}String{{/isContainer}}, Codable, CaseIterable {
{{#allowableValues}}
{{#enumVars}}
case {{{name}}} = {{{value}}}
{{/enumVars}}
{{/allowableValues}}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy