huma
huma copied to clipboard
Huma REST/HTTP API Framework for Golang with OpenAPI 3.1
I'm just wondering how this should be set up, currently from the looks of things every time I want a new group e.g gin.Group('/resource') I have to register this with...
So currently huma supports list inputs for input parameters of `query` type. However, the support seems to be limited to `[]string`-type only. It would be handy to have the support...
Currently, for example, I put tag `maxLength:"3"`, Huma will validate to input Body and also put a text in spec to indicate the constraint. I can add validation logic with...
Hey there guys We already have close to 100 http.Handler functions for the project, we'd like to use Huma for creating the non-existing OpenAPI documentation. So far it looks like...
## What I would like I would like 5xx error messages go to the logs and non-descriptive errors back to the requestor. It's potentially a security issue for 5xx errors...
Hi! We have a use case that can be summarised by: ```golang // sRGB color space, normalized : R,G,B,A type Color4f [4]float64 func (c Color4f) TransformSchema(r huma.Registry, s *huma.Schema) *huma.Schema...
I'm getting a panic on my Model Validation with a type-derivate `Datetime` of type `time.Time`. Funnily enough, the `UUID` Type works without an issue (it is a derivative of `github.com/google/uuid`....
My use case is using huma with an existing backend that makes heavy use of custom error types. In echo, it was possible to write a custom error handler that...
Some package level serialisation/reflection issue (I believe potentially to do with the SchemaLinkTransformer) is making a return of `nil` cause a 500 error as a response body. Personally, I think...
If we register an operation where the output struct don't have a "Body" field, the output is completely ignored and nothing is written to the http connection. This is a...