Contents

Generable(name:description:representNilExplicitlyInGeneratedContent:)

Conforms a type to Generable protocol, using a custom name for the schema instead of the Swift type name.

Declaration

@attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) macro Generable(name: String, description: String? = nil, representNilExplicitlyInGeneratedContent: Bool = false)

See Also

Creating a Generable type