huma
huma copied to clipboard
Huma REST/HTTP API Framework for Golang with OpenAPI 3.1
It appears that global middleware does not run without a route? If that is the case you can never terminate early. Another scenario might be I have a middleware that...
How can I set fields to be nullable in the generated spec? I can't find any way to set nullability on a [Schema](https://pkg.go.dev/github.com/danielgtaylor/huma/v2#Schema). Ideally I'd like to make pointers always...
Hello! I'm facing a problem, I want to localize my application based on HUMA and for that I have to implement Registry, Schema and PathBuffer with almost identical logic in...
This PR aims to improve the handling of `multipart/form-data` requests by: - 3570bf1 allowing users to document the request body at the level of operations, which is currently not possible...
Currently the default error model can be [overridden globally for the API](https://huma.rocks/features/response-errors/#custom-errors). Would you consider adding a feature to set a custom error model at the level of operations ?...
I found some configurations for prefixes, but it seems that's not it. Is there a way to register a route without a prefix and huma mechanism will choose between versions...
I've noticed an issue (maybe it's a skill issue from my side) with how the docs page displays multiple cookies. When only a single cookie is set as a result,...
First of all thank you for building this package, I have just started using it and finding it fantastic. What I think would be very useful and easy to implement,...
Hey! Excellent project, I've been reworking various projects to make use of Huma and have loved it (despite the initial learning curve). We use a filter struct that gets passed...
So I have a small middleware that reads the cookie and writes a "User-Id" header through the context, but when I try to read the same header in the handler...