Suren

Results 6 comments of Suren

@danielgtaylor Is it possible to use timeFormat in input body like below ? ``` type sample { DateTime time.Time `json:"date_time" timeFormat:"2026-01-01 15:00:00"` } ```

@Relionnn Can you please review this MR when you have a chance?

you could try something like this ``` registry := huma.NewMapRegistry("#/components/schemas/", CustomSchemaNamer) humaConfig.OpenAPI.Components = &huma.Components{ Schemas: registry, } func CustomSchemaNamer(t reflect.Type, hint string) string { name := huma.DefaultSchemaNamer(t, hint) parts :=...

@kgantsov Does this help? https://github.com/danielgtaylor/huma/discussions/432

Huma doesn't have any UI natively. Under the hood, it uses [Stoplight Elements](https://stoplight.io/open-source/elements) and i have created a merge request [there](https://github.com/stoplightio/elements/pull/2785) already

@MathieuCesbron Yes. It's possible Clone or Download https://github.com/sjayach/elements/blob/add-delete-body and run below commands ``` yarn install yarn run build ``` Copy below files from `elements-add-delete-body/packages/elements/dist` to your golang codebase under `stoplight`...