opg icon indicating copy to clipboard operation
opg copied to clipboard

Add allowed values (enum) on field

Open LazyMechanic opened this issue 3 years ago • 0 comments

I think it will look like:

#[derive(opg::OpgModel)]
struct Struct {
    #[opg("Some value", enum = "Value1,Value2,Value3")]
    value: String,
}

LazyMechanic avatar Aug 20 '21 14:08 LazyMechanic