struct

Analyzer::Go::Huma::StructField

Inherits Struct < Value < Object

Constructors

new(name : String, tag : String, type_text : String = "", inline_fields : Nil | Array(Analyzer::Go::Huma::StructField) = nil)
Source

Instance methods

inline_fields

The fields of an inline struct {...} type (Body struct { Name string }).

Source
inline_fields=(inline_fields : Array(StructField) | Nil)

The fields of an inline struct {...} type (Body struct { Name string }).

Source
name
Source
name=(name : String)
Source
tag=(tag : String)
Source
type_text

The field's type as written (User, *Payload, struct {...}).

Source
type_text=(type_text : String)

The field's type as written (User, *Payload, struct {...}).

Source